Real-Time Vehicle Make and Model Recognition System
Abstract
:1. Introduction
- Image acquisition in an outdoor environment.
- Varying and uncontrolled illumination conditions.
- Varying and uncontrolled weather conditions.
- Occlusion, shadows, and reflections in captured images.
- A wide variety of available vehicle appearances.
- Visual similarities between different models of different manufacturers.
- Visual similarities between different models of the same manufacturer.
- Tiny differences depending on the generation (group of consecutive manufacturing years).
2. Literature Review
2.1. Vehicle Detection
2.2. Vehicle Type Recognition
2.3. Vehicle Make and Model Recognition
3. Materials and Methods
3.1. Dataset
- The dataset contains images of stationary and moving vehicles with a speed up to 65 km/h.
- The dataset images contain vehicles with several viewing angles ranging from degrees to degrees relative to a scene directly from the front of a vehicle.
- The dataset images are captured throughout daytime and nighttime.
- The dataset is created with varying weather conditions between sunny, rainy and cloudy.
- Some of the vehicles are partially occluded by an irrelevant object like a pedestrian.
3.2. Hardware and Software Platform
3.3. Methodology
3.4. Feature Extraction and Representation
3.4.1. Histogram of Oriented Gradients
3.4.2. Gist Feature Descriptor
3.5. Classification
3.5.1. Support Vector Machine
3.5.2. Random Forest
4. Results and Discussion
5. Conclusions and Future Work
Author Contributions
Conflicts of Interest
References
- Available online: http://www.greencarreports.com/news/1093560_1-2-billion-vehicles-on-worlds-roads-now-2-billion-by-2035-report (accessed on 5 June 2017).
- Available online: https://www.weforum.org/agenda/2016/04/the-number-of-cars-worldwide-is-set-to-double-by-2040 (accessed on 5 June 2017).
- Available online: https://commons.wikimedia.org/wiki/File:China_cross-border_Guangdong-Macau_registration_plate_%E7%B2%A4Z_D100%E6%BE%B3.jpg (accessed on 14 April 2019). (licensed under CC BY-SA 2.5).
- Available online: https://commons.wikimedia.org/wiki/File:Damaged_Ontario_DCDM236.JPG (accessed on 14 April 2019). (licensed under CC BY-SA 4.0).
- Manzoor, M.A.; Morgan, Y. Vehicle Make and Model classification system using bag of SIFT features. In Proceedings of the 2017 IEEE 7th Annual IEEE Computing and Communication Workshop and Conference (CCWC), Las Vegas, NV, USA, 9–11 January 2017. [Google Scholar]
- Huang, B.-J.; Hsieh, J.-W.; Tsai, C.-M. Vehicle Detection in Hsuehshan Tunnel Using Background Subtraction and Deep Belief Network. In Asian Conference on Intelligent Information and Database Systems; Springer: Cham, Switzerland, 2017. [Google Scholar]
- Lu, X.; Izumi, T.; Takahashi, T.; Wang, L. Moving vehicle detection based on fuzzy background subtraction. In Proceedings of the 2014 IEEE International Conference on Fuzzy Systems (FUZZ-IEEE), Beijing, China, 6–11 July 2014. [Google Scholar]
- Faro, A.; Giordano, D.; Spampinato, C. Adaptive background modeling integrated with luminosity sensors and occlusion processing for reliable vehicle detection. IEEE Trans. Intell. Transp. Syst. 2011, 12, 1398–1412. [Google Scholar] [CrossRef]
- Chen, L.-C.; Chen, J.-W.; Yan, Y.; Chen, D.-Y. Vehicle make and model recognition using sparse representation and symmetrical SURFs. Pattern Recognit. 2015, 48, 1979–1998. [Google Scholar] [CrossRef]
- Sivaraman, S.; Trivedi, M.M. Looking at vehicles on the road: A survey of vision-based vehicle detection, tracking, and behavior analysis. IEEE Trans. Intell. Transp. Syst. 2013, 14, 1773–1795. [Google Scholar] [CrossRef]
- Wang, R.; Zhang, L.; Xiao, K.; Sun, R.; Cui, L. EasiSee: Real-time vehicle classification and counting via low-cost collaborative sensing. IEEE Trans. Intell. Transp. Syst. 2014, 15, 414–424. [Google Scholar] [CrossRef]
- Dong, Z.; Wu, Y.; Pei, M.; Jia, Y. Vehicle type classification using a semisupervised convolutional neural network. IEEE Trans. Intell. Transp. Syst. 2015, 16, 2247–2256. [Google Scholar] [CrossRef]
- Fu, H.; Ma, H.; Liu, Y.; Lu, D. A vehicle classification system based on hierarchical multi-SVMs in crowded traffic scenes. Neurocomputing 2016, 211, 182–190. [Google Scholar] [CrossRef]
- Irhebhude, M.E.; Amin, N.; Edirisinghe, E.A. View invariant vehicle type recognition and counting system using multiple features. Int. J. Comput. Vis. Signal Process. 2016, 6, 20–32. [Google Scholar]
- Lowe, D.G. Object recognition from local scale-invariant features. In Proceedings of the Seventh IEEE International Conference on Computer Vision; IEEE: New York, NY, USA, 1999; Volume 2. [Google Scholar]
- Bay, H.; Ess, A.; Tuytelaars, T.; Van Gool, L. Speeded-up robust features (SURF). Comput. Vis. Image Underst. 2008, 110, 346–359. [Google Scholar] [CrossRef]
- Dalal, N.; Triggs, B. Histograms of oriented gradients for human detection. In Proceedings of the 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, CVPR 2005, San Diego, CA, USA, 20–25 June 2005; Volume 1. [Google Scholar]
- Siddiqui, A.J.; Mammeri, A.; Boukerche, A. Real-time vehicle make and model recognition based on a bag of SURF features. IEEE Trans. Intell. Transp. Syst. 2016, 17, 3205–3219. [Google Scholar] [CrossRef]
- Boonsim, N.; Prakoonwit, S. Car make and model recognition under limited lighting conditions at night. Pattern Anal. Appl. 2017, 20, 1195–1207. [Google Scholar] [CrossRef]
- Petrovic, V.S.; Cootes, T.F. Analysis of Features for Rigid Structure Vehicle Type Recognition. BMVC 2004, 2. [Google Scholar] [CrossRef]
- Pearce, G.; Pears, N. Automatic make and model recognition from frontal images of cars. In Proceedings of the 2011 8th IEEE International Conference on Advanced Video and Signal-Based Surveillance (AVSS), Klagenfurt, Austria, 30 August–2 September 2011. [Google Scholar]
- Varjas, V.; Tanács, A. Car recognition from frontal images in mobile environment. In Proceedings of the 2013 8th International Symposium on Image and Signal Processing and Analysis (ISPA), Trieste, Italy, 4–6 September 2013. [Google Scholar]
- Clady, X.; Negri, P.; Milgram, M.; Poulenard, R. Multi-class vehicle type recognition system. Lect. Notes Comput. Sci. 2008, 5064, 228–239. [Google Scholar]
- Munroe, D.T.; Madden, M.G. Multi-class and single-class classification approaches to vehicle model recognition from images. In Proceedings of the 16th Irish Conference on Artificial Intelligence and Cognitive Science (AICS 2005), Portstewart, Northern Ireland, September 2005. [Google Scholar]
- Dlagnekov, L.; Belongie, S.J. Recognizing Cars; Department of Computer Science and Engineering, University of California: San Diego, CA, USA, 2005. [Google Scholar]
- Baran, R.; Glowacz, A.; Matiolanski, A. The efficient real-and non-real-time make and model recognition of cars. Multimedia Tools Appl. 2015, 74, 4269–4288. [Google Scholar] [CrossRef]
- Fraz, M.; Edirisinghe, E.A.; Sarfraz, M.S. Mid-level-representation based lexicon for Vehicle Make and Model Recognition. In Proceedings of the 2014 22nd International Conference on Pattern Recognition (ICPR), Stockholm, Sweden, 24–28 August 2014. [Google Scholar]
- Psyllos, A.; Anagnostopoulos, C.-N.; Kayafas, E. Vehicle model recognition from frontal view image measurements. Comput. Stand. Interfaces 2011, 33, 142–151. [Google Scholar] [CrossRef]
- Jang, D.M.; Turk, M. Car-Rec: A real time car recognition system. In Proceedings of the 2011 IEEE Workshop on Applications of Computer Vision (WACV), Kona, Hawaii, 5–7 January 2011. [Google Scholar]
- Hsieh, J.-W.; Chen, L.-C.; Chen, D.-Y. Symmetrical SURF and its applications to vehicle detection and vehicle make and model recognition. IEEE Trans. Intell. Transp. Syst. 2014, 15, 6–20. [Google Scholar] [CrossRef]
- Boyle, J.; Ferryman, J. Vehicle subtype, make and model classification from side profile video. In Proceedings of the 2015 12th IEEE International Conference on Advanced Video and Signal Based Surveillance (AVSS), Karlsruhe, Germany, 25–28 August 2015. [Google Scholar]
- Available online: http://vbie.eic.nctu.edu.tw/en/introduction (accessed on 05 January 2017 ).
- Available online: http://mmplab.cs.ntou.edu.tw/MMR/ (accessed on 23 July 2016).
- Manzoor, M.A.; Morgan, Y. Vehicle make and model recognition using random forest classification for intelligent transportation systems. In Proceedings of the 2018 IEEE 8th Annual Computing and Communication Workshop and Conference (CCWC), Las Vegas, NV, USA, 8–10 January 2018. [Google Scholar]
- Oliva, A. Gist of the scene. Neurobiol. Atten. 2005, 696, 251–258. [Google Scholar]
- Oliva, A.; Torralba, A. Modeling the shape of the scene: A holistic representation of the spatial envelope. Int. J. Comput. Vis. 2001, 42, 145–175. [Google Scholar] [CrossRef]
- Wolpert, D.H. The lack of a priori distinctions between learning algorithms. Neural Comput. 1996, 8, 1341–1390. [Google Scholar] [CrossRef]
- Burges, C.J.C. A tutorial on support vector machines for pattern recognition. Data Min. Knowl. Discov. 1998, 2, 121–167. [Google Scholar] [CrossRef]
- Vapnik, V. The Nature of Statistical Learning Theory; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2013. [Google Scholar]
- Devroye, L.; Györfi, L.; Lugosi, G. A Probabilistic Theory Of Pattern Recognition; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2013; Volume 31. [Google Scholar]
- Weston, J. Support Vector Machine (And Statistical Learning Theory) Tutorial; NEC Labs America: Princeton, NJ, USA, 1998. [Google Scholar]
- Vapnik, V.N.; Vapnik, V. Statistical Learning Theory; Wiley: New York, NY, USA, 1998; Volume 1. [Google Scholar]
- Kreßel, U.H.-G. Pairwise classification and support vector machines. In Advances in Kernel Methods; MIT Press: Cambridge, MA, USA, 1999. [Google Scholar]
- Hsu, C.-W.; Lin, C.-J. A comparison of methods for multiclass support vector machines. IEEE Trans. Neural Netw. 2002, 13, 415–425. [Google Scholar] [Green Version]
- Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef]
- Ho, T.K. Random decision forests. In Proceedings of the Third International Conference on Document Analysis and Recognition, Montreal, QC, Canada, 14–16 August 1995; Volume 1. [Google Scholar]
- Ho, T.K. The random subspace method for constructing decision forests. IEEE Trans. Pattern Anal. Mach. Intell. 1998, 20, 832–844. [Google Scholar]
- Rodriguez-Galiano, V.F.; Ghimire, B.; Rogan, J.; Chica-Olmo, M.; Rigol-Sanchez, J.P. An assessment of the effectiveness of a random forest classifier for land-cover classification. ISPRS J. Photogramm. Remote Sens. 2012, 67, 93–104. [Google Scholar] [CrossRef]
- Hsu, C.-W.; Chang, C.-C.; Lin, C.-J. A Practical Guide to Support Vector Classification; Technical report, Department of Computer Science, National Taiwan University: Taipei, Taiwan, 2003; pp. 1–16. [Google Scholar]
- Liszka, J. How Traffic Actually Works. 1 October 2013. Available online: https://jliszka.github.io/2013/10/01/how-traffic-actually-works.html (accessed on 09 April 2019).
- He, H.; Shao, Z.; Tan, J. Recognition of car makes and models from a single traffic-camera image. IEEE Trans. Intell. Transp. Syst. 2015, 16, 3182–3192. [Google Scholar] [CrossRef]
- Tang, Y.; Zhang, C.; Gu, R.; Li, P.; Yang, B. Vehicle detection and recognition for intelligent traffic surveillance system. Multimedia Tools Appl. 2017, 76, 5817–5832. [Google Scholar] [CrossRef]
- Dehghan, A.; Masood, S.Z.; Shu, G.; Ortiz, E. View independent vehicle make, model and color recognition using convolutional neural network. arXiv, 2017; arXiv:1702.01721. [Google Scholar]
- Fang, J.; Zhou, Y.; Yu, Y.; Du, S. Fine-grained vehicle model recognition using a coarse-to-fine convolutional neural network architecture. IEEE Trans. Intell. Transp. Syst. 2017, 18, 1782–1792. [Google Scholar] [CrossRef]
- Lee, H.J.; Ullah, I.; Wan, W.; Gao, Y.; Fang, Z. Real-time vehicle make and model recognition with the residual SqueezeNet architecture. Sensors 2019, 19, 982. [Google Scholar] [CrossRef]
Vehicle | Year | Train | Test | Vehicle | Year | Train | Test |
---|---|---|---|---|---|---|---|
Toyota Altis | 2008–2010 | 260 | 504 | Nissan Tida | 2009 | 108 | 139 |
Honda CRV | 2003–2009 | 224 | 258 | Toyota Altis | 2005–2006 | 216 | 227 |
Toyota Camry | 2008–2010 | 117 | 169 | Mits. Zinger | 2010 | 12 | 13 |
Honda Civic | 2010 | 79 | 243 | Mits. Outlander | 2010 | 26 | 50 |
Honda Fit | 2012 | 34 | 35 | Toyota Wish | 2010 | 68 | 45 |
Honda Fit | 2009 | 19 | 13 | Mits. Savrin | 2008 | 36 | 12 |
Toyota Camry | 2005–2006 | 109 | 122 | Toyota Wish | 2005–2009 | 107 | 77 |
Toyota Camry | 1999 | 21 | 5 | Mits. Lancer | 2007 | 16 | 61 |
Nissan March | 2007–2008 | 96 | 92 | Toyota Yaris | 2008 | 155 | 147 |
Suzuki Solio | 2008 | 34 | 84 | Ford Liata | 2003 | 9 | 10 |
Toyota Vios | 2008–2010 | 242 | 292 | Toyota RAV4 | 2009 | 79 | 0 |
Nissan Livna | 2010 | 119 | 128 | Ford Excape | 2009 | 50 | 45 |
Nissan Teanna | 2010 | 66 | 29 | Toyota Innova | 2008 | 15 | 29 |
Nissan Sentra | 2003 | 22 | 20 | Ford Mondeo | 2005 | 38 | 10 |
Nissan Sentra | 2005 | 24 | 15 | Toyota Surf | 2008 | 40 | 30 |
Nissan Cefiro | 1997 | 67 | 22 | Ford Tierra | 2006 | 34 | 16 |
Nissan Cefiro | 1990 | 36 | 9 | Tord Tarcel | 2005 | 110 | 76 |
Nissan X-trail | 2007 | 37 | 89 | Total | 2725 | 3110 |
Method | Configuration | Time (s) |
---|---|---|
HOG | 24 × 6 | 2.41 |
30 × 6 | 2.74 | |
33 × 6 | 2.79 | |
24 × 9 | 2.85 | |
33 × 9 | 3.28 | |
45 × 9 | 3.91 | |
36 × 12 | 4.04 | |
45 × 12 | 4.56 | |
GIST | 8.91 |
Configuration | Trees 100 | Trees 150 | Trees 200 | Trees 250 | Trees 300 | Trees 350 | |
---|---|---|---|---|---|---|---|
HOG | 24 × 6 | 41.4 | 41.3 | 41.3 | 41.3 | 41.2 | 41.2 |
30 × 6 | 36.4 | 36.4 | 36.4 | 36.3 | 36.3 | 36.4 | |
33 × 6 | 35.7 | 35.7 | 35.7 | 35.7 | 35.6 | 35.8 | |
24 × 9 | 35.0 | 35.0 | 35.0 | 34.9 | 34.9 | 34.9 | |
33 × 9 | 30.4 | 30.4 | 30.4 | 30.3 | 30.3 | 30.4 | |
45 × 9 | 25.5 | 25.5 | 25.5 | 25.5 | 25.5 | 25.5 | |
36 × 12 | 24.7 | 24.7 | 24.7 | 24.7 | 24.7 | 24.7 | |
45 × 12 | 21.9 | 21.9 | 21.9 | 21.9 | 21.9 | 21.9 | |
GIST | 11.2 | 11.2 | 11.2 | 11.2 | 11.2 | 11.2 |
Configuration | C = 2 | C = 4 | C = 6 | C = 8 | C = 10 | C = 12 | |
---|---|---|---|---|---|---|---|
HOG | 24 × 6 | 22.6 | 22.6 | 22.6 | 22.6 | 22.6 | 22.7 |
30 × 6 | 21.1 | 21.0 | 21.0 | 21.1 | 21.0 | 21.1 | |
33 × 6 | 18.5 | 18.5 | 18.5 | 18.5 | 18.5 | 18.5 | |
24 × 9 | 18.3 | 18.3 | 18.3 | 18.3 | 18.3 | 18.3 | |
33 × 9 | 15.9 | 15.9 | 15.9 | 15.9 | 15.9 | 15.9 | |
45 × 9 | 13.9 | 13.9 | 13.9 | 13.9 | 13.9 | 13.9 | |
36 × 12 | 11.5 | 11.6 | 11.6 | 11.6 | 11.6 | 11.6 | |
45 × 12 | 10.3 | 10.3 | 10.3 | 10.3 | 10.3 | 10.3 | |
GIST | 11.0 | 10.9 | 10.9 | 10.9 | 10.9 | 10.9 |
Method | Feature | Classification | Dataset | Accuracy | Speed (fps) |
---|---|---|---|---|---|
Dlagnekov et al. [25] (2005) | SIFT | Brute-force matching | 790 vehicle images | 90.52% | 2.19 |
Munroe and Madden [24] (2005) | Canny edges | KNN, ANN, C4.5 decision trees | 150 vehicle images with 5 classes | 67.33% | 0.93 |
Pearce and Pears [21] (2011) | Canny edge, SMG, Harris corner | KNN and Naïve Bayes | Explained in Section 3.1 | 85.90% | 1.73 |
Jang and Turk [29] (2011) | SURF | Matching using Lucene search engine library + structural verification | Explained in Section 3.1 | 92.20% | 3.1 |
Baran et al. [26] (2015) | SIFT, SURF, edge histogram | Multi-class SVM | Explained in Section 3.1 | 91.70% | 30 |
97.20% | 0.5 | ||||
Chen et al. [9] (2015) | Symmetric SURF | Sparse representation and hamming distance | NTOU-MMR | 91.10% | 0.46 |
He et al. [51] (2015) | Multi-scale retinex | ANN | 1196 vehicle and 30 classes | 92.47% | 1 |
Jabbar et al. [18] (2016) | SURF | Single and ensemble of multi-class SVM | NTOU-MMR | 94.84% | 7.4 |
Tang et al. [52] (2017) | Local Gabor Binary Pattern | Nearest Neighborhood | 223 vehicle with 8 classes | 91.60% | 3.33 |
Afshin Dehghan et al. [53] (2017) | Convolutional Neural Network | 44,481 vehicle with 281 classes | 95.88% | ||
Jie Fang et al. [54] (2017) | Convolutional Neural Network | 44,481 vehicle with 281 classes | 98.29% | ||
Hyo Jong et al. [55] (2019) | Residual Squeeze Net | 291,602 vehicle with 766 classes | 96.33% | 9.1 | |
RF-VMMR (HOG) | HOG | RF | NTOU-MMR | 94.53% | 35.7 |
SVM-VMMR (HOG) | HOG | SVM | NTOU-MMR | 97.89% | 13.9 |
© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Manzoor, M.A.; Morgan, Y.; Bais, A. Real-Time Vehicle Make and Model Recognition System. Mach. Learn. Knowl. Extr. 2019, 1, 611-629. https://doi.org/10.3390/make1020036
Manzoor MA, Morgan Y, Bais A. Real-Time Vehicle Make and Model Recognition System. Machine Learning and Knowledge Extraction. 2019; 1(2):611-629. https://doi.org/10.3390/make1020036
Chicago/Turabian StyleManzoor, Muhammad Asif, Yasser Morgan, and Abdul Bais. 2019. "Real-Time Vehicle Make and Model Recognition System" Machine Learning and Knowledge Extraction 1, no. 2: 611-629. https://doi.org/10.3390/make1020036
APA StyleManzoor, M. A., Morgan, Y., & Bais, A. (2019). Real-Time Vehicle Make and Model Recognition System. Machine Learning and Knowledge Extraction, 1(2), 611-629. https://doi.org/10.3390/make1020036