[Smart Cities 2026] Perspective Mapping & YOLOv8: Redefining Indoor Parking with 3D Computer Vision
Computer Vision-Based Vehicle Allotment System using Perspective Mapping
The paper presents a cost-effective smart parking system using YOLOv8 for real-time vehicle and pillar detection combined with Inverse Perspective Mapping (IPM). By stitching four camera views into a 3D Cartesian plot, the system achieves a SOTA overall detection accuracy of 98.4% in simulated indoor environments.
TL;DR
Researchers from NIT Rourkela have developed a budget-friendly, high-precision vehicle allotment system that ditches expensive ultrasonic sensors in favor of YOLOv8 and Inverse Perspective Mapping (IPM). By synthesizing data from four camera angles into a dynamic 3D Cartesian plot, the system detects vacancies with 98.4% accuracy, providing a visual and spatial guide for urban congestion management.
The "Blind Spot" of Modern Parking
Most "smart" parking lots today aren't actually that smart. They rely on "islands of sensors"—ultrasonic or PIR units mounted above every single spot. The cost of wiring, maintaining, and integrating these thousands of sensors into a central system is astronomical.
The alternative—Computer Vision—often struggles with the "Perspective Problem." A standard 2D camera feed makes it hard to gauge exact distances or identify spaces occluded by large pillars. Without 3D depth, navigating a complex, multi-story garage remains a headache for drivers.
Methodology: From 2D Pixels to 3D Space
The authors' core insight is that you don't need a LiDAR or an Altimeter to understand a parking lot; you just need better geometry.
1. The Detection Backbone: YOLOv8
The system uses YOLOv8 (You Only Look Once v8) because of its Dynamic Anchor Boxes. Unlike older versions, YOLOv8 adapts its detection frames to the varying scales of cars and pillars, which is vital when objects appear at different distances from the camera.
2. The Geometric Bridge: Inverse Perspective Mapping (IPM)
To solve the "3D problem," the researchers implemented a math-heavy mapping process:
- Centroid Calculation: Identifying the center of a vehicle's bounding box.
- Euclidean Distance: Measuring the distance from the camera (origin) to that centroid in the 2D plane.
- Z-Coordinate Estimation: Using the formula , the system assigns a depth value. Objects closer to the camera get higher positive depth values, while distant ones shift lower, creating a 3D relative map of the environment.
Figure: The System Model workflow from Input Stage (Simulation) to Output Stage (3D Mapping).
Experimental Results: YOLO Evolution
The study conducted a rigorous comparison between the last three generations of the YOLO family. The results were clear: as the architecture matured to handle more complex feature extractions (backbone networks), the detection of difficult "static" objects like pillars improved drastically.
| Model | Overall Accuracy | Vehicle Accuracy | Pillar Accuracy |
|---|---|---|---|
| YOLOv5 | 84.0% | 97.3% | 70.6% |
| YOLOv7 | 89.5% | 94.7% | 84.2% |
| YOLOv8 | 98.4% | 98.6% | 98.2% |
Figure: The PR Curve for YOLOv8 demonstrates near-perfect precision across classes.
Critical Insight: Why Centroids Matter
The paper includes a theoretical proof (Lemma 1) comparing Area-based vs. Centroid-based depth estimation. While some might assume the size of a car in the image is the best indicator of its distance, the authors prove that Centroids are a superior metric. Why? Because cars come in different sizes (trucks vs. minis). An area-based depth estimate would erroneously assume a small car is further away than a large truck at the same distance. The Centroid method remains invariant to object size, ensuring consistent 3D floor mapping.
Future Outlook
While the current results are based on high-fidelity 3D simulations (Spline.AI), the transition to physical CCTV feeds is the next logical step. The ability to "stitch" four cameras into a single, cohesive 3D Cartesian plot means that infrastructure managers can manage entire floors through software rather than hardware maintenance.
Takeaway
The future of smart cities isn't just about adding more sensors—it's about extracting more intelligence from the visual data we already have.
Author Analysis: This paper provides a robust framework for Low-Cost ITS (Intelligent Transportation Systems), proving that the convergence of Deep Learning and Classical Geometry remains the most fertile ground for infrastructure innovation.
