[Paper Review] Embedded CNN based vehicle classification and counting in non-laned road traffic
This paper proposes an embedded CNN-based system for vehicle classification and counting in non-laned, heterogeneous traffic environments like Delhi-NCR, using a custom-annotated dataset of 5,562 video frames. Trained with transfer learning and fine-tuning, the model achieves up to 75% mean average precision (mAP), while embedded implementations demonstrate practical latency and energy efficiency for real-world deployment in low-connectivity regions.
Classifying and counting vehicles in road traffic has numerous applications in the transportation engineering domain. However, the wide variety of vehicles (two-wheelers, three-wheelers, cars, buses, trucks etc.) plying on roads of developing regions without any lane discipline, makes vehicle classification and counting a hard problem to automate. In this paper, we use state of the art Convolutional Neural Network (CNN) based object detection models and train them for multiple vehicle classes using data from Delhi roads. We get upto 75% MAP on an 80-20 train-test split using 5562 video frames from four different locations. As robust network connectivity is scarce in developing regions for continuous video transmissions from the road to cloud servers, we also evaluate the latency, energy and hardware cost of embedded implementations of our CNN model based inferences.
Motivation & Objective
- To address the challenge of automated vehicle counting and classification in non-laned, heterogeneous traffic common in developing regions like Delhi-NCR.
- To overcome poor performance of pre-trained CNN models fine-tuned on Western traffic datasets by creating a domain-specific annotated dataset.
- To evaluate the feasibility of deploying trained CNN models on embedded platforms for low-latency, low-energy inference in resource-constrained environments.
- To support data-driven urban policy decisions by enabling accurate, scalable traffic monitoring using roadside cameras.
- To bridge the gap between ICT and development by enabling scalable, low-cost traffic monitoring systems for urban infrastructure planning.
Proposed method
- Collected video data from four locations in Delhi-NCR, including intersections and highways, using roadside and in-vehicle cameras with fish-eye and normal lenses.
- Manually annotated 32,088 objects across 5,562 frames, with bounding boxes for eight vehicle classes including two-wheelers, three-wheelers, cars, buses, and trucks.
- Fine-tuned pre-trained CNN object detection models (e.g., Faster R-CNN or YOLO variants) using ImageNet and transfer learning, followed by domain-specific fine-tuning on the custom dataset.
- Evaluated model performance using 80-20 train-test split, reporting mean average precision (mAP) as the primary metric.
- Measured inference latency, energy consumption, and hardware cost on embedded platforms (e.g., NVIDIA Jetson, Coral TPU) to assess real-time deployability.
- Conducted cross-camera evaluation to test model generalization across different camera angles, lens types, and viewpoints (frontal, side, back).
Experimental results
Research questions
- RQ1Can a CNN-based object detection model achieve high accuracy in classifying and counting diverse vehicle types in non-laned, heterogeneous traffic environments like Delhi-NCR?
- RQ2How does performance degrade when models trained on Western traffic datasets (PASCAL VOC, KITTI) are applied to Indian non-laned traffic, and what causes this drop?
- RQ3To what extent can a custom-annotated dataset from Delhi-NCR improve model performance compared to transfer learning from Western datasets?
- RQ4What are the latency, energy, and hardware costs of deploying such models on embedded systems suitable for roadside traffic monitoring?
- RQ5How well do models generalize across different camera installations, lens types, and viewing angles in real-world urban deployments?
Key findings
- The proposed model achieved a mean average precision (mAP) of up to 75% on an 80-20 train-test split using the custom-annotated Delhi-NCR dataset.
- Pre-trained models fine-tuned on Western datasets (PASCAL VOC and KITTI) performed poorly on Delhi traffic, achieving only 0.58% and 0.01% mAP, respectively.
- The performance drop was attributed to differences in vehicle types (e.g., auto-rickshaws, e-rickshaws), lack of lane discipline causing occlusion, irregular intersection geometries, and differing camera viewpoints (driver vs. roadside).
- The custom-annotated dataset of 5,562 frames with 32,088 annotations proved essential for achieving high accuracy in the target domain.
- Embedded implementations of the trained model demonstrated practical latency and energy efficiency, making real-time deployment feasible in low-connectivity regions.
- Cross-camera evaluation showed that models trained on one camera type generalized moderately well but performance varied with lens type and viewing angle, highlighting the need for diverse training data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.