In this project i have designed a object detection system using YOLOV3 Model.
ObjectDetectionSystem/ │ ├── images/ │ └── test.png │ ├── venv/ │ ├── ... (Virtual environment files) │ └── ... (Other files) │ ├── videos/ │ └── vid1.mp4 │ ├── yolo/ │ ├── coco.names │ ├── yolov3.cfg │ └── yolov3.weights (not included, see below) │ ├── .gitattributes ├── main.py └── README.md
git clone https://github.com/AbhilashSurapuchetty/CodeClause-ObjectDetectionSystem.git cd CodeClause-ObjectDetectionSystem
Create and activate a virtual environment:
Windows:
python -m venv venv
venv\Scripts\activate
Linux/MacOS:
python3 -m venv venv
source venv/bin/activate
Install the required packages:
pip install -r requirements.txt
Due to file size constraints, the yolov3.weights and pywrap_tensorflow_internal.pyd files are not included in this repository. Download them from the links provided below and place them in the appropriate directories. links to google Drive : for yolov3.weights : https://drive.google.com/file/d/1NhoR-ByhakCSlDjzNCZfl28Omg0yb04L/view?usp=drive_link for pywrap_tensorflow_internal.pyd : https://drive.google.com/file/d/1IzU8RLIfstXIB3vFloi0TsEGagx1HMyO/view?usp=drive_link yolov3.weights - Place in yolo/ directory. pywrap_tensorflow_internal.pyd - Place in venv/Lib/site-packages/tensorflow/python/ directory.
Once everything is set up, you can run the project: python main.py