This project demonstrates basic object detection using YOLOv8 with the Ultralytics library.
- Object detection on images
- Real-time detection using webcam (optional)
- Uses pre-trained YOLOv8 model
- Saves output image with bounding boxes
- Python
- Ultralytics YOLOv8
- OpenCV (for webcam)
yolo-task/
│
├── detect.py
├── requirements.txt
├── results.jpg
├── README.md
└── .gitignore
- Clone the repository:
git clone https://github.com/your-username/yolo-object-detection.git
cd yolo-object-detection
- Create virtual environment:
python -m venv venv
- Activate environment:
Windows:
venv\Scripts\activate
Mac/Linux:
source venv/bin/activate
- Install dependencies:
pip install -r requirements.txt
Run the detection script:
python detect.py
The output image with detected objects will be saved as:
results.jpg
YOLO (You Only Look Once) is a real-time object detection algorithm. YOLOv8 is the latest version provided by Ultralytics, known for speed and accuracy.
Official documentation: https://docs.ultralytics.com/
Afiya Fathima Third year BTech Computer Science Student Adi Shankara Institute of Engineering and Technology
