Created button primary

This commit is contained in:
Kristofers Solo 2023-01-20 19:30:23 +02:00
parent c06ce26d6f
commit 1097812daf
8 changed files with 490 additions and 426 deletions

View File

@ -0,0 +1,40 @@
.btn {
position: relative;
display: inline-block;
padding: 0.4rem 1rem;
font-weight: 500;
line-height: 1.25rem;
white-space: nowrap;
vertical-align: middle;
cursor: pointer;
user-select: none;
border: 1px solid;
border-radius: 0.375rem;
appearance: none;
text-decoration: none;
transition-property: color, background-color, border-color;
max-width: 3rem;
}
.btn {
color: var(--color-btn-text);
background-color: var(--color-btn-bg);
border-color: var(--color-btn-border);
}
.btn:hover {
background-color: var(--color-btn-hover-bg);
border-color: var(--color-btn-hover-border);
transition-duration: 0.1s;
}
.btn-primary {
color: var(--color-btn-primary-text);
background-color: var(--color-btn-primary-bg);
border-color: var(--color-btn-primary-border);
}
.btn-primary:hover {
background-color: var(--color-btn-primary-hover-bg);
border-color: var(--color-btn-primary-hover-border);
}

View File

@ -64,6 +64,12 @@
--color-btn-hover-border: var(--color-scale-gray-3); --color-btn-hover-border: var(--color-scale-gray-3);
--color-btn-active-border: var(--color-scale-gray-5); --color-btn-active-border: var(--color-scale-gray-5);
--color-btn-primary-text: var(--color-scale-white);
--color-btn-primary-bg: var(--color-scale-purple-4);
--color-btn-primary-border: var(--color-scale-gray-0-transparent-10);
--color-btn-primary-hover-bg: var(--color-scale-purple-3);
--color-btn-primary-hover-border: var(--color-scale-gray-0-transparent-10);
--color-fg-default: var(--color-scale-gray-1); --color-fg-default: var(--color-scale-gray-1);
--color-fg-muted: var(--color-scale-gray-3); --color-fg-muted: var(--color-scale-gray-3);
--color-fg-subtle: var(--color-scale-gray-4); --color-fg-subtle: var(--color-scale-gray-4);
@ -71,7 +77,6 @@
--color-text-hover: var(--color-fg-muted); --color-text-hover: var(--color-fg-muted);
--color-accent-fg: var(--color-scale-purple-4); --color-accent-fg: var(--color-scale-purple-4);
--color-text-link: var(--color-accent-fg); --color-text-link: var(--color-accent-fg);
--color-card-default: var(--color-scale-gray-8); --color-card-default: var(--color-scale-gray-8);
@ -103,6 +108,12 @@
--color-btn-hover-border: var(--color-scale-gray-1-transparent-15); --color-btn-hover-border: var(--color-scale-gray-1-transparent-15);
--color-btn-active-border: var(--color-scale-gray-1-transparent-15); --color-btn-active-border: var(--color-scale-gray-1-transparent-15);
--color-btn-primary-text: var(--color-scale-white);
--color-btn-primary-bg: var(--color-scale-purple-4);
--color-btn-primary-border: var(--color-scale-gray-0-transparent-10);
--color-btn-primary-hover-bg: var(--color-scale-purple-3);
--color-btn-primary-hover-border: var(--color-scale-gray-0-transparent-10);
--color-fg-default: var(--color-scale-gray-7); --color-fg-default: var(--color-scale-gray-7);
--color-fg-muted: var(--color-scale-gray-5); --color-fg-muted: var(--color-scale-gray-5);
--color-fg-subtle: var(--color-scale-gray-4); --color-fg-subtle: var(--color-scale-gray-4);

View File

@ -104,6 +104,7 @@ em {
.primary-navigation a:hover { .primary-navigation a:hover {
background-color: var(--color-btn-hover-bg); background-color: var(--color-btn-hover-bg);
transition-duration: 0.1s;
} }
.primary-navigation[data-visible="true"] { .primary-navigation[data-visible="true"] {
@ -135,5 +136,6 @@ em {
.primary-navigation *:hover { .primary-navigation *:hover {
color: var(--color-header-text-hover); color: var(--color-header-text-hover);
transition-duration: 0.1s;
} }
} }

View File

@ -1,13 +1,21 @@
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap"); @import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap");
.block {
margin: 8em auto 8em auto;
max-width: 50rem;
}
.block > .btn-container {
text-align: right;
margin-bottom: 1em;
}
.markdown-body { .markdown-body {
font-size: 16px; font-size: 16px;
border: 1px solid var(--color-border-default); border: 1px solid var(--color-border-default);
border-radius: 1rem; border-radius: 1rem;
max-width: 50rem;
color: var(--color-fg-default); color: var(--color-fg-default);
padding: 2rem; padding: 2rem;
margin: 8em auto 8em auto;
line-height: 1.5; line-height: 1.5;
word-wrap: break-word; word-wrap: break-word;
} }
@ -88,12 +96,12 @@
font-size: 1rem; font-size: 1rem;
} }
.markdown-body a { .markdown-body a:not(.btn) {
text-decoration: none; text-decoration: none;
color: var(--color-accent-fg); color: var(--color-accent-fg);
} }
.markdown-body a:hover { .markdown-body a:hover:not(.btn) {
text-decoration: underline; text-decoration: underline;
} }
@ -297,8 +305,15 @@ g-emoji img {
} }
@media (max-width: 35em) { @media (max-width: 35em) {
.markdown-body { .block {
margin: 2em 0 2em 0; margin: 2em 0 2em 0;
}
.block > .btn-container {
text-align: center;
}
.markdown-body {
border-left: none; border-left: none;
border-right: none; border-right: none;
border-radius: 0; border-radius: 0;

View File

@ -111,30 +111,9 @@
height: 180px; height: 180px;
} }
.card-image {
height: 80px;
}
.card-image > i {
font-size: 3em;
}
.card-info-wrapper { .card-info-wrapper {
padding: 0px 10px; padding: 0px 10px;
} }
.card-info > i {
font-size: 0.8em;
}
.card-info-title > h3 {
font-size: 0.9em;
}
.card-info-title > h4 {
font-size: 0.8em;
margin-top: 4px;
}
} }
@media (max-width: 35em) { @media (max-width: 35em) {

View File

@ -22,6 +22,9 @@
<link rel="stylesheet" <link rel="stylesheet"
type="text/css" type="text/css"
href="{% static 'main/css/navigation_button.css' %}"/> href="{% static 'main/css/navigation_button.css' %}"/>
<link rel="stylesheet"
type="text/css"
href="{% static 'main/css/button.css' %}"/>
<link rel="stylesheet" <link rel="stylesheet"
type="text/css" type="text/css"
href="{% static 'main/css/layout.css' %}"/> href="{% static 'main/css/layout.css' %}"/>

View File

@ -7,68 +7,75 @@
href="{% static 'main/css/markdown.css' %}"/> href="{% static 'main/css/markdown.css' %}"/>
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<article class="markdown-body"> <div class="block">
<h1>Kristofers Auto-Rice Bootsrapping Script (KARBS)</h1> <div class="btn-container">
<p> <a class="btn btn-primary"
KARBS is an efficient shell script that will install a fully-featured tiling window manager-based system on any href="https://github.com/kristoferssolo/karbs"
<a href="https://archlinux.org/" target="_blank">Arch</a> or target="_blank">GitHub</a>
<a href="https://artixlinux.org/" target="_blank">Artix</a> </div>
Linux-based system, without any of the routine of manual post-install processes and configuration. <article class="markdown-body">
</p> <h1>Kristofers Auto-Rice Bootsrapping Script (KARBS)</h1>
<p>
By default, KARBS installs and deploys
<a href="https://github.com/kristoferssolo/solorice" target="_blank">my own personal dotfiles</a>.
</p>
<h2>Installation</h2>
<p>
On any (preferably fresh) install of an
<a href="https://archlinux.org/" target="_blank">Arch</a> or
<a href="https://artixlinux.org/" target="_blank">Artix</a>
Linux, make sure <code>curl</code> is installed and just run the following as the root user:
</p>
<pre>curl -LO krisrofers.xyz/karbs
sh karbs</pre>
<p>
Note that the KARBS scripts will not partition any drives or wipe anything, <strong>but</strong> when it deploys the dotfiles, it will overwrite any preexisting files: e.g. the KARBS .zshrc will replace your old .zshrc, etc.
</p>
<h2>What does KARBS install?</h2>
<p>
You can check out the programs list that KARBS parses for installation <a href="https://github.com/kristoferssolo/karbs/blob/main/pkg-files/X11-pkgs"
target="_blank">right here</a>!
</p>
<p>Here is some idea of the programs installed:</p>
<blockquote>
<p> <p>
If you don't know any of these programs and this is all Geek to you, don't worry because it's all done automatically for you and you will learn as you use the system. KARBS is an efficient shell script that will install a fully-featured tiling window manager-based system on any
<a href="https://archlinux.org/" target="_blank">Arch</a> or
<a href="https://artixlinux.org/" target="_blank">Artix</a>
Linux-based system, without any of the routine of manual post-install processes and configuration.
</p> </p>
</blockquote> <p>
<ul> By default, KARBS installs and deploys
<li> <a href="https://github.com/kristoferssolo/solorice" target="_blank">my own personal dotfiles</a>.
<a href="https://awesomewm.org/" target="_blank">awesome</a> - a highly configurable, next generation framework window manager for X </p>
</li> <h2>Installation</h2>
<li> <p>
Minimalist and keyboard-centric programs for: On any (preferably fresh) install of an
<ul> <a href="https://archlinux.org/" target="_blank">Arch</a> or
<li> <a href="https://artixlinux.org/" target="_blank">Artix</a>
file management (<a href="https://github.com/gokcehan/lf" target="_blank">lf</a>), Linux, make sure <code>curl</code> is installed and just run the following as the root user:
</li> </p>
<li> <pre>curl -LO krisrofers.xyz/karbs
video (<a href="https://mpv.io/" target="_blank">mpv</a>), sh karbs</pre>
</li> <p>
<li> Note that the KARBS scripts will not partition any drives or wipe anything, <strong>but</strong> when it deploys the dotfiles, it will overwrite any preexisting files: e.g. the KARBS .zshrc will replace your old .zshrc, etc.
image viewer (<a href="https://github.com/nsxiv/nsxiv" target="_blank">nsxiv</a>), </p>
</li> <h2>What does KARBS install?</h2>
<li> <p>
pdf/djvu/epub reader (<a href="https://pwmt.org/projects/zathura/" target="_blank">zathura</a>). You can check out the programs list that KARBS parses for installation <a href="https://github.com/kristoferssolo/karbs/blob/main/pkg-files/X11-pkgs"
</li> target="_blank">right here</a>!
</ul> </p>
<p>Here is some idea of the programs installed:</p>
<blockquote>
<p>
If you don't know any of these programs and this is all Geek to you, don't worry because it's all done automatically for you and you will learn as you use the system.
</p>
</blockquote>
<ul>
<li> <li>
A well featured and configured shell (<a href="https://www.zsh.org/" target="_blank">zsh</a>) and other core programs. <a href="https://awesomewm.org/" target="_blank">awesome</a> - a highly configurable, next generation framework window manager for X
</li> </li>
</li> <li>
</ul> Minimalist and keyboard-centric programs for:
<p> <ul>
Note that making your own fork of KARBS is as easy as using your own dotfiles, making a programs file like the one above, and making any other direct changes to the script you want. <li>
</p> file management (<a href="https://github.com/gokcehan/lf" target="_blank">lf</a>),
</article> </li>
<li>
video (<a href="https://mpv.io/" target="_blank">mpv</a>),
</li>
<li>
image viewer (<a href="https://github.com/nsxiv/nsxiv" target="_blank">nsxiv</a>),
</li>
<li>
pdf/djvu/epub reader (<a href="https://pwmt.org/projects/zathura/" target="_blank">zathura</a>).
</li>
</ul>
<li>
A well featured and configured shell (<a href="https://www.zsh.org/" target="_blank">zsh</a>) and other core programs.
</li>
</li>
</ul>
<p>
Note that making your own fork of KARBS is as easy as using your own dotfiles, making a programs file like the one above, and making any other direct changes to the script you want.
</p>
</article>
</div>
{% endblock %} {% endblock %}

View File

@ -7,349 +7,356 @@
href="{% static 'main/css/markdown.css' %}"/> href="{% static 'main/css/markdown.css' %}"/>
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<article class="markdown-body"> <div class="block">
<h1>Traffic-Light-Detector</h1> <div class="btn-container">
<h2> <a class="btn btn-primary"
Reduce traffic congestion effects due to human reaction times at intersections href="https://github.com/kristoferssolo/Traffic-Light-Detector"
with traffic lights by utilizing a computer system based on direct communication target="_blank">GitHub</a>
method of changes in the circumscribed route intersection. </div>
</h2> <article class="markdown-body">
<h3>Motivation for the project:</h3> <h1>Traffic-Light-Detector</h1>
<p> <h2>
As civilisation develops, it develops coherent, large-scale socio-economic Reduce traffic congestion effects due to human reaction times at intersections
formations that contribute to the development of well-being and the concomitant with traffic lights by utilizing a computer system based on direct communication
development of conurbation. The market demand for infrastructure motivates method of changes in the circumscribed route intersection.
individuals to privatise their vehicles, which, in turn, rapidly increases the </h2>
accident rate. A scientific study entitled <em>"Accident analysis & prevention"</em><sup id="reference-1"><a href="#footnote-1" data-footnote-ref="">1</a></sup> (2.5) <h3>Motivation for the project:</h3>
indicates that there is a statistically significant observation between the potential <p>
of a road user and prior involvement in an accident, as well as an observable As civilisation develops, it develops coherent, large-scale socio-economic
characteristic: following the direction of a high-flow motorway, defined as the formations that contribute to the development of well-being and the concomitant
time between the subject and the subject's vehicles. development of conurbation. The market demand for infrastructure motivates
</p> individuals to privatise their vehicles, which, in turn, rapidly increases the
<p> accident rate. A scientific study entitled <em>"Accident analysis & prevention"</em><sup id="reference-1"><a href="#footnote-1" data-footnote-ref="">1</a></sup> (2.5)
Based on research, it can be hypothesised that reducing the likelihood of indicates that there is a statistically significant observation between the potential
first-time accidents has a more significant effect on road safety than developing of a road user and prior involvement in an accident, as well as an observable
systems to improve the safety habits of drivers involved in accidents. With this characteristic: following the direction of a high-flow motorway, defined as the
assumption, the problem of eliminating the impact of human reaction time on the time between the subject and the subject's vehicles.
realisation of traffic congestion can be defined as a motivated project by applying </p>
computer solutions based on the direct communication methodology of the intersection <p>
changes, on a route section equipped with a traffic signal traffic regulator. Based on research, it can be hypothesised that reducing the likelihood of
</p> first-time accidents has a more significant effect on road safety than developing
<p> systems to improve the safety habits of drivers involved in accidents. With this
Furthermore, studies such as assumption, the problem of eliminating the impact of human reaction time on the
<em>"In-depth investigations of PTW-car accidents caused by human errors (Moto-Auto)"</em><sup id="reference-2"><a href="#footnote-2" data-footnote-ref="">2</a></sup> realisation of traffic congestion can be defined as a motivated project by applying
indicate that in different traffic intersection configurations, computer solutions based on the direct communication methodology of the intersection
a statistical predominance of frontal collisions, more precisely around 45%, is observed in 1/9 of changes, on a route section equipped with a traffic signal traffic regulator.
the collision types (frontal collisions) in 60% of the configurations. </p>
</p> <p>
<p> Furthermore, studies such as
Road accidents also represent a share of society's costs, or more precisely, <em>"In-depth investigations of PTW-car accidents caused by human errors (Moto-Auto)"</em><sup id="reference-2"><a href="#footnote-2" data-footnote-ref="">2</a></sup>
costs can be broken down into several categorisations - by the number of people indicate that in different traffic intersection configurations,
involved, by the type of cost, by the impact of the accident on lives. A study a statistical predominance of frontal collisions, more precisely around 45%, is observed in 1/9 of
on the cost of traffic accidents, <em>"The cost of traffic accident and equivalent the collision types (frontal collisions) in 60% of the configurations.
accident number (Case study in developing country - Indonesia)"</em><sup id="reference-3"><a href="#footnote-3" data-footnote-ref="">3</a></sup> estimates the </p>
cost of a single fatal accident in all categories at around 17 869,19 €, which <p>
justifies the monetary motivation and commercial potential of the solution. Road accidents also represent a share of society's costs, or more precisely,
</p> costs can be broken down into several categorisations - by the number of people
<p> involved, by the type of cost, by the impact of the accident on lives. A study
There are several reasons, as mentioned in the scientific study on the cost of traffic accidents, <em>"The cost of traffic accident and equivalent
<em>"Traffic conflict standards for intersections"</em><sup id="reference-4"><a href="#footnote-4" data-footnote-ref="">4</a></sup>, accident number (Case study in developing country - Indonesia)"</em><sup id="reference-3"><a href="#footnote-3" data-footnote-ref="">3</a></sup> estimates the
why an intersection may be categorised as a high hazard area in a delineated format. cost of a single fatal accident in all categories at around 17 869,19 €, which
Firstly, a segment where different groups of road users overlap, more specifically justifies the monetary motivation and commercial potential of the solution.
different types of vehicles, including private and commercial, as well as pedestrians </p>
converging from several directions can make it difficult for drivers to anticipate the <p>
actions of other road users, increasing the potential for collisions. Secondly, There are several reasons, as mentioned in the scientific study
intersections have a number of hierarchical and complex traffic control systems, <em>"Traffic conflict standards for intersections"</em><sup id="reference-4"><a href="#footnote-4" data-footnote-ref="">4</a></sup>,
such as signs, traffic signals and traffic regulators, which allow for the possibility why an intersection may be categorised as a high hazard area in a delineated format.
of inaccurate interpretation of the situation. Finally, intersections are characterised Firstly, a segment where different groups of road users overlap, more specifically
by distracted drivers, for example, looking for a turn, trying to read signs or understand different types of vehicles, including private and commercial, as well as pedestrians
the traffic, listening to music on a mobile device or having a conversation, which converging from several directions can make it difficult for drivers to anticipate the
increases the likelihood of an accident. actions of other road users, increasing the potential for collisions. Secondly,
</p> intersections have a number of hierarchical and complex traffic control systems,
<p> such as signs, traffic signals and traffic regulators, which allow for the possibility
Providing drivers with direct communication of intersection changes is important, of inaccurate interpretation of the situation. Finally, intersections are characterised
based on the <em>"Situational Awareness and Safety"</em><sup id="reference-5"><a href="#footnote-5" data-footnote-ref="">5</a></sup> study , as it contributes to by distracted drivers, for example, looking for a turn, trying to read signs or understand
smooth and efficient traffic movement. If drivers are unsure about a traffic light, the traffic, listening to music on a mobile device or having a conversation, which
they may hesitate or stop unnecessarily, which can cause congestion and delays. increases the likelihood of an accident.
In addition, providing a direct method of informing drivers of green lights can </p>
help prevent accidents and improve overall road safety. By providing clear and <p>
concise information to drivers, we can help ensure that traffic flows smoothly Providing drivers with direct communication of intersection changes is important,
and that everyone on the road can get to their destination safely. based on the <em>"Situational Awareness and Safety"</em><sup id="reference-5"><a href="#footnote-5" data-footnote-ref="">5</a></sup> study , as it contributes to
</p> smooth and efficient traffic movement. If drivers are unsure about a traffic light,
<p> they may hesitate or stop unnecessarily, which can cause congestion and delays.
Since the judgement that reducing the likelihood of first-time accidents has a significant In addition, providing a direct method of informing drivers of green lights can
effect on the safety of road users can be put forward reasonably and as a leading reason help prevent accidents and improve overall road safety. By providing clear and
points to the fact that the realisation of traffic congestion increases the potential for concise information to drivers, we can help ensure that traffic flows smoothly
accidents and that traffic conflicts exist with a particularly increased likelihood at and that everyone on the road can get to their destination safely.
intersections, the following position can be put forward, that a statistically tested </p>
hypothesis on the correlation of traffic congestion on traffic accidents in studies <p>
such as the <em>"Current Understanding of the Effects of Congestion on Traffic Accidents"</em><sup id="reference-6"><a href="#footnote-6" data-footnote-ref="">6</a></sup> Since the judgement that reducing the likelihood of first-time accidents has a significant
justifies the relevance of the project to the wider community and points to the need effect on the safety of road users can be put forward reasonably and as a leading reason
for an adapted, modular solution. points to the fact that the realisation of traffic congestion increases the potential for
</p> accidents and that traffic conflicts exist with a particularly increased likelihood at
<h3>Existing solutions:</h3> intersections, the following position can be put forward, that a statistically tested
<p> hypothesis on the correlation of traffic congestion on traffic accidents in studies
The motivation and potential solutions for the project were also presented in different such as the <em>"Current Understanding of the Effects of Congestion on Traffic Accidents"</em><sup id="reference-6"><a href="#footnote-6" data-footnote-ref="">6</a></sup>
formats of existing solutions. Each solution described offers a different format of user justifies the relevance of the project to the wider community and points to the need
interface, practical application and results. for an adapted, modular solution.
</p> </p>
<p> <h3>Existing solutions:</h3>
Tesla's <em>"Traffic Light and Stop Sign Control"</em><sup id="reference-7"><a href="#footnote-7" data-footnote-ref="">7</a></sup> provides direct information to the user on <p>
the status of the traffic light controller and adjusts the response of the vehicle, more The motivation and potential solutions for the project were also presented in different
specifically, if the vehicle is analytically detected as unable to manoeuvre within the time formats of existing solutions. Each solution described offers a different format of user
allowed by the controller, the control system will reduce speed and stop the vehicle at the interface, practical application and results.
first permissible position according to the controller's conditions. The solution offers efficient </p>
and optimal functionality with extensive technical support and a clear and easy to use user interface. <p>
The most significant drawback of the solution offered by Tesla is the limited vehicle support Tesla's <em>"Traffic Light and Stop Sign Control"</em><sup id="reference-7"><a href="#footnote-7" data-footnote-ref="">7</a></sup> provides direct information to the user on
of the control system, more precisely, the system is only available for Tesla cars equipped the status of the traffic light controller and adjusts the response of the vehicle, more
with the required sensors. specifically, if the vehicle is analytically detected as unable to manoeuvre within the time
</p> allowed by the controller, the control system will reduce speed and stop the vehicle at the
<p> first permissible position according to the controller's conditions. The solution offers efficient
Audi's <em>"Traffic-light countdown system"</em><sup id="reference-8"><a href="#footnote-8" data-footnote-ref="">8</a></sup>, and optimal functionality with extensive technical support and a clear and easy to use user interface.
described by the journalism company Engadget, The most significant drawback of the solution offered by Tesla is the limited vehicle support
proposes and offers to provide the user directly with a countdown system, more precisely of the control system, more precisely, the system is only available for Tesla cars equipped
a period of time during which the traffic-light traffic regulator will remain the same or with the required sensors.
change to another state. The solution proposed by Audi offers a user-friendly and </p>
comprehensible user interface, including a format in which the driver's attention <p>
can be easily and in an informed way focused on the changes in traffic. The most significant Audi's <em>"Traffic-light countdown system"</em><sup id="reference-8"><a href="#footnote-8" data-footnote-ref="">8</a></sup>,
drawback of the proposed solution is the need to equip all traffic light controllers described by the journalism company Engadget,
and cars with sensors and to develop a communication network, and the fact that Audi proposes and offers to provide the user directly with a countdown system, more precisely
only offers the technology for Audi cars at the moment. a period of time during which the traffic-light traffic regulator will remain the same or
</p> change to another state. The solution proposed by Audi offers a user-friendly and
<h3>Solution description:</h3> comprehensible user interface, including a format in which the driver's attention
<p> can be easily and in an informed way focused on the changes in traffic. The most significant
In response to the problem described in the motivation, the authors considered drawback of the proposed solution is the need to equip all traffic light controllers
a solution that eliminates the impact of human reaction time on the realisation and cars with sensors and to develop a communication network, and the fact that Audi
of traffic congestion, using a computer system based on a direct gated intersection only offers the technology for Audi cars at the moment.
change communication methodology, on a route section equipped with a traffic signal traffic controller. </p>
</p> <h3>Solution description:</h3>
<p> <p>
The authors propose to develop a small, easily transportable and modular device, In response to the problem described in the motivation, the authors considered
the basic principle of which is to use sensors embedded in the device to detect a solution that eliminates the impact of human reaction time on the realisation
the position of the traffic signal traffic controller corresponding to the position of traffic congestion, using a computer system based on a direct gated intersection
of the vehicle at an intersection and to inform the driver when the signal is change communication methodology, on a route section equipped with a traffic signal traffic controller.
detected, according to the expected signal - permission to continue the route. </p>
</p> <p>
<p> The authors propose to develop a small, easily transportable and modular device,
Ierosinātais risinājums sastāv no 4 pamatprincipiem, kas likvidē cilvēka reakcijas laika ietekmi the basic principle of which is to use sensors embedded in the device to detect
uz satiksmes sastrēgumu realizāciju: the position of the traffic signal traffic controller corresponding to the position
</p> of the vehicle at an intersection and to inform the driver when the signal is
<ul> detected, according to the expected signal - permission to continue the route.
<li> </p>
The modular device shall be equipped in its basic configuration with a visual image sensor which, <p>
according to the instructions for use integral to the device, is positioned parallel to the Ierosinātais risinājums sastāv no 4 pamatprincipiem, kas likvidē cilvēka reakcijas laika ietekmi
direction of movement of the vehicle, which provides continuous low-quality image documentation uz satiksmes sastrēgumu realizāciju:
for the purpose of determining whether the vehicle has reached a traffic intersection. </p>
</li> <ul>
<li> <li>
When the device detects a vehicle approaching a traffic intersection using an image recognition The modular device shall be equipped in its basic configuration with a visual image sensor which,
model, it increases the quality of the captured images and identifies the traffic signal traffic according to the instructions for use integral to the device, is positioned parallel to the
regulators and their positions. direction of movement of the vehicle, which provides continuous low-quality image documentation
</li> for the purpose of determining whether the vehicle has reached a traffic intersection.
<li>
The identified regulators and their states are summarised to determine the appropriate regulator for the vehicle route.
</li>
<li>
Using the information obtained, the device analyses the situation: if the controller is observed
with the signal "OK to proceed" and the vehicle has not stopped, it does not inform, whereas if
the controller is observed with the signal "Not OK to proceed" and the vehicle has slowed down or
stopped, the device informs the driver of the signal change when the signal "OK to proceed" is
received, using the basic module for the audible signal or the optional light and other user interfaces formats.
</li>
</ul>
<p>Aprakstītā ierīce pamatprincipu un funkcionalitātes nodrošināšanai izmanto:</p>
<ul>
<li>
Raspberry Pi 4 microcontroller -
<a href="https://www.raspberrypi.com/products/raspberry-pi-4-model-b/?variant=raspberry-pi-4-model-b-8gb"
target="_blank">Raspberry Pi 4</a>
</li>
<li>
Raspberry Pi high quality modular camera -
<a href="https://www.raspberrypi.com/products/raspberry-pi-high-quality-camera/"
target="_blank">Sony IMX477</a>
</li>
</ul>
<p>The device can be upgraded by adding:</p>
<ul>
<li>[Potential upgrades here]</li>
</ul>
<p>
A basic package is offered for system communication and user information, which includes an audible signal
that plays and informs the driver of the need to concentrate on the route process, as well as on the
surrounding cars, which the device plays when a signal is received from the traffic signal traffic
controller to allow the route to proceed.
</p>
<p>
As the system provides a direct form of communication about the actual changes in the route of the
vehicle on the section of the route equipped with the light-signalling traffic controller, it does
not store the collected data in the long term and deletes the data after processing the captured route
visualisations, saving and updating the vehicle situation, therefore the solution proposed by the authors
ensures complete security of the user's data.
</p>
<section class="footnotes">
<ol>
<li id="footnote-1">
<p>
Nicholson, A.J. and Tight, M.R. (1989) Research paper "Accident Analysis and Prevention:
Course Notes 1987/88". Institute of Transport Studies, University of Leeds, Leeds, England.
<a href="#reference-1"
data-footnote-backref=""
aria-label="Back to content"
class="data-footnote-backref">
<g-emoji class="g-emoji" alias="leftwards_arrow_with_hook" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png">
<img class="emoji"
alt="leftwards_arrow_with_hook"
src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png"
width="20"
height="20">
</g-emoji>
</a>
</p>
</li> </li>
<li id="footnote-2"> <li>
<p> When the device detects a vehicle approaching a traffic intersection using an image recognition
Avinash P. Penumaka, Giovanni Savino, Niccolò Baldanzini, Marco Pierini, model, it increases the quality of the captured images and identifies the traffic signal traffic
In-depth investigations of PTW-car accidents caused by human errors, Safety regulators and their positions.
Science, Volume 68, 2014, Pages 212-221, ISSN 0925-7535, DOI:
<a href="https://doi.org/10.1016/j.ssci.2014.04.004" target="_blank">10.1016-j.ssci.2014.04.004</a>
<a href="#reference-2"
data-footnote-backref=""
aria-label="Back to content"
class="data-footnote-backref">
<g-emoji class="g-emoji" alias="leftwards_arrow_with_hook" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png">
<img class="emoji"
alt="leftwards_arrow_with_hook"
src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png"
width="20"
height="20">
</g-emoji>
</a>
</p>
</li> </li>
<li id="footnote-3"> <li>
<p> The identified regulators and their states are summarised to determine the appropriate regulator for the vehicle route.
Gito Sugiyanto, Department of Civil Engineering, Faculty of Engineering,
Jenderal Soedirman University Purwokerto, Mayjend Sungkono, Blater, Kalimanah,
Purbalingga, Central Java, Indonesia,
<a href="http://www.arpnjournals.org/jeas/research_papers/rp_2017/jeas_0117_5631.pdf"
target="_blank">
"THE COST OF TRAFFIC ACCIDENT AND EQUIVALENT ACCIDENT NUMBER
IN DEVELOPING COUNTRIES (CASE STUDY IN INDONESIA)"
</a>, ISSN 1819-6608.
<a href="#reference-3"
data-footnote-backref=""
aria-label="Back to content"
class="data-footnote-backref">
<g-emoji class="g-emoji" alias="leftwards_arrow_with_hook" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png">
<img class="emoji"
alt="leftwards_arrow_with_hook"
src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png"
width="20"
height="20">
</g-emoji>
</a>
</p>
</li> </li>
<li id="footnote-4"> <li>
<p> Using the information obtained, the device analyses the situation: if the controller is observed
Tarek Said and Sani Zein (1999) Traffic conflict standards at intersections, with the signal "OK to proceed" and the vehicle has not stopped, it does not inform, whereas if
Transportation Planning and Technology, 22:4, 309-323, DOI: <a href="https://doi.org/10.1080/03081069908717634" target="_blank">10.1080/03081069908717634</a> the controller is observed with the signal "Not OK to proceed" and the vehicle has slowed down or
<a href="#reference-4" stopped, the device informs the driver of the signal change when the signal "OK to proceed" is
data-footnote-backref="" received, using the basic module for the audible signal or the optional light and other user interfaces formats.
aria-label="Back to content"
class="data-footnote-backref">
<g-emoji class="g-emoji" alias="leftwards_arrow_with_hook" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png">
<img class="emoji"
alt="leftwards_arrow_with_hook"
src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png"
width="20"
height="20">
</g-emoji>
</a>
</p>
</li> </li>
<li id="footnote-5"> </ul>
<p> <p>Aprakstītā ierīce pamatprincipu un funkcionalitātes nodrošināšanai izmanto:</p>
N.A Stanton, P.R.G. Chambers, J Piggott, Situation Awareness and Security, <ul>
Security Science, Vol. 39, 3rd edition, 2001, pp. 189-204, ISSN 0925-7535, <li>
DOI: <a href="https://doi.org/10.1016/S0925-7535(01)00010-8" target="_blank">10.1015/S0925-7535(01)00010-8</a> Raspberry Pi 4 microcontroller -
<a href="#reference-5" <a href="https://www.raspberrypi.com/products/raspberry-pi-4-model-b/?variant=raspberry-pi-4-model-b-8gb"
data-footnote-backref="" target="_blank">Raspberry Pi 4</a>
aria-label="Back to content"
class="data-footnote-backref">
<g-emoji class="g-emoji" alias="leftwards_arrow_with_hook" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png">
<img class="emoji"
alt="leftwards_arrow_with_hook"
src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png"
width="20"
height="20">
</g-emoji>
</a>
</p>
</li> </li>
<li id="footnote-6"> <li>
<p> Raspberry Pi high quality modular camera -
Retalak, Angus Eugen and Bertram Ostendorf. 2019. "Current understanding <a href="https://www.raspberrypi.com/products/raspberry-pi-high-quality-camera/"
of the impact of congestion on traffic accidents" International Journal target="_blank">Sony IMX477</a>
of Environmental Research and the State of Society 16, no. 18: 3400.
DOI: <a href="https://doi.org/10.3390/ijerph16183400" target="_blank">10.3390-ijerph-16183400</a>
<a href="#reference-6"
data-footnote-backref=""
aria-label="Back to content"
class="data-footnote-backref">
<g-emoji class="g-emoji" alias="leftwards_arrow_with_hook" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png">
<img class="emoji"
alt="leftwards_arrow_with_hook"
src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png"
width="20"
height="20">
</g-emoji>
</a>
</p>
</li> </li>
<li id="footnote-7"> </ul>
<p> <p>The device can be upgraded by adding:</p>
&copy; Tesla 2022 instructional publication <ul>
<a href="https://www.tesla.com/ownersmanual/modely/en_eu/GUID-A701F7DC-875C-4491-BC84-605A77EA152C.html" <li>[Potential upgrades here]</li>
target="_blank">"Controlling traffic lights and stop signs"</a> in the Model-Y description. </ul>
<a href="#reference-7" <p>
data-footnote-backref="" A basic package is offered for system communication and user information, which includes an audible signal
aria-label="Back to content" that plays and informs the driver of the need to concentrate on the route process, as well as on the
class="data-footnote-backref"> surrounding cars, which the device plays when a signal is received from the traffic signal traffic
<g-emoji class="g-emoji" alias="leftwards_arrow_with_hook" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png"> controller to allow the route to proceed.
<img class="emoji" </p>
alt="leftwards_arrow_with_hook" <p>
src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png" As the system provides a direct form of communication about the actual changes in the route of the
width="20" vehicle on the section of the route equipped with the light-signalling traffic controller, it does
height="20"> not store the collected data in the long term and deletes the data after processing the captured route
</g-emoji> visualisations, saving and updating the vehicle situation, therefore the solution proposed by the authors
</a> ensures complete security of the user's data.
</p> </p>
</li> <section class="footnotes">
<li id="footnote-8"> <ol>
<p> <li id="footnote-1">
Audi's solution, described by Robert Baldwin in his 2016 <p>
journalistic publication Nicholson, A.J. and Tight, M.R. (1989) Research paper "Accident Analysis and Prevention:
<a href="https://www.engadget.com/2016-12-09-audis-traffic-light-countdown.html" Course Notes 1987/88". Institute of Transport Studies, University of Leeds, Leeds, England.
target="_blank"> <a href="#reference-1"
"Audi's new traffic-light countdown is the first step to smarter cities" data-footnote-backref=""
</a> aria-label="Back to content"
<a href="#reference-8" class="data-footnote-backref">
data-footnote-backref="" <g-emoji class="g-emoji" alias="leftwards_arrow_with_hook" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png">
aria-label="Back to content" <img class="emoji"
class="data-footnote-backref"> alt="leftwards_arrow_with_hook"
<g-emoji class="g-emoji" alias="leftwards_arrow_with_hook" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png"> src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png"
<img class="emoji" width="20"
alt="leftwards_arrow_with_hook" height="20">
src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png" </g-emoji>
width="20" </a>
height="20"> </p>
</g-emoji> </li>
</a> <li id="footnote-2">
</p> <p>
</li> Avinash P. Penumaka, Giovanni Savino, Niccolò Baldanzini, Marco Pierini,
</ol> In-depth investigations of PTW-car accidents caused by human errors, Safety
</section> Science, Volume 68, 2014, Pages 212-221, ISSN 0925-7535, DOI:
</article> <a href="https://doi.org/10.1016/j.ssci.2014.04.004" target="_blank">10.1016-j.ssci.2014.04.004</a>
<a href="#reference-2"
data-footnote-backref=""
aria-label="Back to content"
class="data-footnote-backref">
<g-emoji class="g-emoji" alias="leftwards_arrow_with_hook" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png">
<img class="emoji"
alt="leftwards_arrow_with_hook"
src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png"
width="20"
height="20">
</g-emoji>
</a>
</p>
</li>
<li id="footnote-3">
<p>
Gito Sugiyanto, Department of Civil Engineering, Faculty of Engineering,
Jenderal Soedirman University Purwokerto, Mayjend Sungkono, Blater, Kalimanah,
Purbalingga, Central Java, Indonesia,
<a href="http://www.arpnjournals.org/jeas/research_papers/rp_2017/jeas_0117_5631.pdf"
target="_blank">
"THE COST OF TRAFFIC ACCIDENT AND EQUIVALENT ACCIDENT NUMBER
IN DEVELOPING COUNTRIES (CASE STUDY IN INDONESIA)"
</a>, ISSN 1819-6608.
<a href="#reference-3"
data-footnote-backref=""
aria-label="Back to content"
class="data-footnote-backref">
<g-emoji class="g-emoji" alias="leftwards_arrow_with_hook" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png">
<img class="emoji"
alt="leftwards_arrow_with_hook"
src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png"
width="20"
height="20">
</g-emoji>
</a>
</p>
</li>
<li id="footnote-4">
<p>
Tarek Said and Sani Zein (1999) Traffic conflict standards at intersections,
Transportation Planning and Technology, 22:4, 309-323, DOI: <a href="https://doi.org/10.1080/03081069908717634" target="_blank">10.1080/03081069908717634</a>
<a href="#reference-4"
data-footnote-backref=""
aria-label="Back to content"
class="data-footnote-backref">
<g-emoji class="g-emoji" alias="leftwards_arrow_with_hook" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png">
<img class="emoji"
alt="leftwards_arrow_with_hook"
src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png"
width="20"
height="20">
</g-emoji>
</a>
</p>
</li>
<li id="footnote-5">
<p>
N.A Stanton, P.R.G. Chambers, J Piggott, Situation Awareness and Security,
Security Science, Vol. 39, 3rd edition, 2001, pp. 189-204, ISSN 0925-7535,
DOI: <a href="https://doi.org/10.1016/S0925-7535(01)00010-8" target="_blank">10.1015/S0925-7535(01)00010-8</a>
<a href="#reference-5"
data-footnote-backref=""
aria-label="Back to content"
class="data-footnote-backref">
<g-emoji class="g-emoji" alias="leftwards_arrow_with_hook" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png">
<img class="emoji"
alt="leftwards_arrow_with_hook"
src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png"
width="20"
height="20">
</g-emoji>
</a>
</p>
</li>
<li id="footnote-6">
<p>
Retalak, Angus Eugen and Bertram Ostendorf. 2019. "Current understanding
of the impact of congestion on traffic accidents" International Journal
of Environmental Research and the State of Society 16, no. 18: 3400.
DOI: <a href="https://doi.org/10.3390/ijerph16183400" target="_blank">10.3390-ijerph-16183400</a>
<a href="#reference-6"
data-footnote-backref=""
aria-label="Back to content"
class="data-footnote-backref">
<g-emoji class="g-emoji" alias="leftwards_arrow_with_hook" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png">
<img class="emoji"
alt="leftwards_arrow_with_hook"
src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png"
width="20"
height="20">
</g-emoji>
</a>
</p>
</li>
<li id="footnote-7">
<p>
&copy; Tesla 2022 instructional publication
<a href="https://www.tesla.com/ownersmanual/modely/en_eu/GUID-A701F7DC-875C-4491-BC84-605A77EA152C.html"
target="_blank">"Controlling traffic lights and stop signs"</a> in the Model-Y description.
<a href="#reference-7"
data-footnote-backref=""
aria-label="Back to content"
class="data-footnote-backref">
<g-emoji class="g-emoji" alias="leftwards_arrow_with_hook" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png">
<img class="emoji"
alt="leftwards_arrow_with_hook"
src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png"
width="20"
height="20">
</g-emoji>
</a>
</p>
</li>
<li id="footnote-8">
<p>
Audi's solution, described by Robert Baldwin in his 2016
journalistic publication
<a href="https://www.engadget.com/2016-12-09-audis-traffic-light-countdown.html"
target="_blank">
"Audi's new traffic-light countdown is the first step to smarter cities"
</a>
<a href="#reference-8"
data-footnote-backref=""
aria-label="Back to content"
class="data-footnote-backref">
<g-emoji class="g-emoji" alias="leftwards_arrow_with_hook" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png">
<img class="emoji"
alt="leftwards_arrow_with_hook"
src="https://github.githubassets.com/images/icons/emoji/unicode/21a9.png"
width="20"
height="20">
</g-emoji>
</a>
</p>
</li>
</ol>
</section>
</article>
</div>
{% endblock %} {% endblock %}