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

Similar documents
Image Processing Based Vehicle Detection And Tracking System

Face Detection System on Ada boost Algorithm Using Haar Classifiers

Real-Time Face Detection and Tracking for High Resolution Smart Camera System

OPEN CV BASED AUTONOMOUS RC-CAR

COMPARATIVE PERFORMANCE ANALYSIS OF HAND GESTURE RECOGNITION TECHNIQUES

Implementation of Number Plate Extraction for Security System using Raspberry Pi Processor

Automatic Locking Door Using Face Recognition

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

OBJECTIVE OF THE BOOK ORGANIZATION OF THE BOOK

Automatics Vehicle License Plate Recognition using MATLAB

ROBOT VISION. Dr.M.Madhavi, MED, MVSREC

Image Extraction using Image Mining Technique

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

Recognition Of Vehicle Number Plate Using MATLAB

Implementation of License Plate Recognition System in ARM Cortex A8 Board

Real Time Traffic Light Control System Using Image Processing

Eyedentify MMR SDK. Technical sheet. Version Eyedea Recognition, s.r.o.

Telling What-Is-What in Video. Gerard Medioni

CROWD ANALYSIS WITH FISH EYE CAMERA

Face Detection: A Literature Review

Sri Shakthi Institute of Engg and Technology, Coimbatore, TN, India.

ROBOTIC ARM FOR OBJECT SORTING BASED ON COLOR

IMAGE PROCESSING PAPER PRESENTATION ON IMAGE PROCESSING

IoT Based Automatic Vehicle License Plate Recognition System

Challenging areas:- Hand gesture recognition is a growing very fast and it is I. INTRODUCTION

Portable Facial Recognition Jukebox Using Fisherfaces (Frj)

Teleoperated Robot Controlling Interface: an Internet of Things Based Approach

Controlling Humanoid Robot Using Head Movements

MATLAB DIGITAL IMAGE/SIGNAL PROCESSING TITLES

Efficient Construction of SIFT Multi-Scale Image Pyramids for Embedded Robot Vision

Real-Time License Plate Localisation on FPGA

IJRASET 2015: All Rights are Reserved

A VIDEO CAMERA ROAD SIGN SYSTEM OF THE EARLY WARNING FROM COLLISION WITH THE WILD ANIMALS

Implementation Of Vision-Based Landing Target Detection For VTOL UAV Using Raspberry Pi

Just a T.A.D. (Traffic Analysis Drone)

Efficient Car License Plate Detection and Recognition by Using Vertical Edge Based Method

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

EFFICIENT ATTENDANCE MANAGEMENT SYSTEM USING FACE DETECTION AND RECOGNITION

Implementation of Face Detection System Based on ZYNQ FPGA Jing Feng1, a, Busheng Zheng1, b* and Hao Xiao1, c

Team Project: A Surveillant Robot System

SCIENCE & TECHNOLOGY

Number Plate Recognition Using Segmentation

Modern Robotics with OpenCV. Widodo Budiharto

Keyword: Morphological operation, template matching, license plate localization, character recognition.

SIS63-Building the Future-Advanced Integrated Safety Applications: interactive Perception platform and fusion modules results

Live Hand Gesture Recognition using an Android Device

Automated Parking Management System using Image Processing Techniques

An Automatic System for Detecting the Vehicle Registration Plate from Video in Foggy and Rainy Environments using Restoration Technique

AN EFFICIENT APPROACH FOR VISION INSPECTION OF IC CHIPS LIEW KOK WAH

Urban Feature Classification Technique from RGB Data using Sequential Methods

Perception platform and fusion modules results. Angelos Amditis - ICCS and Lali Ghosh - DEL interactive final event

Evaluation of Connected Vehicle Technology for Concept Proposal Using V2X Testbed

Automatic Vehicles Detection from High Resolution Satellite Imagery Using Morphological Neural Networks

Embedded Systems CSEE W4840. Design Document. Hardware implementation of connected component labelling

Face Detection using 3-D Time-of-Flight and Colour Cameras

Background Subtraction Fusing Colour, Intensity and Edge Cues

Parallel Architecture for Optical Flow Detection Based on FPGA

Computer Vision Based Vehicle Detection for Toll Collection System Using Embedded Linux

AI Application Processing Requirements

Face Recognition Based Attendance System with Student Monitoring Using RFID Technology

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

Wheeler-Classified Vehicle Detection System using CCTV Cameras

Design and Implementation of an Intelligent Parking Management System Using Image Processing

The total manufacturing cost is estimated to be around INR. 12

International Journal of Innovative Research in Engineering Science and Technology APRIL 2018 ISSN X

Combined Approach for Face Detection, Eye Region Detection and Eye State Analysis- Extended Paper

The Real Time Vechicle License Plate Identification System

Robust Hand Gesture Recognition for Robotic Hand Control

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

Embedding Artificial Intelligence into Our Lives

International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering. (An ISO 3297: 2007 Certified Organization)

IOT Based Secure System For Monitoring And Control of Coal Mine Environment of Robotics.

An Un-awarely Collected Real World Face Database: The ISL-Door Face Database

Chapter 17. Shape-Based Operations

Controlling Obstacle Avoiding And Live Streaming Robot Using Chronos Watch

Applying Automated Optical Inspection Ben Dawson, DALSA Coreco Inc., ipd Group (987)

interactive IP: Perception platform and modules

detection is done using Open CV on to the Raspberry Pi 3.

Supervisors: Rachel Cardell-Oliver Adrian Keating. Program: Bachelor of Computer Science (Honours) Program Dates: Semester 2, 2014 Semester 1, 2015

High Performance Imaging Using Large Camera Arrays

Today. CS 395T Visual Recognition. Course content. Administration. Expectations. Paper reviews

Improving the Safety and Efficiency of Roadway Maintenance Phase II: Developing a Vision Guidance System for the Robotic Roadway Message Painter

Hand & Upper Body Based Hybrid Gesture Recognition

License Plate Localisation based on Morphological Operations

Real Time Face Recognition using Raspberry Pi II

FSI Machine Vision Training Programs

Emotion Based Music Player

Motion Detector Using High Level Feature Extraction

A New Framework for Color Image Segmentation Using Watershed Algorithm

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

Physical layer authentication of Internet of Things wireless devices through permutation and dispersion entropy

products PC Control

ReVRSR: Remote Virtual Reality for Service Robots

Hardware in the Loop Simulation for Unmanned Aerial Vehicles

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

International Journal of Scientific & Engineering Research, Volume 4, Issue 5, May ISSN

INTELLIGENT HOME AUTOMATION SYSTEM (IHAS) WITH SECURITY PROTECTION NEO CHAN LOONG UNIVERSITI MALAYSIA PAHANG

A NOVEL VISION SYSTEM-ON-CHIP FOR EMBEDDED IMAGE ACQUISITION AND PROCESSING

An Efficient Color Image Segmentation using Edge Detection and Thresholding Methods

An Efficient Method for Vehicle License Plate Detection in Complex Scenes

Transcription:

Vehicle Detection, Tracking and Counting Objects For Traffic Surveillance System Using Raspberry-Pi MR. MAJETI V N HEMANTH KUMAR 1, MR. B.VASANTH 2 1 [M.Tech]/ECE, Student, EMBEDDED SYSTEMS (ES), JNTU (A), Anantapuramu, Andhra Pradesh, India 2 M.Tech, Member of Technical Staff, Seer Akademi, Hyderabad, Andhra Pradesh, India Abstract Vehicle detection in digital image sequences is one of the key technologies of Intelligent Transportation Systems. Traffic Surveillance System is being more and important with the increasing number of vehicles. Our Embedded project is to design and develop a low cost feature which is based on embedded platform for tracking and counting the vehicles for traffic surveillance system using webcam. Our embedded project uses webcam which is located at traffic surveillance system. The webcam combines video sensing, video processing and Communication within a single device. It captures a video stream like vehicles, no. of vehicles in the area, computes the information and transfers the compressed video stream to the ARM micro controller. Our project uses ARM11 micro controller. The webcam is connected to the controller through USB device. The controller vehicles and no. of vehicles on remote controlled PC through Ethernet and also the information is displayed on LCD unit. Index Terms Raspberry Pi, Web camera, QT, OPEN CV, I2C Keywords Background elimination, Frame difference, Object identification, Background I. INTRODUCTION The result of the increase in vehicle traffic, many problems have appeared. For example, traffic accidents, traffic congestion, traffic induced air pollution and so on. Traffic congestion has been a significantly challenging problem. It has widely been realized that increases of preliminary transportation infrastructure, more pavements, and widened road, have not been able to relieve city congestion. As a result, many investigators have paid their attentions on intelligent transportation system (ITS), such as predict the traffic flow on the basis of monitoring the activities at traffic intersections for detecting congestions. To processes the information and monitors the results as better understand traffic flow, an increasing reliance on traffic surveillance is in a need for better vehicle detection at a wide-area. Automatic detecting vehicles in video surveillance data is a very challenging problem in computer vision with important practical applications, such as traffic analysis and security. Vehicle detection and counting is important in computing traffic congestion on highways. The main goal Vehicle detection and counting in traffic video project is to develop methodology for automatic vehicle detection and its counting on highways. A system has been developed to detect and count dynamic vehicles efficiently. Intelligent visual surveillance for road vehicles is a key component for developing autonomous intelligent transportation systems. The entropy mask method does not require any prior knowledge of road feature extraction on static images. Detecting and Tracking vehicles in surveillance video which uses segmentation with initial background subtraction using morphological operator to determine salient regions in a sequence of video frames. Edges are be counting which shows how many areas are of particular size then particular to car areas is locate the points and counting the vehicles in the domain of traffic monitoring over highways. @IJMTER-2015, All rights Reserved 233

Automatic detecting and tracking vehicles in video surveillance data is a very challenging problem in computer vision with important practical applications, such as traffic analysis and security. Video cameras are a relatively inexpensive surveillance tool. Manually reviewing the large amount of data they generate is often impractical. Thus, algorithms for analyzing video which require little or no human input is a good solution. Video surveillance systems are focused on background modeling, moving vehicle classification and tracking. The increasing availability of video sensors and high performance video processing hardware opens up exciting possibilities for tackling many video understanding problems, among which vehicle tracking and target classification are very important. A vehicle tracking and classification system is described as one that can categorize moving vehicles and further classifies the vehicles into various classes. II. PROPOSED SYSTEM ARCHITECTURE This system structure is computationally efficient and can run in a real-time basis while retaining very respectable detection rates. However, this kind of systems contain some inevitable problems caused by the object occlusion where larger vehicle with partially occluded smaller vehicle are typically considered as one object because foreground detection methods are not intrinsically designed to segregate multiple occluded vehicle. In another case, the appearance of larger vehicle or vehicle's shadow occluding the adjacent lanes also is known to trigger false detection Consequently, the merit of using computer vision as a surveillance tool has been limited by focusing strictly on building reliable systems that can perform in real-time. III. OVERVIEW OF THE RELATED WORK An overview of the moving vehicle detection in a video sequence. The system makes use of an existing video sequence. The first frame is considered as the reference frame. The subsequent frames are taken as the input frames. They are compared and the background is eliminated. If a vehicle is present in the input frame, it ll be retained. The detected vehicle is thus tracked by various techniques, namely, adaptive background method and blob analysis method. Figure 1: overview of vehicle detection and counting system IV. OPEN CV Open CV is an open source project an important part of the library as the implementation of those crafty data structures and algorithms you can find in Open CV. Therefore, the source codes for the tutorials are part of the library. Computer vision is a rapidly growing field, partly as a result of both cheaper and more capable cameras, partly because of affordable processing power, and partly because vision algorithms are starting to mature. Open CV itself has played a role in the growth of computer vision by enabling thousands of people to do more productive work in vision. With its focus on real-time vision, Open CV helps students and professionals efficiently implement projects and jump-start research by providing them with a computer vision and machine learning infrastructure that was previously available only in a few mature research labs. @IJMTER-2015, All rights Reserved 234

V. BACKGROUND REGISTRATION A general detecting approach is to extract salient regions from the given video clip using a learned background modelling technique. This involves subtracting every image from the background scene. The first frame is assumed as initial background and thresholding the resultant difference image to determine the foreground image. A vehicle is a group of pixels that move in a coherent manner, either as a lighter region over a darker background or vice versa. Often the vehicle may be of the same color as the background, or may be some portion of it may be aged with the background, due to which detecting the vehicle becomes difficult. This leads to an erroneous vehicle count. VI. FOREGROUND DETECTION Detecting information can use to refine the vehicle type and also to correct errors which are caused due to occlusions. After registering the static vehicles the background image is subtracted from the video frames to obtain the foreground dynamic vehicles. Post processing is performed on the foreground dynamic vehicles to reduce the noise interference. VII. IMAGE SEGMENTATION Image segmentation steps as follows: The segmentation of vehicle regions of interest. In this step, regions which may contain unknown object have to be detected. Next step focuses on the extraction of suitable features and then extraction of vehicles. The main purpose of feature extraction is to reduce data by means of measuring certain features that distinguish the input patterns. The final is classification. It assigns a label to a vehicle based on the information provided by its descriptors. The investigation is made on the mathematical morphology operators for segmentation of a gray-scale image. Figure 2: Architecture of vehicle detection, tracking and counting @IJMTER-2015, All rights Reserved 235

A. Vehicle Detection Adaptive background subtraction uses the current frame and the reference image. Difference between the current frame and the reference frame is above the threshold is considered as moving vehicle. Optical flow method can detect the moving vehicle even when the camera moves, but it needs more time for its computational complexity, and it is very sensitive to the noise. The motion area usually appears quite noisy in real images and optical flow estimation involves only local computation. So the optical flow method cannot detect the exact contour of the moving vehicle. Figure 3: Vehicle detection flowchart B. Vehicle Tracking Vehicle tracking involves continuously identifying the detected vehicle in video sequence and is done by specifically marking the boundary around the detected vehicle. Vehicle tracking is a challenging problem. Difficulties in tracking vehicles can arise due to abrupt vehicle motion, changing appearance patterns of the vehicle and the scene, non-rigid vehicle structures, vehicle to-vehicle and vehicle-to-scene occlusions, and camera motion. Figure 4: Vehicle tracking flowchart @IJMTER-2015, All rights Reserved 236

C. Vehicle Counting Figure 5: Vehicle counting flowchart VIII. BLOCK DIAGRAM Figure 6: Block diagram of vehicle detection, tracking and counting objects This system captures the gestures from web-cam which is connected to micro controller through USB host and the image is processed by means of image processing technique. Here we are using Open CV library to detect a frontal hand as an image using its Haar-Cascade hand Detector, this will increase the human computer interaction. If any gesture is recognized by the camera, a rectangular box will appear on monitor. The identified gestures are sends to Raspberry PI board and we can perform TV related functions. In this way we are implementing single camera dedicated television control system using gesture drawing. IX. SOFTWARE SPECIFICATIONS AND FRAMEWORK Software specifications: 1. Operating System : Linux 2. QT for Embedded Linux @IJMTER-2015, All rights Reserved 237

1. Linux Operating System: Linux or GNU/Linux is a free and open source software operating system for computers. The operating system is a collection of the basic instructions that tell the electronic parts of the computer what to do and how to work. Free and open source software (FOSS) means that everyone has the freedom to use it, see how it works, and changes it. There is a lot of software for Linux, and since Linux is free software it means that none of the software will put any license restrictions on users. This is one of the reasons why many people use Linux. A Linux based system is a modular Unix-like operating system Figure.7: Linux OS Architecture It derives much of its basic design from principles established in UNIX during the 1970s and 1980s. Such a system uses a monolithic kernel, the Linux kernel, which handles process control, networking, and peripheral and file system access. Device drivers are either integrated directly with the kernel or added as modules loaded while the system is running. 2. QT for Embedded Linux: QT for Embedded Linux is a C++ framework for GUI and application development for embedded devices. It runs on a variety of processors, usually with Embedded Linux. QT for Embedded Linux provides the standard QT API for embedded devices with a lightweight window system. A. Raspberry Pi Board X. HARDWARE IMPLEMENTATION Figure 8: Raspberry Pi Development Board @IJMTER-2015, All rights Reserved 238

The Raspberry Pi has a Broadcom BCM2835 system on a chip (SoC), which includes an ARM1176JZF-S 700 MHz processor, Video Core IV GPU, and was originally shipped with 256 megabytes of RAM, later upgraded (Model B & Model B+) to 512 MB. It does not include a built-in hard disk or solid-state drive, but it uses an SD card for booting and persistent storage, with the Model B+ using a Micro SD. Model B is the higher-spec variant of the Raspberry Pi, with 512 MB of RAM, two USB ports and a 100mb Ethernet port. It s our most popular model: you can use it to learn about computing; to power real-world projects (like home breweries, arcade machines, musical root vegetables, robot tanks and much more); as a web server; a bit coin miner; or you can just use it to play Mine craft. B. UVC Driver Camera Figure 9: UVC Driver Camera A UVC (or Universal Video Class) driver is a USB-category driver. A driver enables a device, such as your webcam, to communicate with your computer s operating system. And USB (or Universal Serial Bus) is a common type of connection that allows for high-speed data transfer. Most current operating systems support UVC. XI. RESULTS 1. Detection Phase Of Moving Cars 2. Tracking Phase of Moving cars Figure 10: Testing for the Vehicle Detection of a moving cars. Figure 11: Testing for Vehicle Tracking by Matrix Scan of a moving cars @IJMTER-2015, All rights Reserved 239

3. Counting Phase of Moving cars Figure 12: Testing for Vehicle counting of moving cars. 4. Monitoring vehicle tracking through IP address based Figure 13: snapshot of detection and tracking of vehicles XII. CONCLUSION A system has been developed to detect and count dynamic vehicles on highways efficiently. The system effectively combines simple domain knowledge about vehicle classes with time domain statistical measures to identify target vehicles in the presence of partial occlusions and ambiguous poses, and the background clutter is effectively rejected. The experimental results show that the accuracy of counting vehicles was 96%, although the vehicle detection was 100% which is attributed towards partial occlusions. The computational complexity of our algorithm is linear in the size of a video frame and the number of vehicles detected. As we have considered traffic on highways there is no question of shadow of any cast such as trees but sometimes due to occlusions two vehicles are merged together and treated as a single entity. XIII. FUTURE SCOPE Several future enhancements can be made to the system. The detection and tracking and counting of moving vehicle can be extended to real-time live video feeds. Apart from the detection and extraction, process of recognition can also be done. By using recognition techniques, the vehicle in question can be classified. Recognition techniques would require an additional database to match with the given vehicle. The system is designed for the detection and tracking and counting of a multiple moving vehicle. It can be further devised to alarming system. @IJMTER-2015, All rights Reserved 240

REFERENCES [1] http://ieeexplore.ieee.org/xpl/articledetails.jsp?reload=true&arnumber=6112843 [2] https://www.behance.net/gallery/vehicle-detection-tracking-and-counting/4057777 [3] www.raspberrypi.org [4] M.Sankari and C. Meena, Adaptive Background Estimation and object detection applying in Automated visual surveillance (IJCSIS) International Journal of Computer Science and Information Security, Vol. 8, No. 4, July 2010 [5] H.S. Mohana, Aswatha Kumar and Shiva kumar Malnad College of Engineering, Hassan, Karnataka, Vehicle Counting And Classification Using Kalman Filter And Pixel Scanner Technique And Its Verification With Optical Flow Estimation, Global Journal of Computer Science and Technology 46 Vol. 10 Issue 8 Ver. 1.0 September 2010 [6] http://opencvsrf.blogspot.in/2013/10/smooth-images.html [7] http://www.byteparadigm.com/applications/introduction-to-i2c-and-spi-protocols/ [8] P.M.Daigavane and Dr. P.R.Bajaj, Real Time Vehicle Detection and Counting Method for Unsupervised Traffic Video on Highways Mrs [9] https://en.wikipedia.org/wiki/kalman_filter [10] www.w3schools.com [11] Viola and Jones, "Rapid object detection using a boosted cascade of simple features", Computer Vision and Pattern Recognition, 2001 [12] https://en.wikipedia.org/wiki/background_subtraction [13] http://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=6555527&url=http%3a%2f%2fieeexplore.ieee.org%2fxpls %2Fabs_all.jsp%3Farnumber%3D6555527 [14] http://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=6868357&url=http%3a%2f%2fieeexplore.ieee.org%2fxpls %2Fabs_all.jsp%3Farnumber%3D6868357 @IJMTER-2015, All rights Reserved 241