Skip to content

a project that controls a rc-car depending on an object detection, line detection and road sign recognition techniques

Notifications You must be signed in to change notification settings

Abdulrahman-Yasser/Self-Driving-Car

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Self-Driving-Car

a project that controls a rc-car depending on an object detection, line detection and road sign classification techniques
Graduation project's book : https://github.com/Abdulrahman-Yasser/Graduation-Book

image AMDPN2

First section : Image processing

Screenshot from 2024-05-12 08-40-15

Second section : Object detection using YOLO with my editions

Training our own YOLO model to detect most of things the car needs to sees

the steps i followed

1 - i choosed randomly some images from Udacity dataset



2 - i changed udacity dataset and i've united all the traffic-light together in one class ID

image
image

3 - Udacity dataset became (0:biker , 1:car, 2:pedestrian, 3:traffic-light, 4:truck )
4 - i've trained the model over the edited dataset


Now i wanted to also detect all the traffic sign in the road, so i appended another dataset to the last dataset

5 - i downloaded the traffic-sign dataset here
6 - i changed all the traffic-sign dataset and united all the ids into 5, so all the traffic-signs has ID = 5

image

Now we need to detect and localize all the other objects in the new traffic-sign dataset

7 - i've run the custom-trained YOLO we made in step 3 on all the images in the new traffic-sign dataset i choosed in step 5 to detect the other objects in the images
8 - we will convert the produced YOLO text files format into YOLO training format

image

9 - now we have got text files that contains the other objects data that we got from running the trained YOLO model to detect all the other objects, we can append the lines in bothe texts together (step5 text + step 6 text)

image

10 - we will train a new YOLO model to detect a new combined dataset (0:biker , 1:car, 2:pedestrian, 3:traffic-light, 4:truck, 5:trafficsign)


The result i've got




Third section : Behavioral cloning (UDACITY simulation)

Screenshot_2024-05-12_08-50-28 Screenshot from 2024-05-12 08-51-17 Screenshot from 2024-05-12 08-49-59

Fourth Section : Traffic sign recognition (leNet model)

image 1VUON2 image 115UN2 image GKYON2

Tunning the model

image 64KQN2 image 5NDXN2

Result :

image 6LZ4N2 image PE4ZN2 image XBIYN2

Fifth section : Tiva-C programming (Bare-metal drivers)

It was bad code because i didn't have time to enhance it, and it didn't affect the core project that much. It worked, so don't touch it XD


PLL :
image K4OTN2
PWM :
image TBA4N2
UART :
image 65PNN2 image I8N3N2
Common :
image 5LMQN2

About

a project that controls a rc-car depending on an object detection, line detection and road sign recognition techniques

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published