Next Article in Journal
Sensing and Modelling Mechanical Response in Large Deformation Indentation of Adherent Cell Using Atomic Force Microscopy
Next Article in Special Issue
Connected Traffic Data Ontology (CTDO) for Intelligent Urban Traffic Systems Focused on Connected (Semi) Autonomous Vehicles
Previous Article in Journal
Intelligent Driving Assistant Based on Road Accident Risk Map Analysis and Vehicle Telemetry
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Research and Implementation of Vehicle Target Detection and Information Recognition Technology Based on NI myRIO

National Key Laboratory for Electronic Measurement Technology, Key Laboratory of Instrumentation Science & Dynamic Measurement (North University of China), Ministry of Education, North University of China, Taiyuan 030051, China
*
Author to whom correspondence should be addressed.
Sensors 2020, 20(6), 1765; https://doi.org/10.3390/s20061765
Submission received: 21 December 2019 / Revised: 23 February 2020 / Accepted: 19 March 2020 / Published: 22 March 2020

Abstract

:
A vehicle target detection and information extraction scheme based on NI (National Instruments) myRIO is designed in this paper. The vehicle information acquisition and processing method based on image recognition is used to design a complete vehicle detection and information extraction system. In the LabVIEW programming environment, the edge detection method is used to realize the vehicle target detection, the pattern matching method is used to realize the vehicle logo recognition, and the Optical Character Recognition (OCR) character recognition algorithm is used to realize the vehicle license plate recognition. The feasibility of the design scheme in this paper is verified through the actual test and analysis. The scheme is intuitive and efficient, with the high recognition accuracy.

1. Introduction

In the current intelligent transportation system (ITS), the accuracy and the efficiency of the real-time vehicle targets detection and vehicle identity recognition become more important with the increasing number of vehicles and the increasingly complex traffic environment [1,2]. Traffic information monitoring technology based on image recognition has become a hot spot in the transportation field in recent years. It collects traffic video by the camera, and uses image recognition and processing technology to identify and process the target area, monitor the traffic condition, and extract traffic information through a certain algorithm, which has the advantages of convenient installation, wide coverage, and high detection accuracy. With the development of computer technology, traffic information detection technology based on image recognition and processing technology has gradually matured and improved, and will be more and more widely used in intelligent transportation systems [3].
Vehicle detection and recognition is a key component of the intelligent transportation system. It has broad application prospects in the fields of traffic guidance, assisted driving system, and road monitoring, and it can provide important clues and evidence for public security cases and traffic accident investigation [4,5]. The current target recognition methods mainly include statistical pattern recognition method, template matching recognition method, model recognition method, neural network recognition method, fuzzy set recognition method, and edge detection method [5,6,7]. The edge detection method based on Canny operator is used in this paper. It has a small amount of calculation and high recognition accuracy, and can effectively remove noise and improve recognition reliability [8]. Moreover, its compatibility with NI myRIO is better.
At present, the recognition of vehicle identity still relies mainly on license plate information [9]. The license plate recognition system has become the key to the development of smart cities such as vehicle management, stolen vehicle surveys, and traffic monitoring. When a deck car appears, or the license plate is blocked, vehicle recognition relying solely on the license plate will be ineffective [10]. Therefore, vehicle color and logo are added to vehicle identity recognition. The vehicle recognition method adopted in this paper is based on license plate and supplemented by vehicle color and vehicle logo information, which makes up for the deficiencies in the traditional license plate recognition and greatly improves the accuracy and reliability of the vehicle identity recognition. Thereby, it further improves the reliability of the intelligent transportation system.
In general, color recognition is mainly divided into two steps: (1) color feature extraction and (2) feature classification and matching. Color feature extraction refers to that the color information of the image is statistically analyzed, and is expressed by the feature vector. Feature classification and matching refers to that based on the expression of the given image color, the color category of the image is predicted by a classification or matching algorithm, such as nearest neighbor search, neural network, and support vector machine. From the earliest proposal of using color histogram as a feature to match the existing library, to the proposal of using color invariant moment to describe the color information of the whole object, and then to the proposal of extracting the color feature from the local region of the object to replace the global region, color classification and matching technology has been gradually improved and matured [11]. The vehicle color recognition method based on NI Vision Assistant color classification function is adopted in this paper, which is intuitive, efficient, easy to implement, and has good recognition accuracy.
At present, there are a few researches on the vehicle logo recognition technique, which is a new research direction of vehicle recognition technology. The vehicle logo recognition technique can be widely used in the field of automated safety management, such as criminal vehicle search, traffic accident handling, and illegal vehicle monitoring. However, it is still difficult to develop and implement a complete vehicle logo recognition technique due to the unfixed position, different sizes and various types of the vehicle logo, and the different external environmental conditions. A vehicle logo recognition algorithm based on convolutional neural network is proposed in [12]. The algorithm consists of two parts: knowledge base and inference engine. Its recognition accuracy is good, but the recognition speed is slow and cannot correctly depict the contour features when dealing with the tilted vehicle logo, which has certain influence on recognition. A vehicle logo recognition method based on HOG (Histogram of Oriented Gradient) and PCA (Principal Component Analysis) is proposed in [13]. It uses HOG features in combination with a multiclass SVM (Support Vector Machine) to deal with logo recognition, and the accurate recognition results are obtained. The classification function of KNN (K-nearest neighbor) algorithm based on machine vision is used for training and recognition in this paper. Its recognition speed is fast, the accuracy is high, and a variety of simple vehicle logo can be recognized at the same time.
With the improvement of computer performance and the development of computer vision technology, the research on the license plate recognition technique has gradually developed towards a systematic direction. License plate recognition is an image processing technological solution that captures images of license plates of vehicles, and it segments the characters from the plate area by detecting and extracting the license plate, and then, it displays the license plate information by using feature extraction of the character recognition technique [14]. An improved technique of OCR (Optical Character Recognition)-based license plate recognition using neural network trained dataset of object features is proposed and is compared with the existing methods for improving accuracy in [15]. The license plate recognition scheme based on OCR character recognition algorithm in NI Vision Assistant is adopted in this paper, which realizes the correct recognition of license plates with white characters on a blue background with a length of 8 characters. In the complex environment background, the results of the license plate position recognition and extraction are ideal, the accuracy of character recognition is high, and the recognition effect to the license plate with a large tilting angle is also good.
The purpose of this paper is to design a mobile platform for intelligent transportation systems to achieve vehicle target detection and vehicle information acquisition. NI myRIO is used as the hardware platform and LabVIEW is used as the software platform in this mobile platform. The information of vehicle target is acquired by an industrial camera, and the target detection of the vehicle and the extraction of the vehicle information are simultaneously performed. Finally, the detection result and the acquired information are outputted and displayed.

2. Materials and Methods

The overall flow of vehicle detection and information extraction based on NI myRIO can be observed from the system block diagram in Figure 1. The image input used DH-HV3151UC industrial camera and the main controller was myRIO-s1900 of National Instruments. The DH-HV3151UC industrial camera was a color area array CMOS image sensor with a resolution of 3.1 million pixels, supporting continuous acquisition, external trigger, and soft trigger acquisition. It had a standard USB 2.0 interface that supported hot swap, a DirectX compatible device driver, and a software interface that could be directly recognized by HALCON, LabVIEW, and other software. The core chip of NI myRIO was Xilinx Zynq, which integrated a 667 MHz dual-core ARM Cortex-A9 and an FPGA with 28k logic units, 80 DSP slices, and 16 DMA channels, and an integrated USB host for connecting external devices.
Specifically, the edge detection method was used to implement vehicle target detection, the color classification function was used to implement vehicle color recognition, the pattern recognition method was used to implement vehicle logo recognition, and the OCR character recognition algorithm was used to implement vehicle license plate recognition in real time on NI myRIO. Real-time image data acquisition and processing were realized through the LabVIEW software platform, and the output data were displayed on PC or mobile devices.

3. Vehicle Target Detection Scheme and Implementation

3.1. Edge Detection Method

The edge of the image refers to the part of the image where the brightness of the local area changes significantly in the digital image. The edge mainly exists between the target and the target, and between the target and the background. It is an important basis for image analysis such as image texture feature extraction and shape feature extraction. Most of the image information is concentrated in the edge of the image. The determination and extraction of the image edge are very important for recognition and analysis of the entire image scene, and they are also an important feature for the image segmentation. Edge detection is mainly the measurement, detection, and localization of grayscale changes of the image. The edge detection is used to detect the vehicle target in this paper. Its advantage is low computational load and high recognition accuracy, and it can be well adapted to NI myRIO environment.
The common edge detection operators in NI Vision Assistant include Laplacian operator, Diff operator, Sobel operator, Roberts operator, and Canny operator, and each of them has a different algorithm. Canny edge detection uses the first-order differentiation of the Gaussian function, which can balance the noise suppression and edge detection process well. Therefore, Canny operator is used to extract the image edge in this paper in order to obtain better edge detection performance.
The two-dimensional Gaussian function is:
G ( x , y ) = 1 2 π σ 2 e x p ( x 2 + y 2 2 σ 2 ) .
In order to improve the operation speed, the convolution ∇G can be decomposed into two one-dimensional row and column filters:
G x = kxexp ( x 2 2 σ 2 ) exp ( y 2 2 σ 2 ) = h 1 ( x ) h 2 ( y ) ,
G y = k y e x p ( y 2 2 σ 2 ) e x p ( x 2 2 σ 2 ) = h 1 ( y ) h 2 ( x ) ,
where h 1 ( x ) = k x e x p ( x 2 2 σ 2 ) , h 1 ( y ) = k y e x p ( y 2 2 σ 2 ) , h 2 ( x ) = k e x p ( x 2 2 σ 2 ) , h 2 ( y ) = k e x p ( y 2 2 σ 2 ) , and k is a constant.
Then, calculate the convolution of Equation (2) and f ( x , y ) of the image, and Equation (3) and f ( x , y ) of the image, respectively.
P x = G ( x , y , σ ) x f ( x , y ) ,
P y = G ( x , y , σ ) y f ( x , y ) .
Then, the edge strength A and the direction α can be obtained, as shown in Equations (6) and (7).
A ( i , j ) = P x 2 ( i , j ) + P y 2 ( i , j ) ,
α ( i , j ) = a r c t a n P y ( i , j ) P x ( i , j ) .

3.2. Vehicle Target Recognition Method

The vehicle target recognition algorithm in this paper mainly includes image graying processing, morphology processing and two edge detection based on Canny operator. The flowchart of vehicle target recognition scheme is shown in Figure 2.
The specific steps are as follows: First, extract the luminance plane and grayscale the image. Morphology processing uses 3 × 3 corrosion of the regular octagon to make one iteration. Then, make the edge detection twice, which is from right to left and left to right. If both sides of the vehicle are detected, it is regarded as the vehicle target detected. The edge detection parameter settings are shown in Figure 3, the vehicle target recognition program block diagram is shown in Figure 4.

4. Vehicle Color Recognition Scheme and Implementation

The vehicle color recognition method based on the color classification function of NI Vision Assistant is used in this paper. First, create a color sample class and color samples using NI Vision Assistant. The number of color samples should not be too small or too large, so each group of color classes adds 5–10 samples under different light. The sensitivity color recognition based on brightness is adopted for sample recognition. The nearest neighbor training algorithm is used for sample training. The color recognition process outputs each color recognition score and displays the result with the highest score, thereby realizing the recognition of eight colors of red, yellow, green, cyan, blue, purple, black, and white. The program block diagram of color recognition is shown in Figure 5. The eight color recognition results are shown in Figure 6.

5. Vehicle Logo Recognition Scheme and Implementation

5.1. Classification Algorithm Introduction

The KNN algorithm is called K-nearest neighbor, and it is a no parent statistical method proposed by Cover and Hart in 1968 for classification and regression. Classification is made by measuring the distance between different eigenvalues in KNN. The specific method is that if the majority of the K most similar samples of a sample, which is also the nearest, in a feature space belong to a certain category, that sample also belongs to this category, where K is usually an integer not greater than 20. In the KNN algorithm, the selected neighbors are all objects that have been correctly classified.
When the data and labels in the training set are known, enter the test data. Compare the features of the test data with the features corresponding to the training set to find the top K data most similar to the test data, and the category that the test data corresponding to is the one with the most occurrences among the K data. The algorithm steps are:
(1)
Calculate the distance between the test data and each training data;
(2)
Sorting according to the increasing relationship of distances;
(3)
Select the K points with the small distance;
(4)
Determine the occurrence frequency of the category of the first K points;
(5)
Return the category with the highest frequency among the top K points as the prediction category of the test data.
In the KNN algorithm, there are three commonly used distances, namely, Manhattan distance, Euclidean distance, and Minkowski distance.
Let the feature space X be an n-dimensional real number vector space. x i , x j X , x i = ( x i ( 1 ) , x i ( 2 ) , , x i ( n ) ) T , x j = ( x j ( 1 ) , x j ( 2 ) , , x j ( n ) ) T , and the distance L p of x i , x j is defined as
L p ( x i , x j ) = ( l = 1 n | x i ( l ) x j ( l ) | p ) 1 p ,
here p ≥ 1.
When p = 1, it is called Manhattan distance, and the formula is:
L 1 ( x i , x j ) = l = 1 n | x i ( l ) x j ( l ) | .
When p = 2, it is called Euclidean distance, and the formula is:
L 2 ( x i , x j ) = ( l = 1 n | x i ( l ) x j ( l ) | 2 ) 1 2 .
When p = ∞, it is the maximum value of each coordinate distance, and the formula is:
L ( x i , x j ) = m a x l | x i ( l ) x j ( l ) | .

5.2. Vehicle Logo Recognition Scheme

The vehicle logo recognition based on pattern matching is adopted in this paper, which is divided into three parts: the production of library files, the preprocessing of images, and the recognition display of vehicle logos. The production library file includes the creation of the library file, addition and deletion of the vehicle logo sample, as shown in Figure 7 and Figure 8. The vehicle logo images in different lights are added to the sample library trained by a classification function based on the KNN algorithm.
Image preprocessing uses grayscale corrosion and then binarization. The classification function in pattern matching is used to compare important features with the features of the known object category. The preprocessing and vehicle logo recognition process is shown in Figure 9. First, the acquired image is preprocessed and the brightness plane is extracted to convert the 32-bit color image into an 8-bit grayscale image. Then, carry out corrosion operations to the image by using 5 5 corrosion of the square and make three iterations, as shown in Figure 10. Then, carry out the image binarization. Set the gray value of the pixel with the gray value from 0 to 127 to 0, and the rest to 255, as shown in Figure 11. Pattern matching and vehicle logo recognition are performed by the classification function and the matching result is judged. After multiple tests, when the test value is 700, the identification requirements can be met. So, the result of the score greater than or equal to test value is output. The recognition of Honda, Toyota, Volkswagen, Mercedes-Benz, and other vehicle logos is realized. The overall program block diagram of the vehicle logo recognition is shown in Figure 12, and the recognition results are shown in Figure 13.

6. License Plate Recognition Scheme and Implementation

6.1. OCR Character Recognition

The OCR (Optical Character Recognition) technique refers to that an electronic device, such as a scanner or digital camera, checks the character printed on paper, determines its shape by detecting dark and bright patterns, and then translates the shape into computer characters by character recognition.

6.2. License Plate Recognition Scheme

The license plate recognition scheme mainly includes image acquisition, image preprocessing, license plate position extraction, character segmentation, and character recognition. The license plate recognition scheme based on OCR character recognition algorithm in NI Vision Assistant is used in this design. The design flow chart of license plate recognition is shown in Figure 14, and the design flow chart of OCR character recognition is shown in Figure 15.
Image preprocessing: It includes binarization, removal of noise interference, particle filtering and morphological transformation processing operations of dynamically acquired images. First, the color image is binarized. The value of the pixels in the HSL(Hue Saturation Lightness) plane with a tone value of 150–180 and saturation value of 20–180 are replaced with white, and the others are replaced with black. Then the image is denoised. The IMAQ RemoveParticle VI function is used to carry out particle detection in connection mode 8. The number of corrosion operations is 8, and the shape is octagonal. Then, the particle is filtered to remove the interference particles. Finally, a 3 3 octagon corrosion operation is carried out to the image, and the number of iterations is 2. The program block diagram is shown in Figure 16.
License plate position extraction: The background of vehicle images is often complicated in the natural environment, so how to determine the license plate position and extract the license plate position information is the key to the entire license plate recognition. In this paper, the license plate position is determined by detecting the blue edge of the license plate and the license plate is segmented from the image. The IMAQ Particle Analysis VI function is used to carry out particle analysis to the preprocessed image, and the boundary pixel value of the license plate area is extracted. The license plate positioning results are shown in Figure 17.
Character recognition and verification: The OCR character recognition algorithm is used in character segmentation and character recognition in this paper. First, train the OCR character library, and save the trained character template as a file. The character training interface is shown in Figure 18, and the training result is shown in Figure 19. When the character is recognized, the characters of the license plate is compared with that in the character template. The result closest to the character template is output, and the license plate information is displayed. The character recognition parameter settings are shown in Figure 20. In the verification, the errors and the recognition results with “?” are eliminated, realizing the correct recognition of license plates with white characters on a blue background with a length of 8 characters. The results of the license plate position recognition and extraction are ideal and the accuracy of the character recognition is also high. The main program block diagram of license plate recognition is shown in Figure 21, and the recognition results are shown in Figure 22.

7. System Integration and Performance Analysis

After each module of the vehicle target detection and information extraction system is completed, the whole system is integrated. The whole image is partitioned into three regions and marked with red lines. The program block diagram of image segmentation and extraction is shown in Figure 23, and the results are shown in Figure 24 and Figure 25.
The user-defined button of NI myRIO is used to control the program to run in the system. When the button is released, the vehicle target detection is carried out. When the button is pressed, the vehicle information extraction and recognition function is carried out to identify the color, logo, and license plate information of the vehicle, and the real-time images and recognition results are displayed on the front panel. LED0~LED2 are used to display the real-time status of the system program. When the vehicle target detection program is running, LED0 lights up. When the vehicle information extraction and recognition program is running, LED1 lights up. When there is a car coming, LED2 lights up, whereas LED2 goes out when there is no car coming. The recognition result is shown in Figure 26, and the overall system program block diagram is shown in Figure 27.

8. Conclusions

The vehicle detection and information extraction system in this paper uses the NI myRIO hardware platform to realize vehicle target detection based on edge detection, vehicle color recognition based on color classification function, vehicle logo recognition based on pattern matching, and license plate recognition based on OCR character recognition algorithm. The system can detect the vehicle target in real time, and determine the vehicle identity according to the color, logo, and license plate information of the vehicle. The recognition speed and accuracy are nice. The development cycle is shortened and the scalability is good by using the visual component LabVIEW programming environment.
The system will be expanded and optimized in the future for more vehicle target processing tasks, including target object segmentation, target object tracking, deep learning, and so on, to further improve the system’s functions and performance.

Author Contributions

All work with relation to this paper has been accomplished by all authors’ efforts. The idea was proposed and conceptualized by H.W. The final draft of the article was reviewed and edited by S.H. The original draft was written by J.Y. The test work was completed by H.W., S.H. and J.Y. The data curation and formal analysis were done with the help of L.W. and T.L. All authors have read and agreed to the published version of the manuscript.

Funding

The Fund for Shanxi ‘1331 Project’ Key Subject Construction(1331KSC); the open project of Key Laboratory of Mcro Opto-electro Mechanical System Technology, Tianjin University, Ministry of Education; the open project of Key Laboratory of Dynamic Measurement (North University of China), Ministry of Education, North University of China; the Major State Basic Research Development Program of China (2016YFC0101900).

Conflicts of Interest

The authors declare that there is no conflict of interest.

References

  1. Morris, B.T.; Cuong, T.; Scora, G.; Trivedi, M.M.; Barth, M.J. Real-Time Video-Based Traffic Measurement and Visualization System for Energy/Emissions. IEEE Trans. Intell. Transp. Syst. 2012, 13, 1667–1678. [Google Scholar] [CrossRef]
  2. Nandyal1, S.; Patil, P. Vehicle Detection and Traffic Assessment Using Images. Int. J. Comput. Sci. Mob. Comput. 2013, 2, 8–17. [Google Scholar]
  3. Song, H.; Zhang, X.; Zheng, B.; Yan, T. Vehicle Detection Based on Deep Learning in Complex Scene. Appl. Res. Comput. 2018, 35, 1270–1273. [Google Scholar]
  4. Cho, H.; Hwang, S.Y. High-Performance On-Road Vehicle Detection with Non-Biased Cascade Classifier by Weight-Balanced Training. EURASIP J. Image Video Process. 2015, 1, 1–7. [Google Scholar] [CrossRef] [Green Version]
  5. Hadavi, M.; Shafahi, Y. Vehicle Identification Sensor Models for Origin-Destination Estimation. Transp. Res. Part B Methodol. 2016, 89, 82–106. [Google Scholar] [CrossRef]
  6. Mu, K.; Hui, F.; Zhao, X. Multiscale Edge Fusion for Vehicle Detection Based on Difference of Gaussian. Opt.-Int. J. Light Electron Opt. 2016, 127, 4794–4798. [Google Scholar] [CrossRef]
  7. Nur, S.A.; Ibrahim, M.M.; Ali, N.M.; Nur, F.I.Y. Vehicle Detection Based on Underneath Vehicle Shadow Using Edge Features. In Proceedings of the 2016 6th IEEE International Conference on Control System, Computing and Engineering (ICCSCE), Batu Ferringhi, Malaysia, 25–27 November 2016; pp. 407–412. [Google Scholar]
  8. Yuan, L.; Xu, X. Adaptive Image Edge Detection Algorithm Based on Canny Operator. In Proceedings of the 2015 4th International Conference on Advanced Information Technology and Sensor Application (AITS), Harbin, China, 21–23 August 2015; pp. 28–31. [Google Scholar]
  9. Wang, C.-M.; Liu, J.-H. License Plate Recognition System. In Proceedings of the 2015 12th International Conference on Fuzzy Systems and Knowledge Discovery (FSKD), Zhangjiajie, China, 15–17 August 2015; pp. 1708–1710. [Google Scholar]
  10. Zhao, W.; Li, X.; Wang, P. Study on Vehicle Target Detection Method in Gas Station Complex Environment. For. Eng. 2014, 30, 74–79. [Google Scholar]
  11. Chen, P. Research on Vehicle Color Recognition in Natural Scene. Master’s Thesis, Huazhong University of Science and Technology, Wuhan, China, 2016. [Google Scholar]
  12. Huang, Y.; Wu, R.; Sun, Y.; Wang, W.; Ding, X. Vehicle Logo Recognition System Based on Convolutional Neural Networks with a Pretraining Strategy. IEEE Trans. Intell. Transp. Syst. 2015, 16, 1951–1960. [Google Scholar] [CrossRef]
  13. Llorca, D.F.; Arroyo, R.; Sotelo, M.A. Vehicle logo recognition in traffic images using HOG features and SVM. In Proceedings of the 16th International IEEE Conference on Intelligent Transportation Systems (ITSC 2013), The Hague, The Netherlands, 6–9 October 2013; pp. 2229–2234. [Google Scholar]
  14. Tejas, B.; Omkar, D.; Rutuja, D.; Prajakta, K.; Bhakti, P. Number plate recognition and document verification using feature extraction OCR algorithm. In Proceedings of the 2017 International Conference on Intelligent Computing and Control Systems (ICICCS), Madurai, India, 15–16 June 2017; pp. 1317–1320. [Google Scholar]
  15. Kakani, B.V.; Gandhi, D.; Jani, S. Improved OCR based automatic vehicle number plate recognition using features trained neural network. In Proceedings of the 2017 8th International Conference on Computing, Communication and Networking Technologies (ICCCNT), Delhi, India, 3–5 July 2017; pp. 1–6. [Google Scholar]
Figure 1. Overall design of vehicle target detection and information extraction system.
Figure 1. Overall design of vehicle target detection and information extraction system.
Sensors 20 01765 g001
Figure 2. Flowchart of vehicle target recognition scheme.
Figure 2. Flowchart of vehicle target recognition scheme.
Sensors 20 01765 g002
Figure 3. Edge detection parameter settings: (a) from right to left and (b) from left to right.
Figure 3. Edge detection parameter settings: (a) from right to left and (b) from left to right.
Sensors 20 01765 g003
Figure 4. Program block diagram of vehicle target recognition.
Figure 4. Program block diagram of vehicle target recognition.
Sensors 20 01765 g004
Figure 5. Program block diagram of color recognition.
Figure 5. Program block diagram of color recognition.
Sensors 20 01765 g005
Figure 6. Color recognition results: (a) white, (b) black, (c) red, (d) blue, (e) yellow, (f) green, (g) cyan, and (h) purple.
Figure 6. Color recognition results: (a) white, (b) black, (c) red, (d) blue, (e) yellow, (f) green, (g) cyan, and (h) purple.
Sensors 20 01765 g006
Figure 7. Program block diagram. (a) creation of library files and (b) deletion of the library files.
Figure 7. Program block diagram. (a) creation of library files and (b) deletion of the library files.
Sensors 20 01765 g007
Figure 8. Program block diagram of addition of the sample.
Figure 8. Program block diagram of addition of the sample.
Sensors 20 01765 g008
Figure 9. Process of preprocessing and vehicle logo recognition.
Figure 9. Process of preprocessing and vehicle logo recognition.
Sensors 20 01765 g009
Figure 10. Corrosion operation: (a) before and (b) after.
Figure 10. Corrosion operation: (a) before and (b) after.
Sensors 20 01765 g010
Figure 11. Binarization: (a) before and (b) after.
Figure 11. Binarization: (a) before and (b) after.
Sensors 20 01765 g011
Figure 12. Overall program block diagram of the vehicle logo recognition.
Figure 12. Overall program block diagram of the vehicle logo recognition.
Sensors 20 01765 g012
Figure 13. Vehicle logo recognition results: (a) Honda, (b) Toyota, (c) Volkswagen, and (d) Mercedes-Benz.
Figure 13. Vehicle logo recognition results: (a) Honda, (b) Toyota, (c) Volkswagen, and (d) Mercedes-Benz.
Sensors 20 01765 g013
Figure 14. Design flow chart of license plate recognition.
Figure 14. Design flow chart of license plate recognition.
Sensors 20 01765 g014
Figure 15. Design flow chart of Optical Character Recognition (OCR) character recognition.
Figure 15. Design flow chart of Optical Character Recognition (OCR) character recognition.
Sensors 20 01765 g015
Figure 16. Program block diagram: (a) binarization, (b) denoising, (c) particle filter, and (d) corrosion operation.
Figure 16. Program block diagram: (a) binarization, (b) denoising, (c) particle filter, and (d) corrosion operation.
Sensors 20 01765 g016
Figure 17. License plate positioning results: (a) Position 1, (b) Position 2, (c) Position 3, and (d) Position 4.
Figure 17. License plate positioning results: (a) Position 1, (b) Position 2, (c) Position 3, and (d) Position 4.
Sensors 20 01765 g017
Figure 18. Character training interface.
Figure 18. Character training interface.
Sensors 20 01765 g018
Figure 19. Character training result.
Figure 19. Character training result.
Sensors 20 01765 g019
Figure 20. Character recognition parameter settings.
Figure 20. Character recognition parameter settings.
Sensors 20 01765 g020
Figure 21. Main program block diagram of license plate recognition.
Figure 21. Main program block diagram of license plate recognition.
Sensors 20 01765 g021
Figure 22. License plate recognition results: (a) License Plate 1 and (b) License Plate 2.
Figure 22. License plate recognition results: (a) License Plate 1 and (b) License Plate 2.
Sensors 20 01765 g022
Figure 23. Program block diagram of image segmentation and extraction.
Figure 23. Program block diagram of image segmentation and extraction.
Sensors 20 01765 g023
Figure 24. Image segmentation result.
Figure 24. Image segmentation result.
Sensors 20 01765 g024
Figure 25. Image extraction result.
Figure 25. Image extraction result.
Sensors 20 01765 g025
Figure 26. Overall system recognition results: (a) Vehicle 1 and (b) Vehicle 2.
Figure 26. Overall system recognition results: (a) Vehicle 1 and (b) Vehicle 2.
Sensors 20 01765 g026
Figure 27. Overall system program block diagram.
Figure 27. Overall system program block diagram.
Sensors 20 01765 g027

Share and Cite

MDPI and ACS Style

Wang, H.; He, S.; Yu, J.; Wang, L.; Liu, T. Research and Implementation of Vehicle Target Detection and Information Recognition Technology Based on NI myRIO. Sensors 2020, 20, 1765. https://doi.org/10.3390/s20061765

AMA Style

Wang H, He S, Yu J, Wang L, Liu T. Research and Implementation of Vehicle Target Detection and Information Recognition Technology Based on NI myRIO. Sensors. 2020; 20(6):1765. https://doi.org/10.3390/s20061765

Chicago/Turabian Style

Wang, Hongliang, Shuang He, Jiashan Yu, Luyao Wang, and Tao Liu. 2020. "Research and Implementation of Vehicle Target Detection and Information Recognition Technology Based on NI myRIO" Sensors 20, no. 6: 1765. https://doi.org/10.3390/s20061765

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop