Self - Driving - Car (Main Project)
Self - Driving - Car (Main Project)
Project Presentation on
02 LITERATURE 07 IMPLEMENTATION
SURVEY
03 EXISTING SYSTEM 08 TESTING
05 SYSTEM 10 CONCLUSION
REQUIREMENTS
INTRODUCT 01
ION
INTRODUCTION
► An autonomous car is a robotic vehicle that is designed to travel between destinations without any
human intervention.
► This impacts of autonomous (also called self-driving, driverless or robotic) vehicles, and their
implications for transportation planning. It investigates how quickly such vehicles are likely to
develop and be deployed based on experience with previous vehicle technologies.
► Their likely benefits and costs, how they will affect travel activity and their impacts on planning
decisions such as optimal road, parking and public transit supply.
► An Self-driving cars are autonomous decision-making systems that process streams of observations
coming from different on-board sources, such as cameras, radars, LiDAR's, ultrasonic sensors, GPS
units and/or inertial sensor’s.
► Convolutional Neural Networks (CNN) are dedicated to vision-based approaches and they are quite
feasible for Graphics Processing Unit (GPU) acceleration in the real-time application.
INTRODUCTION
► Autonomous vehicles make use of different types of sensors together to decide on control of vehicle
based on condition changes such as steering or applying thrust in case of emergency..
► However, detecting objects in a video stream frame-by-frame is difficult when delay of milliseconds
can lead to collision.
► Object detection is basically divided into two steps. First one being, image classification and second
one being image localization.
► Image classification determines the type of objects present in an image while localization of image
provides the almost exact location of these objects in the images (in bounding boxes).
LITERATUR 02
E SURVEY
LITERATURE SURVEY
Autonomous cars involves training each car separately one by one until they have enough
experience to drive safely without any accident.
Various Deep Learning algorithms are used with high precision to make the car learn to drive
on its own.
Ex: Waymo, Tesla
Autonomous vehicles could be the next major target of the hackers as this vehicle
continuously tracks and monitors details of the owner.
PROPOSED 04
SYSTEM
PROPOSED SYSTEM
To detect the path whether it is smooth or curve edge and also take pictures in rainy
environment.
To know the security of that car weather it is moving in correct direction, towards
defined destination and also do the basic things of a human driving features with the car
at low cost.
Gives same performance as when the weather changes interferes with sensors.
SYSTEM
REQUIREME
05
NTS
SYSTEM REQUIREMENTS
Hardware Requirements
► Monitor with HDMI cable
► RaspiCam 2 Camera
► Arduino Uno
► L298N Bridge
► 16GB SD Card
Software Requirements
► Raspberry OS
► Windows OS
► Arduino IDE
► Python 3
► OpenCV
► NumPy
► Keras
► GNU Editor
USECASE
DIAGRAMS
06
USECASE DIAGRAMS
For about the Curve detection we define the 3 left and right for curve and
U turn depend on the perspective view of the OpenCV the difference of
previous is turn or give left and right command by Convectional Neural
network.
IMPLEMENTATION
Distance Measurement
Raspberry Pi can only support one pi camera
module. Using two USB web cameras will bring extra weight to the RC
car and also seems unpractical. Therefore, monocular vision method is
chosen. This project adapted a geometry model of detecting distance to
an object using monocular vision method proposed by Chu, Ji, Guo, Li
and Wang (2004).
Obstacle Detection
This project adapted the shape-based approach used for
object detection. Since each object requires its own classifier and follows
the same process in training and detection, this project focused on the
obstacle detection based on the Ultrasonic sensor and distance between
the obstacle.
The same negative sample dataset was used for both stop sign and traffic
light training. Below shows some positive and negative samples used in
this project.
Firstly, trained cascade classifier is used to detect traffic
light. The bounding box is considered as a region of
interest (ROI). Secondly, Gaussian blur is applied inside
the ROI to reduce noises. Thirdly, find the brightest point
in the ROI. Finally, red or green states are determined
simply based on the position of the brightest spot in the
ROI.
TESTING
08
TESTING
Purpose of Testing
The purpose of testing is to discover errors. Testing is the process of trying to discover
every conceivable fault or weakness in a work product. It provides a way to check the functionality
of components, assemblies and/or a finished product it is the process of exercising software with the
intent of ensuring that the software system meets its requirements and user expectations and does
not fail in an unacceptable manner. There are various types of test. Each test type addresses a
specific testing requirement.
.
TESTING
.
RESULTS
09
RESULTS
Prediction on the testing samples returns an accuracy of 85% compared to the accuracy of 96% that
the training samples returns. In actual driving situation, predictions are generated about 10 times a
second (streaming rate roughly 10 frames/s).
HAAR features by nature are rotation sensitive. In this project, however, rotation is not a concern as
both the stop sign and the traffic light are fixed objects, which is also a general case in real world
environment
For distance measurement aspect, the ultrasonic sensor is only used to determine the distance to an
obstacle in front of the SD car and provides accurate results when taking proper sensing angle and
surface condition into considerations.
On the other hand, Pi camera provides “good enough” measurement results. In fact, as long as we
know the corresponding number to the actual distance, we know when to stop the RC car.
Experimental results of detecting distance using pi camera are as shown:
RESULTS
In this project, the accuracy of distance measurement using monocular vision approach could be
influenced by the following factors:
1 Errors in actual values measurement,
2 Object bounding box variations in detecting process,
3 Errors in camera calibration process,
Overall, the RC car could successfully navigate on the track with the ability to avoid front collision,
and respond to stop sign and traffic light accordingly.
CONCLUSIO 10
N
CONCLUSION
We have empirically demonstrated that CNNs are able to learn the entire task of
lane and road following without manual decomposition into road or lane marking
detection, semantic abstraction, path planning, and control. A small amount of
training data from less than a hundred hours of driving was sufficient to train the
car to operate in diverse conditions, on highways, local and residential roads in
sunny, cloudy, and rainy conditions. The CNN is able to learn meaningful road
features from a very sparse training signal (steering alone).
The system learns for example to detect the outline of a road without the need of
explicit labels during training
More work is needed to improve the robustness of the network, to find methods to
verify the robustness, and to improve visualization of the network-internal
processing steps.
THAN
KS!