JesterI3D / Computer-Vision-System

:blue_car: System of computer vision of unmanned vehicles for identification of lanes of automobile transport on the roads

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

COMPUTER VISION SYSTEM FOR SELF-DRIVING-CARS

A self-driving car, also known as an autonomous vehicle (AV), connected and autonomous vehicle (CAV), driverless car, robo-car, or robotic car, is a vehicle that is capable of sensing its environment and moving safely with little or no human input. (for more - check - WIKI)

СИСТЕМА КОМПЬЮТЕРНОГО ЗРЕНИЯ ДЛЯ БЕСПИЛОТНОГО ВОЖДЕНИЯ

Беспилотный автомобиль - автоматизированная система транспорта, для которой не требуется вмешательств со стороны человека совсем, либо требуется в критично малом отношении.

The computer vision system for self driving cars has a very wide range of methods and functionality for full performance. What is given specifically in this system? a simple implementation of one of the systems of computer vision, with the help of which, while driving, the car will be able to find and identify lanes of road traffic, thereby building for itself a path along the road.

Система компьютерного зрения находит широкий характер во многих областях, конкретно в данном решении, она служит для идентификации дорожной разметки в режиме реального времени.

STEP-BY-STEP

First, we determine the dimension of the photo: Size (X and Y) Первое, мы определяем размерность кадра.

Second, we defined the zone of interest:

After various filters and transformations, we get what we need - road markings

Второе, мы определяем интересующую нас зону.

С помощью множества фильтров и преобразований, на кадре остаётся только выделенные маркеры дорожной разметки.

Step three - If we bring the picture closer, we will understand that it has such a form that our stripes will be marked with a value of 255, while everything else will be zeros. We mark our marked area with lines for identification.

Result

Третий шаг - если посмотреть на кадр в приближённом состоянии, то можно понять что все, что выделено черным цветом, вне нашей зоны для идентификации, каждый пиксель там помечен нулем, в то время как линии помечены значение 255

Let us look at the operation of the algorithm with other pictures, as well as with video (the previous example showed the identification of lines on roads in the city of Tver, Russia)

Step five - we improve the algorithm, set the angular coefficient (pi / 180 degrees), we also use the straight line formula for the coordinate system:

Шаг пятый - алгоритм основан на том, что во время движения используется и учитывается угловой коэффициент, а так же уравнение прямой в координатной сетке.

Formula for lines

Result

VIDEO:

About

:blue_car: System of computer vision of unmanned vehicles for identification of lanes of automobile transport on the roads

License:GNU General Public License v3.0


Languages

Language:Python 95.4%Language:Dockerfile 4.6%