A project implementing the YOLO (You Only Look Once) object detection algorithm.
- Real-time object detection
- High accuracy and speed
- Easy to use and customize
- Python 3.x installed on your system
-
Clone the repository:
git clone https://github.com/yourusername/Yolo.git cd Yolo -
Create a virtual environment (recommended):
python3 -m venv yolo8env source yolo8env/bin/activate -
Install dependencies:
pip install -r requirements.txt
Note:
Therequirements.txtincludes:cvzone==1.6.1ultralytics==8.3.144cv2(Install viaopencv-pythonif you encounter issues)
python detect.py --image path/to/image.jpgdetect.py- Main detection scriptmodels/- Pretrained YOLO modelsdata/- Sample images and datasets
- If you get errors related to
cv2, install it using:pip install opencv-python
- Activate your environment each time before running scripts:
source yolo8env/bin/activate
Contributions are welcome! Please open issues or submit pull requests.
This project is licensed under the MIT License.