Computer Vision-Based Vehicle Allotment System using Perspective Mapping

This paper proposes a cost-effective, computer vision-based smart parking system that utilizes YOLOv8 for vehicle detection and inverse perspective mapping to merge multi-camera views into a simulated 3D environment for guiding users to vacant spots.

Prachi Nandi, Sonakshi Satapathy, Suchismita Chinara

Published Wed, 11 Ma
📖 4 min read☕ Coffee break read

Imagine walking into a massive, multi-story parking garage. It's dark, the layout is confusing, and you're driving in circles, wasting gas and time, just trying to find one empty spot. You might end up blocking traffic, frustrating other drivers, and stressing yourself out.

Now, imagine if that garage had a "super-eye" that could see every single car and every empty spot instantly, and then guide you straight to the best spot without you ever having to guess.

That is exactly what this paper proposes. The researchers from the National Institute of Technology Rourkela have built a Smart Parking System that uses computer vision (cameras and AI) instead of expensive sensors to solve this headache.

Here is the breakdown of how it works, using some everyday analogies:

1. The Problem: The "Expensive Sensor" Trap

Traditionally, to know if a parking spot is empty, garages install sensors (like little radar guns or pressure pads) in every single spot.

  • The Analogy: Imagine trying to count how many people are in a stadium by putting a pressure-sensitive mat under every single seat. It would cost a fortune to buy the mats, and if one breaks, your count is wrong.
  • The Solution: This team says, "Why buy a sensor for every spot? Let's just use the cameras we already have (like CCTV) and let a smart brain figure it out."

2. The Brain: YOLOv8 (The "Super-Speedy Detective")

To make the cameras "see," they use an AI model called YOLOv8 (You Only Look Once).

  • The Analogy: Old detection systems are like a detective who looks at a photo, zooms in on the top left, then the top right, then the bottom, taking a long time to find the suspect.
  • YOLOv8 is like a detective who glances at the entire photo in a single split-second and instantly shouts, "There's a car here! There's a pillar there! And that spot over there is empty!" It's incredibly fast and accurate.

3. The Magic Trick: Inverse Perspective Mapping (IPM)

This is the coolest part. Cameras usually take pictures from an angle (like looking down a hallway), which makes things look distorted. A spot far away looks tiny, and a spot close up looks huge.

  • The Analogy: Imagine looking at a long table from one end. The plates at the far end look like tiny dots, and the ones near you look giant. If you tried to count them, you'd get confused.
  • IPM is like a magical "flattening" tool. It takes that angled, distorted view and mathematically "flattens" it into a perfect bird's-eye view (like a Google Maps satellite image). Suddenly, every parking spot looks the same size, and it's easy to see which ones are actually empty.

4. The 3D Map: The "Digital Twin"

Once the system knows where the cars and pillars are, it doesn't just show a list of numbers. It builds a 3D model of the parking lot.

  • The Analogy: Think of it like a video game map. The system takes the 2D photos from four different cameras, stitches them together, and builds a virtual 3D replica of the garage in the computer.
  • It plots the cars and pillars as blocks in this 3D space. Any space between the blocks that isn't occupied is marked as an "Open Spot."

5. How It Finds the Empty Spots

The system looks at the 3D map and asks: "Where are the gaps?"

  • The Analogy: Imagine a game of Tetris. The cars are the blocks that have landed. The system looks at the empty spaces between the blocks and says, "Aha! That gap is big enough for another car."
  • It then calculates the distance between pillars or other cars to estimate exactly how many cars can fit in a row.

Why Is This Better?

  1. Cheaper: You don't need to buy thousands of sensors. You just need cameras (which most garages already have).
  2. Smarter: It can handle tricky lighting and different car sizes better than old sensors.
  3. Faster: It guides you to the nearest spot instantly, reducing traffic jams inside the garage.

The Bottom Line

This research is like giving a parking garage a GPS and a personal valet that never gets tired. By using clever math (Inverse Perspective Mapping) and a super-fast AI detective (YOLOv8), they turn a confusing, dark parking lot into a clear, organized 3D map that tells drivers exactly where to go.

In the future, this could mean walking into a garage, seeing a green dot on your phone showing the exact spot, and driving straight there without ever circling around. It's a small step toward making our cities less congested and our lives a little less stressful.