A Vehicle Speed Measurement System for Nighttime with Camera

Similar documents
Multi-Resolution Estimation of Optical Flow on Vehicle Tracking under Unpredictable Environments

An Improved Bernsen Algorithm Approaches For License Plate Recognition

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

Development of Hybrid Image Sensor for Pedestrian Detection

A Study on Single Camera Based ANPR System for Improvement of Vehicle Number Plate Recognition on Multi-lane Roads

NEW HIERARCHICAL NOISE REDUCTION 1

Number Plate Recognition System using OCR for Automatic Toll Collection

Exercise questions for Machine vision

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

Automatic License Plate Recognition System using Histogram Graph Algorithm

Detection of License Plates of Vehicles

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

Image Filtering. Reading Today s Lecture. Reading for Next Time. What would be the result? Some Questions from Last Lecture

Libyan Licenses Plate Recognition Using Template Matching Method

CCD Automatic Gain Algorithm Design of Noncontact Measurement System Based on High-speed Circuit Breaker

Compression Method for High Dynamic Range Intensity to Improve SAR Image Visibility

AUTOMATIC IRAQI CARS NUMBER PLATES EXTRACTION

Guided Filtering Using Reflected IR Image for Improving Quality of Depth Image

A software video stabilization system for automotive oriented applications

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

Image Recognition for PCB Soldering Platform Controlled by Embedded Microchip Based on Hopfield Neural Network

An Image Processing Method to Convert RGB Image into Binary

Linear Gaussian Method to Detect Blurry Digital Images using SIFT

A Chinese License Plate Recognition System

Master thesis: Author: Examiner: Tutor: Duration: 1. Introduction 2. Ghost Categories Figure 1 Ghost categories

Unconstrained pupil detection technique using two light sources and the image difference method

Recognition Of Vehicle Number Plate Using MATLAB

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

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

International Journal of Advance Engineering and Research Development CONTRAST ENHANCEMENT OF IMAGES USING IMAGE FUSION BASED ON LAPLACIAN PYRAMID

Image Processing by Bilateral Filtering Method

Anti-shaking Algorithm for the Mobile Phone Camera in Dim Light Conditions

INDIAN VEHICLE LICENSE PLATE EXTRACTION AND SEGMENTATION

A Review of Optical Character Recognition System for Recognition of Printed Text

A shooting direction control camera based on computational imaging without mechanical motion

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

Video Synthesis System for Monitoring Closed Sections 1

Lane Detection in Automotive

An Efficient Method for Vehicle License Plate Detection in Complex Scenes

ScienceDirect. Improvement of the Measurement Accuracy and Speed of Pupil Dilation as an Indicator of Comprehension

Automated Driving Car Using Image Processing

An Efficient Color Image Segmentation using Edge Detection and Thresholding Methods

Improving Image Quality by Camera Signal Adaptation to Lighting Conditions

Automatics Vehicle License Plate Recognition using MATLAB

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

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

P1.4. Light has to go where it is needed: Future Light Based Driver Assistance Systems

CS6670: Computer Vision Noah Snavely. Administrivia. Administrivia. Reading. Last time: Convolution. Last time: Cross correlation 9/8/2009

(SJET) ISSN X

Development of Gaze Detection Technology toward Driver's State Estimation

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

Huang Ke 1,2 *, Weng Ji 1 1 Faculty of Architecture and Urban Planning, Chongqing University, Chongqing,

Image Capture and Problems

Noise Reduction Technique in Synthetic Aperture Radar Datasets using Adaptive and Laplacian Filters

Near Infrared Face Image Quality Assessment System of Video Sequences

Image Processing Based Vehicle Detection And Tracking System

A NOVEL APPROACH FOR CHARACTER RECOGNITION OF VEHICLE NUMBER PLATES USING CLASSIFICATION

CoE4TN4 Image Processing. Chapter 3: Intensity Transformation and Spatial Filtering

FACE RECOGNITION BY PIXEL INTENSITY

Automatic Licenses Plate Recognition System

LED flicker: Root cause, impact and measurement for automotive imaging applications

4D-Particle filter localization for a simulated UAV

License Plate Localisation based on Morphological Operations

An Approach for Reconstructed Color Image Segmentation using Edge Detection and Threshold Methods

Implementation of License Plate Recognition System in ARM Cortex A8 Board

Interpolation of CFA Color Images with Hybrid Image Denoising

A Method of Measuring Distances between Cars. Using Vehicle Black Box Images

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

Removing Temporal Stationary Blur in Route Panoramas

Yue Bao Graduate School of Engineering, Tokyo City University

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

A Recognition of License Plate Images from Fast Moving Vehicles Using Blur Kernel Estimation

Tan-Hsu Tan Dept. of Electrical Engineering National Taipei University of Technology Taipei, Taiwan (ROC)

Vision Review: Image Processing. Course web page:

A Vehicular Visual Tracking System Incorporating Global Positioning System

Computing for Engineers in Python

OPEN CV BASED AUTONOMOUS RC-CAR

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

Automated License Plate Recognition for Toll Booth Application

Applicability and Improvement of Underwater Video Mosaic System using AUV

A DEVELOPED UNSHARP MASKING METHOD FOR IMAGES CONTRAST ENHANCEMENT

1.Discuss the frequency domain techniques of image enhancement in detail.

Automated Number Plate Verification System based on Video Analytics

ROTATION INVARIANT COLOR RETRIEVAL

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

Removal of Gaussian noise on the image edges using the Prewitt operator and threshold function technical

A Simple Skew Correction Method of Sudanese License Plate

A Study of Slanted-Edge MTF Stability and Repeatability

A Real-Time Driving Fatigue Monitoring DSP Device Based On Computing Complexity of Binarized Image

Digital Imaging Systems for Historical Documents

Index Terms: edge-preserving filter, Bilateral filter, exploratory data model, Image Enhancement, Unsharp Masking

Intelligent Nighttime Video Surveillance Using Multi-Intensity Infrared Illuminator

Paper Sobel Operated Edge Detection Scheme using Image Processing for Detection of Metal Cracks

Detection and Verification of Missing Components in SMD using AOI Techniques

Midterm Examination CS 534: Computational Photography

Lane Detection in Automotive

Background Subtraction Fusing Colour, Intensity and Edge Cues

Research on 3-D measurement system based on handheld microscope

MAV-ID card processing using camera images

Image Processing Lecture 4

Transcription:

Proceedings of the 2nd International Conference on Industrial Application Engineering 2014 A Vehicle Speed Measurement System for Nighttime with Camera Yuji Goda a,*, Lifeng Zhang a,#, Seiichi Serikawa a, a Electrical Engineering and Electronics, Kyushu Institute of Technology 1-1 sensui-cho, Tobata-ku, Kitakyushu city, Fukuoka 804-8550, Japan * m108303y@tobata.isc.kyutech.ac.jp # zhang@elcs.kyutech.ac.jp Abstract This research proposes a new vehicle speed measuring approach based on image processing technique. This approach is aimed to improve the vehicle speed measuring accuracy at night. Ordinarily, it is difficult to take a clear image at night by using a low profile digital camera. Thus the image based vehicle speed measuring system for dark environment was not developed by now. In this research, the disadvantage of low profile camera is used for speed measuring. By controlling the shutter speed of camera, a bright line comes from the headlamp of a moving vehicle is appeared in the picture. In this work, an algorithm depend on this feature is developed. Experiment result shows a reasonable measuring value. Keywords: Image, processing, Low profile camera, vehicle speed measurement, shutter speed, line of light. Fig. 1. Image of vehicle running at night. Input the image Calculate a histogram of the image and a weighted average histogram 1. Introduction Detect a maximum difference value point As the amount of traffic increases, the car accidents due to the over speed are occurring frequently. The annual report distributed by Police Traffic Bureau of Japan shows that the 36.2% of fatal traffic accident comes from the over speed[1]. Therefore, it is very important task to make an effort to prevent the over speed car accident occurrence. In the past 30 years, an automatic speed violation control device called ORBIS has been applied. Such a kind of system using loop coil or radar needs a high deployment costs and maintenance cost, and has a drawback that misdetection occurs in some certain situations. Furthermore, many aged devices are fault and left without repairing[2]. In this situation, recently, image processing based vehicle speed measuring techniques are developed actively[7]. Image processing approach can gives a picture record logs, and can helps the analysis of the cause of the accident efficiently. But image processing based speed A right value of the point = x no Is x minus? Shift the point to the right yes Decide a luminance there to a threshold Binarization and Labeling to the image Extract the light line from labeling information Output the length of the line Fig. 1. Flowchart of the light line extraction. DOI: 10.12792/iciae2014.019 82 2014 The Institute of Industrial Applications Engineers, Japan.

measuring system also have problems. Especially for a dark circumstance, the pictures cannot be taken clearly and the measuring accuracy becomes low. In this research, a very new idea is attempted to speed measuring task in the night environment. What we need is a low profile camera, a microcomputer board, and some camera depend parameters like focus depth, imaging area size, etc. Such a construction can yield a low cost system so that it can be applied worldwide. Especially for the newly developing countries, which show a significant increasing rate of vehicle. The main purpose of this research is to improve accuracy of measuring car speed in the night environment. But in a dark circumstance, it is impossible to take a clear and a sharp picture by using a high shutter speed with a low profile camera. Therefore, we take an opposite operation, take a picture of the moving vehicle first by the setting the camera's shutter speed to 1 second. Thereby, because the camera is fixed and the vehicle is moving, the headlight of vehicle observed in the picture becomes a light line as showed in Fig. 1. Next, the positions of the light lines are detected by using an automatic threshold decision algorithm, and then the line are extracted from a picture by using a labelling method. After that the length of the light line is detected. The vehicle speed is calculated from this length finally. Fig. 3. Histogram of Fig. 1. 2 1 2 1 Fig. 4. Histogram of weighted average. 2 1 2. Theory and Method This section explains how to extract the line of light and how to calculate the real distance from the light line length derived from the image. 2.1 Length of the light line The flowchart of the light line extraction is shown Fig. 2. Fig. 1 is an experimental example taken in a real night circumstance. The following processes of proposed method are performed on this picture. In this study, we developed an automatic threshold decision method by using a histogram. (a) Calculate a histogram of the image and its weighted average histogram A histogram is calculated from the picture. The picture of result is Fig. 3. Fig.3 is the red-green-blue (RGB) histogram, and the vertical axis is for the number of pixels, and the horizontal for illumination ranging from 0 to 255. The left histogram in Fig. 3 is blue, the center is green, and the light is red. With the original histogram in Fig. 3 whose Fig. 5. Threshold-processed image of Fig. 1. Image Camera x L θ h L f k Image sensor Fig. 6. Camera setting parameters. θ x 83

values are changing violently in local area like noise, it is difficult to decide a threshold value. To solve this problem, a Gaussian distributed weight function is utilized to get a smoothed histogram. Fig. 4 shows the result of Gaussian weighted histogram of Fig. 3. Similarly the vertical axis is for the number of pixels, and the horizontal for illumination ranging from 0 to 255. The left histogram in Fig. 4 is blue, the center is green, and the light is red. (b) Maximum difference value point detection Applying a differential processing to the weighted average histogram, we can get the highest difference value. This means the maximum slope of the histogram is found, and we use this slope value and its position for threshold value decision. In Fig. 4, the positions pointed by arrow 1 are maxima derivatives of R, G, and B color channels respectively. (c) Threshold decision As we known, the light line has a higher brightness value than other area of the picture in the dark environment like the night. Therefore, we inspect the Gaussian weighted histogram from right side to the left side, and finding the first minus difference value position at the left side of the found maximum difference value in previous step. Then, we decide the luminance value there as a threshold value. The luminance values pointed by arrow 2 shown in Fig. 4 are decided as threshold values of each color channel. (d) Binarization and labeling In order to get rid of non-light line area and detect the light line length, the binarization and labelling processing are performed. Fig. 5 shows the result of binarization processing using threshold which was decided as mentioned above. In Fig. 5, although several non-light lines appear on the picture area, by labelling each separated area, the real running light line can be selected correctly. By calculate the length of the labelled light area, the vehicle speed can be derived. 2.2 Calculate a real dimension of captured picture s width For calculating the real dimension, the relationship of position between the camera and the vehicle shown in Fig. 6 is needed. In Fig. 6, is an altitude of the camera from ground, is an elevator angle of the camera, is a focus distance of the camera, and is a width of an image sensor of the camera. Using these parameters, the real dimension of captured picture width can be calculated by the following formula. First, the Scaled width of image is calculated by following formula, where x = 2L tan x (1) L = cos (2) x = 2 tan 1 ( 2 ) (3) Scaled distance per pixel is obtained from the following equation, p = x m where m is the horizontal pixel number of the imaging sensor. (4) Finally, the vehicle speed v is calculated by the following formula, v = p d (5) where d is the moving light line length. 3. Simulation In order to test the performance of this proposal, a simulation experiment was performed under the following conditions. The system setting information are = 45 [degrees], = 6.2[mm], = 4.3[mm]. = 18[m], The sample1 is Fig. 1. The sample1, the sample2 of Fig. 8, and the sample3 of Fig. 11 is used as the test picture. Fig. 8 is the situation in which came out two line, and Fig. 11 is the situation in which blurred the line due to rain day. Fig., Fig. 9, and Fig. 12 shows the threshold-processed image from the sample1, the sample2, and the sample3. Moreover, Fig. 7, Fig. 10, and Fig. 13 show the extraction-processed image. The extracted line is expressed with green in Fig. 7, Fig. 10, and Fig. 13. We also measure the vehicle speed by using a traditional stopwatch method for evaluation. The distance for stopwatch measuring is 30 meters. The comparing result is shown in Table 1. It seems that the proposed speed measuring approach gives a reasonable value, and it is thought can be used for a practical application. TABLE I THE RESULT THAT CALCULATED THE VEHICLE SPEED. The speed measured by the system[km/h] The speed measured by stopwatch[km/h] Sample1 41.6508 42.1 Sample2 41.65 45 Sample3 37.05 38.54 84

Fig. 7. Extraction of line sample1. Fig. 11 Sample3. Fig. 8. Sample2. Fig. 12. Threshold-processed image of sample3. Fig. 9. Threshold-processed image of sample2. Fig. 13 Extraction of line sample3. 4. Conclusions Fig. 10 Extraction of line sample2. In this research, a new approach for vehicle speed measurement has been proposed. This method is especially developed for night environment. This system could yields a low cost and portable speed measuring equipment. This system has several setting terms. Because the line of light must be straight, this method cannot be used at the curve. Thereby, the setting terms of this system are to put the camera parallel to a straight road. However, this method 85

controls the shutter speed. If the speed is set smaller than 1 second, the length of the light line will become short. Consequently, by changing the shutter speed, this system isn t affected by change of environment. We hope it could contribute to reducing the fatal car accident. But now the picture is taken manually, we still have a lot of future work like making an automatic photo taking function by installing an object detection sensor for shutter timing trigger. We also plan to make a system for the daytime, and to develop a small device which can measure the vehicle speed all time. References (1) Issues and review the status of speed limit http://www.e-stat.go.jp/sg1/estat/pdfdl.do?sinfid=000 023620477, accessed date: 2014/2/6 (2) Huff posted socity, http://www.huffingtonpost.jp/2013/09/21/ orbis_n_3966640.html, (In Janapese), accessed date: 2013/9/30 (3) Burt, Peter, and Edward Adelson. "The Laplacian pyramid as a compact image code." Communications, IEEE Transactions on 31.4, 532-540, 1983 (4) Tomasi, Carlo, and Roberto Manduchi. "Bilateral filtering for gray and color images." Computer Vision Sixth International Conference on. IEEE, 1998. (5) Hu, Weiming, et al. "A survey on visual surveillance of object motion and behaviors." Systems Man and Cybernetics Part C, Applications and Reviews, IEEE Transactions on 34.3, 334-352, 2004. (6) Coifman, Benjamin, et al. "A real-time computer vision system for vehicle tracking and traffic surveillance." Transportation Research Part C, Emerging Technologies 6.4, 271-288, 1998. (7) Cucchiara, Rita, Massimo Piccardi, and Paola Mello. "Image analysis and rule-based reasoning for a traffic monitoring system." Intelligent Transportation Systems, IEEE Transactions on 1.2, 119-130, 2000. 86