GuardianVision is a smart vehicle access control system designed to detect vehicles and individuals, allowing security personnel to monitor and manage access to restricted areas in real-time. With just a click, users can restrict access beyond specified boundaries and receive alerts when unauthorized access is detected.🚨🛡️
Ensure you have the required packages installed:
pip install opencv-python==4.8.1
pip install ultralytics==8.2.2
- Clone the repository:
git clone https://github.com/MUHAMMAD-FARMAN/GuardianVision-Smart-Vehicle-Access-Control.git
cd GuardianVision-Smart-Vehicle-Access-Control
- Run main.ipynb using jupyter notebook
Modify the following variables in the code to adjust the line position:
# Define the start and end points of the line (x, y)
start_point = (1000, 0)
end_point = (1000, 720)
If you want to use YOLOv9 instead of YOLOv8, follow these steps:
-
Replace the model instantiation line in the code:
# Load the YOLOv8 model model = YOLO('yolov8n.pt')
with:
# Load the YOLOv9 model model = YOLO('yolov9c.pt')
-
Save the changes and run the Python script again.
Now, your project will utilize YOLOv9 for object detection and tracking.
- Real-time detection and tracking of vehicles and individuals.
- Click-based access restriction beyond specified boundaries.
- Alarm sound upon unauthorized access.
- OpenCV - Wrapper package for OpenCV Python bindings.
- Ultralytics - YOLOv8 for object detection and multi-object tracking
This project is licensed under the MIT License - see the LICENSE file for details.