Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YOLOv8 Object Detection

This project demonstrates basic object detection using YOLOv8 with the Ultralytics library.


Features

  • Object detection on images
  • Real-time detection using webcam (optional)
  • Uses pre-trained YOLOv8 model
  • Saves output image with bounding boxes

Technologies Used

  • Python
  • Ultralytics YOLOv8
  • OpenCV (for webcam)

Project Structure

yolo-task/
│
├── detect.py
├── requirements.txt
├── results.jpg
├── README.md
└── .gitignore

Installation

  1. Clone the repository:
git clone https://github.com/your-username/yolo-object-detection.git
cd yolo-object-detection
  1. Create virtual environment:
python -m venv venv
  1. Activate environment:

Windows:

venv\Scripts\activate

Mac/Linux:

source venv/bin/activate
  1. Install dependencies:
pip install -r requirements.txt

Usage

Run the detection script:

python detect.py

Output

The output image with detected objects will be saved as:

results.jpg

Example

Output

About YOLOv8

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.


Reference

Official documentation: https://docs.ultralytics.com/


Author

Afiya Fathima Third year BTech Computer Science Student Adi Shankara Institute of Engineering and Technology

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages