The basic idea is not new - the development of neural networks in the realtime mode allowed to classify objects in a video stream, such as vehicles, people, animals ...
On the Internet you can find a lot of different projects on this topic.
It would be nice if the driver had been warned about potentially dangerous encounters with objects on the road.
So first idea, then the development and implementation ..
Since the classification of objects in the video stream requires a lot of computational resources, the option with the neural network to the CPU immediately dropped, so get sane FPS is very difficult.
Therefore, the choice fell on the GPU, specifically graphics card from Nvidia with the need Cuda.
Geforce gtx 1063 is able to process (classify objects) in the video stream with a frequency of about 20 frames per second.
Geforce RTX 2080ti a rate of about 30 frames per second.
Comparing the value of the cards and the performance you can safely opt for Geforce gtx 1063.
20 frames / sec is enough for comfortable work.
The entire project was created with the help of tools such as Python, yolov3-tf2, cvui and tensorflow-gpu.
work screenshots can be seen here:
So the program is able to detect objects, classify them, and to warn when approaching them, to define the band, and warn when going beyond them.
The program has settings for thinning the danger zones, focus zones, etc.
Well, half the work is done. But how to install the system in a motor vehicle other than a sound alarm, the driver must receive and visual information.
Simple pilikane not give information on the location of the object.
Put the monitor, such as the idea is not the best. Firstly it will distract the driver, forcing him to move his attention from the road to the screen.
In the second installation of additional accessories on the dashboard may violate feng shui))
Any projections on the windshield of course also have disappeared by themselves.
Those. dead end. The program is, and how to display visual information to the driver is not clear.
In general the program has become covered with dust ..
But recently I got the idea, but why not use this address for the LED strip WS2812B ?!
Take a length of tape as a torpedo car. set it on the edge, near the windshield and you're done!
The tape does not interfere with the review, it does not distract the driver, but at the same time allows you to visualize a place where there is a potentially dangerous object.
Ribbon RGB, so you can easily set color classification.
Such as red - this transport, and purple - people and animals.
The width of the emission is equal to the width of the object in the video stream, and the LEDs light up in the place where the facility is located.
Those. if there was a pedestrian on the right, respectively, then the right will light up the LEDs in purple.
The picture shows the tape, where the center is not well lit and the red LEDs on the right purple.
Treated so .. in front of the machine and is already far away, but yet dangerously close, and on the right a pedestrian.
Pedestrians and animals special priority in processing.
To transfer data from the PC onto the tape using Arduino Nano, which is connected to the com port on the PC.
Like as planned progress: a program, there is visualization. The case for small - to set everything in the car.
System components include:
motherboard, processor supporting avx instructions, memory, SSD drive and Geforce gtx 1063, RGB strip and arduino to transfer data from the PC onto the tape.
The total power consumption must not exceed 120W.
For food, I think you can use PicoPSU at 300 W, will not be superfluous.
The most acute problem - this condensate, how to fight it in the winter, the question I do not have an adequate solution.
So far, I see no reason to spread the source code, as long as there is no single concept of the final system.
At this stage it is yet raw.
Actually that such an idea, and here is its implementation at this stage.
If someone has an idea of ​​the struggle with the condensate, I will be glad to hear.
It is also interested in the opinion regards such imaging systems RGB tape.
And opinions with regards to the use of the PC in the car.
Actually comments on tips are welcome.