Car Parking Monitoring System Using VGG16 project is a Car Parking Monitoring System that uses computer vision and deep learning to detect whether parking spaces are occupied or free. The system works by analyzing video footage of a parking lot, using a pre-trained VGG16 model to identify if there are cars in specific parking spots. This system is designed to help parking lot owners or businesses keep track of parking space usage from video recordings. It offers an easy way to monitor parking lot occupancy automatically.
Introduction
I. INTRODUCTION
Efficient parking space management is a critical aspect of urban infrastructure, especially with the exponential growth of vehicles in cities worldwide. The increasing demand for parking, coupled with the challenges of manual monitoring, has created the need for automated solutions that can provide accurate and real-time updates on parking space availability. Traditional systems often rely on human intervention, which is prone to errors, inefficiency, and higher operational costs.
This project addresses these challenges by developing an Automated Car Parking Monitoring System that utilizes the power of deep learning and computer vision. At the core of this system is a VGG-based convolutional neural network (CNN), a proven architecture for image classification tasks, adapted here to classify parking spaces as either “Free” or “Occupied.” The system leverages pre-annotated Regions of Interest (ROIs) within parking lot video footage to identify and analyze individual parking spaces with high precision.
By combining robust machine learning techniques, efficient data preprocessing, and a practical deployment framework, this system offers a scalable and accurate solution for modern parking management in public and private settings.
II. LITERATURE REVIEW
A. Real-time image-based Parking Occupancy Detection using Deep Learning
The paper "Real-time Image-based Parking Occupancy Detection Using Deep Learning" introduces an innovative approach for automated parking management by utilizing deep learning and image processing techniques to detect parking space occupancy in real-time. The authors leverage Convolutional Neural Networks (CNNs) to analyze images captured from parking lot cameras, automatically classifying parking spaces as either free or occupied.
This approach significantly improves parking space monitoring efficiency, reducing human intervention and minimizing errors in detecting space availability. The system’s real-time capability makes it highly applicable to urban settings where timely updates on parking availability are crucial.
The use of deep learning ensures high accuracy and scalability, making the solution effective for both public and private parking management. Overall, this research provides a practical and modern solution to address the growing challenges of parking space management in densely populated areas.
B. Tiny Vehicle Detection Based on YOLO and Multi-Scale Convolutional Neural Networks
The paper titled "Smart Parking System with IoT and Deep Learning" explores an innovative smart parking system that integrates Internet of Things (IoT) technology with deep learning to efficiently manage parking spaces. The system uses real-time sensor data from IoT devices combined with deep learning algorithms to detect parking space occupancy and guide drivers to available spots. By utilizing deep learning for image and video analysis, the system can accurately detect whether a parking space is occupied or vacant, offering a more efficient and automated approach than traditional parking management methods. The integration of IoT enhances the system's scalability and enables remote monitoring, making it suitable for large urban parking areas. This project offers a promising solution to the growing demand for parking in crowded cities, improving both parking efficiency and the user experience.
C. Method For Judging Parking Status Based On Yolov2 Target Detection Algorithm
The paper titled "Smart Parking System with IoT and Deep Learning" explores an innovative smart parking system that integrates Internet of Things (IoT) technology with deep learning to efficiently manage parking spaces. The system uses real-time sensor data from IoT devices combined with deep learning algorithms to detect parking space occupancy and guide drivers to available spots. By utilizing deep learning for image and video analysis, the system can accurately detect whether a parking space is occupied or vacant, offering a more efficient and automated approach than traditional parking management methods. The integration of IoT enhances the system's scalability and enables remote monitoring, making it suitable for large urban parking areas. This project offers a promising solution to the growing demand for parking in crowded cities, improving both parking efficiency and the user experience.
III. PROBLEM DEFINITION
Design a Car Parking Monitoring System that processes a prerecorded video file of a parking lot to determine the status of each parking space. The system should use a pre-trained deep learning model (VGG16) to identify whether a parking space is occupied or vacant based on vehicle detection. The processed results (annotated video frames and a parking status count) will be displayed on a web interface for easy monitoring of parking availability.
IV. METHODOLOGY
Fig1: Dataflow diagram
A. Data Collection and Preprocessing
Video footage of a parking area was used as the input dataset. The preprocessing involved resizing video frames while maintaining aspect ratios to ensure compatibility with the model. Noise in the images was minimized using padding techniques, ensuring accurate detection of parked and non-parked spaces.
B. Feature Extraction
Regions of Interest (ROIs) were defined for each parking space using bounding boxes stored in a pre-annotated file (carposition.pkl). These regions were cropped from the frames and processed to extract features such as:
Resizing the cropped images to a standard size (48x48 pixels).
Normalizing pixel values between 0 and 1 to enhance model compatibility.
C. Model Training
The VGG-based convolutional neural network (CNN) was trained on the processed dataset for binary classification:
Classes:
Parked: The parking space is empty
Not Parked: The parking space is occupied.
Training Process: The model utilized supervised learning with a binary cross-entropy loss function and an Adam optimizer. The dataset was split into training and testing subsets for performance evaluation.
D. System Deployment
The system was implemented as a Flask web application with the following features:
Parking Status Detection: Each parking space is classified as “Free” or “Occupied,” and labels are shown directly on the video.
Space Count Updates: The system provides live updates about the number of free and occupied parking spaces.
V. RESULTS AND EVALUATION
The Car Parking System using the VGG16 model was implemented to classify parking spaces as either occupied or vacant based on the presence of vehicles in a given parking lot. The system processes frames from a video and annotates them to identify parking space status. Although the system does not provide real-time detection, it demonstrates effective detection from pre-recorded video.
Fig2: Function to check parking space
Fig 3: Generation of frames for video
Fig 4: Results
Conclusion
In this project, a Car Parking System was developed using VGG16, a deep learning model based on the Convolutional Neural Network (CNN) architecture, for detecting parking space occupancy. The goal was to automate the process of determining whether parking spots are occupied or free using video footage, by classifying each parking space based on the presence of a car.
References
[1] Author(s): Mohamed A. A. Abdessalem, Wahiba Benameur, and Sofiene Affes. Year of Publication: 2018Title of the Paper: Real-time image-based parking occupancy detection using deep learning
[2] Method for judging parking status based on yolov2 target detection algorithm Hanbo Zhou, Yiming Zhaob, Wei Xiang,* 2021
[3] A Review: Object Detection Models Author - Aakash K. Shetty ; Ishani Saha; Rutvik M. Sanghvi; Siddhesh A. Save ; Yashkumar J. Patel