OPEN CV BASED AUTONOMOUS RC-CAR

Similar documents
Autonomous Obstacle Avoiding and Path Following Rover

Implementation of License Plate Recognition System in ARM Cortex A8 Board

Smart Parking System for Locating Vacant Parking Slots

Follower Robot Using Android Programming

CROWD ANALYSIS WITH FISH EYE CAMERA

Image Processing and Particle Analysis for Road Traffic Detection

Evaluation of Connected Vehicle Technology for Concept Proposal Using V2X Testbed

Detection of License Plates of Vehicles

Wadehra Kartik, Kathpalia Mukul, Bahl Vasudha, International Journal of Advance Research, Ideas and Innovations in Technology

Intelligent Tactical Robotics

Hardware Implementation of an Explorer Bot Using XBEE & GSM Technology

AUTOMATIC NUMBER PLATE DETECTION USING IMAGE PROCESSING AND PAYMENT AT TOLL PLAZA

INDIAN VEHICLE LICENSE PLATE EXTRACTION AND SEGMENTATION

Automatic Licenses Plate Recognition System

Automated Driving Car Using Image Processing

QUALITY CHECKING AND INSPECTION BASED ON MACHINE VISION TECHNIQUE TO DETERMINE TOLERANCEVALUE USING SINGLE CERAMIC CUP

Automated License Plate Recognition for Toll Booth Application

Computer Vision Robotics I Prof. Yanco Spring 2015

Deployment and Testing of Optimized Autonomous and Connected Vehicle Trajectories at a Closed- Course Signalized Intersection

Controlling Obstacle Avoiding And Live Streaming Robot Using Chronos Watch

Accident prevention and detection using internet of Things (IOT)

Modern Robotics with OpenCV. Widodo Budiharto

Lane Segmentation for Self-Driving Cars using Image Processing

VEHICLE LICENSE PLATE DETECTION ALGORITHM BASED ON STATISTICAL CHARACTERISTICS IN HSI COLOR MODEL

Advances in Vehicle Periphery Sensing Techniques Aimed at Realizing Autonomous Driving

* Intelli Robotic Wheel Chair for Specialty Operations & Physically Challenged

Simulation of a mobile robot navigation system

ReVRSR: Remote Virtual Reality for Service Robots

Vishnu Nath. Usage of computer vision and humanoid robotics to create autonomous robots. (Ximea Currera RL04C Camera Kit)

Automatic optical measurement of high density fiber connector

A RASPBERRY PI BASED ASSISTIVE AID FOR VISUALLY IMPAIRED USERS

Performance Evaluation of Edge Detection Techniques for Square Pixel and Hexagon Pixel images

Face Detection System on Ada boost Algorithm Using Haar Classifiers

NCCT IEEE PROJECTS ADVANCED ROBOTICS SOLUTIONS. Latest Projects, in various Domains. Promise for the Best Projects

Available online at ScienceDirect. Ehsan Golkar*, Anton Satria Prabuwono

A Vehicular Visual Tracking System Incorporating Global Positioning System

Video Synthesis System for Monitoring Closed Sections 1

Making PHP See. Confoo Michael Maclean

International Journal of Scientific & Engineering Research Volume 8, Issue 7, July-2017 ISSN

Distracted Driving: A Novel Approach towards Accident Prevention

Number Plate Detection with a Multi-Convolutional Neural Network Approach with Optical Character Recognition for Mobile Devices

MATLAB DIGITAL IMAGE/SIGNAL PROCESSING TITLES

DENSO www. densocorp-na.com

Emotion Based Music Player

Weekly report: January 11 - January 18, 2018

Detection and Verification of Missing Components in SMD using AOI Techniques

A New Approach to Control a Robot using Android Phone and Colour Detection Technique

AN EFFICIENT TRAFFIC CONTROL SYSTEM BASED ON DENSITY

PEDESTRIAN AND OBJECT DETECTION SYSTEM IN VEHICLES FOR SAFETY DRIVING

Space Research expeditions and open space work. Education & Research Teaching and laboratory facilities. Medical Assistance for people

Image Processing : Introduction

Libyan Licenses Plate Recognition Using Template Matching Method

23270: AUGMENTED REALITY FOR NAVIGATION AND INFORMATIONAL ADAS. Sergii Bykov Technical Lead Machine Learning 12 Oct 2017

MRS: an Autonomous and Remote-Controlled Robotics Platform for STEM Education

Design Concept of State-Chart Method Application through Robot Motion Equipped With Webcam Features as E-Learning Media for Children

Malaysian Car Number Plate Detection System Based on Template Matching and Colour Information

A Vehicular Visual Tracking System Incorporating Global Positioning System

Wheeled Mobile Robot Obstacle Avoidance Using Compass and Ultrasonic

HAPTIC BASED ROBOTIC CONTROL SYSTEM ENHANCED WITH EMBEDDED IMAGE PROCESSING

A Survey on Assistance System for Visually Impaired People for Indoor Navigation

Automatics Vehicle License Plate Recognition using MATLAB

Vehicle Number Plate Recognition with Bilinear Interpolation and Plotting Horizontal and Vertical Edge Processing Histogram with Sound Signals

A Vehicular Visual Tracking System Incorporating Global Positioning System

Object Detection and Tracking Robot using Android, Arduino and Open CV

Vehicle License Plate Recognition System Using LoG Operator for Edge Detection and Radon Transform for Slant Correction

Model and Analysis of Optimal Color Vision Deficiency System

March 10, Greenbelt Road, Suite 400, Greenbelt, MD Tel: (301) Fax: (301)

Intelligent Vehicle Localization Using GPS, Compass, and Machine Vision

GPS data correction using encoders and INS sensors

SMART ELECTRONIC GADGET FOR VISUALLY IMPAIRED PEOPLE

Smart eye using Ultrasonic sensor in Electrical vehicles for Differently Able.

[Kathar*, 5(2): February, 2016] ISSN: (I2OR), Publication Impact Factor: 3.785

An Evaluation of Automatic License Plate Recognition Vikas Kotagyale, Prof.S.D.Joshi

Distributed Vision System: A Perceptual Information Infrastructure for Robot Navigation

Limits of a Distributed Intelligent Networked Device in the Intelligence Space. 1 Brief History of the Intelligent Space

COMPARATIVE PERFORMANCE ANALYSIS OF HAND GESTURE RECOGNITION TECHNIQUES

A Vehicle Speed Measurement System for Nighttime with Camera

A Method of Multi-License Plate Location in Road Bayonet Image

Vehicle Detection, Tracking and Counting Objects For Traffic Surveillance System Using Raspberry-Pi

REVERSIBLE MEDICAL IMAGE WATERMARKING TECHNIQUE USING HISTOGRAM SHIFTING

A Study on Developing Image Processing for Smart Traffic Supporting System Based on AR

Israel Railways No Fault Liability Renewal The Implementation of New Technological Safety Devices at Level Crossings. Amos Gellert, Nataly Kats

Augmented Reality using Hand Gesture Recognition System and its use in Virtual Dressing Room

VSI Labs The Build Up of Automated Driving

Implementation of a Self-Driven Robot for Remote Surveillance

Software Computer Vision - Driver Assistance

MICROCHIP PATTERN RECOGNITION BASED ON OPTICAL CORRELATOR

An Autonomous Self- Propelled Robot Designed for Obstacle Avoidance and Fire Fighting

An Image Processing Based Pedestrian Detection System for Driver Assistance

AMBULANCE TRACKING AND ALTERNATE ROUTING

NAVIGATION OF MOBILE ROBOT USING THE PSO PARTICLE SWARM OPTIMIZATION

Park Ranger. Li Yang April 21, 2014

An Efficient Noise Removing Technique Using Mdbut Filter in Images

Matlab Based Vehicle Number Plate Recognition

Morphological Image Processing Approach of Vehicle Detection for Real-Time Traffic Analysis

Sensors and Sensing Cameras and Camera Calibration

Highly Adaptive Indian High Security Vehicle Number Plate Recognition

Formation and Cooperation for SWARMed Intelligent Robots

THERMAL IMAGING ANALYSIS OF POTENTIALLY HARMFUL SUBJECT FOR NIGHT VISION SYSTEM

Mobile Robots Exploration and Mapping in 2D

Transcription:

OPEN CV BASED AUTONOMOUS RC-CAR B. Sabitha 1, K. Akila 2, S.Krishna Kumar 3, D.Mohan 4, P.Nisanth 5 1,2 Faculty, Department of Mechatronics Engineering, Kumaraguru College of Technology, Coimbatore, India 3,4,5 Students, Department of Mechatronics Engineering, Kumaraguru College of Technology, Coimbatore, India ABSTRACT Controlling the traffic in the metro cities is the huge due to increase in the vehicles population and increase in accidents too. To prevent, many of the plans are implemented but fails. To overcome these problems we come up the idea of Controllable Traffic Autonomous Car. The cars most nowadays are smart we utilize that idea and make a prototype which control according to the traffic signals and to prevent the accidents by the machine learning prediction and image processing technique. The main controlling unit if the car is raspberry pi which teaches the car to move in the path and to stop when the red signal in the traffic, to maintain the speed and to stop the car if it get collide with nearby vehicles. The distance between the cars is monitored with the help of ultrasonic sensor. It also associated with the GSM and GPS technique to locate the car and to alert in case of the emergency situations.the result that going to obtained based of the qualities of the image frame from the camera and the collision avoidance according to the sensor data from the ultrasonic sensor. The machine learning and the image processing are done by using the opencv module in python. The self is going to done by the convolution neural network and the object prediction by the harr classifiers. The advance is going to done by the deep learning of the objects Keywords: Open cv haar classifier, Monocular vision,region of interest (ROI), Hue saturation value (HUI) INTRODUCTION The car that is made based on to make the car to move according to the traffic rules and conditions to improve the traffic ability. In this work the RC car are made to make its movement by predicting the paths that are already trained to it. By the trained prediction it made its movements by mappings its path to the convolution neural network [1].The traffic signs of the car be predicted by the colour mapping to differentiate the colors to the camera or by using the concept of the pre-trained classifiers like haar-classifier. The distance of the signal and the stop sign to the car camera is measured by the monocular vision [1][2].The live JARDCS Special Issue On Engineering and Informatics 1009

feed from the camera is broadcasted to the driver trough the socket networking. The colloidence of the one car form other or to any other obstacles is prevented by the ultrasonic sensors through the distance measurement. The process are initially the car is pre trained by the path and travel in its track if the obstacles is in front ofit stops and check the obstacles behind it and convey the message to the driver and in the signals if it detects the red color it stops and make the move until thecolour is turned to green.. In case if the car met with the accident it alert the hospitals nearby and to the associated persons of the car owner. DESCRIPTION: The below shown diagram is the block diagram for the working and the step functionalities of the proposed work. Figure 1: Block Diagram AUTO-PREDICTION: In the self-driving part the car makes to start collecting images of the sample paths it going to travel it takes up to more than 100 samples. After collecting the samples it allowed to the training process the trained data are get stored in the raspberry pi memory. The trained data is made to prediction testing and results get stored in.npz format. The tested data is get teach to the raspberry pi by cv2.ml.ann_mlp_create () command by this command it made prediction algorithm with labels and its associated tested data get stored in the format.xml format by which the convolution neural[1] mapping has made. Then the live feed is telecasted to the diver through wireless protocol socket library in python. TRAFFIC& STOP SIGN DETECTION: The traffic light is detected by the process of rendering and masking the color in python. The image is first converted into gray scale and the image converted into HSV (Hue Saturation Value). The color to be identified is separated into two parts, upper and lower part by series of repetitions. Then the separated parts are masked and render according to HSV JARDCS Special Issue On Engineering and Informatics 1010

range, The obtained masked images are eroded and diluted to get the smooth and noise free required colors(pixel values) by repeated iterations(six iterations). Then the boundary for the obtained color is drawn by the contour process by defining the position and height for the range of color detected. Then by using cv2.puttext () command we write the distance from the color detected to the camera and the detected color. To recognize different states of the STOP sign, some image processing is needed beyond detection. Flowchart below summarizes the traffic light recognition process. Figure2: Flow chart for colour mapping Firstly, trained cascade harr classifier [4] is used to detect stop sign. The bounding box is considered as a region of interest (ROI) [1]. Secondly, Gaussian blur is applied inside the ROI to reduce noises. Thirdly, find the brightest point in the ROI. Finally, Stop sign determined simply based on the position of the brightest spot in the ROI. Figure3: Stop Sign Prediction The.xml file is created using this classifiers, which takes 4 days to get a good detection of images. Then this.xml file is imported in programming so that it detects the sign and contour is drawn. MONOCULAR VISION: The proposed work adapted a geometry model of detecting distance of the object to the car using monocular vision method [2]. Figure4: MV calculation JARDCS Special Issue On Engineering and Informatics 1011

P is a point on the target object; d is the distance from optical centre to the point P. based on the geometry relationship above, formula (1) shows how to calculate the distance d. In the formula (1), f is the focal length of the camera; is camera tilt angle; h is optical center height; (x0, y0)[1] refers to the intersection point of image plane and optical axis; (x, y) refers to projection of point P on the image plane. It is the mathematical calculation to detect the distance of stop and signal sides from the camera of the vehicles [5]. Another major part of the proposed work is prevent collide of the cars over the other while they make detection with the signals. The first tray of the car detects the signals and makes the stop. By using the ultrasonic sensor fitted infornt of the cars which makes the prevention of collidance with the other vehicles by making it to stop the wheels of the car if it reaches the particular distance ie.when the distance of the ultrasonic sensor and the other vehicle is in 1m gap it makes the car to stop. If the ultrasonic sensor is fitted in every side of the vehicles like a tray or like a array it makes the car to prevent collide with the side by near objects also and the sensors are to be fit in the back side to prevent in case the other car front detector fails. RESULTS The results obtained during test drive are shown below. The final RC car assembly is shown below Figure5: Prototype JARDCS Special Issue On Engineering and Informatics 1012

The obtained results are pretty good and the controlling of car through self-learning, the detection of traffic signals and stop sign detection are shown in figures. Figure 6: Red colour Detection Figure7: Yellow colour Detection Figure 8: Green colour Detection Figure 9: Stop Sign Detection CONCLUSION: The car makes it path clearly trained makes it move perfectly and detects the signals and the stop sign make the stop. The obstacles detector (ultrasonic sensor) makes the car to JARDCS Special Issue On Engineering and Informatics 1013

stop if the obstacle or the car is in front of it. The alert and the location mapping is also worked by sending the alert to the consumer persons and located perfectly. Area with wireless network range (Wi-Fi).The challenge faced are obtaining camera feed wirelessly to laptop, there was a lot of latency problems. The pixels are not obtained clearly. This is rectified by threading operation in the program where the multiple client server programs are made to run in multiple ports. The red colour are detected in various area in the frame due lot of color gradients around the surroundings. So the path of the car tracing must be clearly in the range of other than of traffic colors so that the car can easily detect further motion clearly or the car may go along uncontrolled manner. To obtain the clear detection of traffic signal the advanced neural network method is used, so that the traffic signal contour is also teaches so that it can sense only the contour size so that the detection flows along contour and inside of the contour section which makes the detection much clear and better. FUTURE SCOPE: The prediction is currently based on opencv and get to change scikit learn, tensor flow libraries to get the better accuracy for auto prediction. Ultrasonic sonic sensors are to replace by radar to better mapping and avoiding the obstacles. Traffic signal carries the camera which is teaches to detect the number plates by one of the algorithm like opencv haar classifier. In case of vehicles crossing the signals can be finding by scanning the particular vehicle number plate and sending the data to overall traffic head office and check with existing database, so that easily person is found, which happens in fraction of seconds. This case is acceptable, because not all vehicles can violate traffic signals, so it is easy to find the one vehicle which is crossing the signal. The codes are uploaded in the below github page: https://github.com/krishkribo/semi_autonomous_rc_car REFERENCES 1. Li, X., Wang, X., & Ouyang, Y. (2012). Prediction and field validation of traffic oscillation propagation under nonlinear car-following laws. Transportation research part B: methodological, 46(3), 409-423. JARDCS Special Issue On Engineering and Informatics 1014

2. Lienhart, R., & Maydt, J. (2002). An extended set of haar-like features for rapid object detection. In Image Processing. 2002. Proceedings. 2002 International Conference on (Vol. 1, pp. I-I). IEEE. 3. Janét, J. A., Schudel, D. S., White, M. W., England, A. G., Luo, R. C., & Snyder, W. E. (1996, December). Global self-localization for actual mobile robots: Generating and sharing topographical knowledge using the region-feature neural network. In Multisensor Fusion and Integration for Intelligent Systems, 1996. IEEE/SICE/RSJ International Conference on (pp. 619-626). IEEE. 4. Lienhart, R., & Maydt, J. (2002). An extended set of haar-like features for rapid object detection. In Image Processing. 2002. Proceedings. 2002 International Conference on (Vol. 1, pp. I-I). IEEE. 5. Sheng, W., Ou, Y., Tran, D., Tadesse, E., Liu, M., & Yan, G. (2013, November). An integrated manual and autonomous driving framework based on driver drowsiness detection. In Intelligent Robots and Systems (IROS), 2013 IEEE/RSJ International Conference on (pp. 4376-4381). IEEE. JARDCS Special Issue On Engineering and Informatics 1015