fivetop / Uzum_YOLO8

An OpenCV project that utilizing the YOLOv8 model to detect and analyze.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Grape Detection Computer Vision Project

This computer vision project utilizes the YOLOv8 model to detect and analyze grape bunches, bruises, stems, and leaves. The model was trained on a custom dataset I curated, which included annotated images of grape-related objects. Through iterative training, the model's weights were fine-tuned to improve its accuracy. Future work may involve expanding the dataset and fine-tuning the model architecture for enhanced performance.

Project Structure

  • testCanli.py - This script uses a webcam to perform real-time detection of objects. It visualizes the detection results on each frame captured from the webcam.
  • testKoordinat.py - Focuses on detecting specific classes (in this case, grape bunches) and prints their coordinates on the screen.
  • testMerkezNokta.py - Draws a rectangle and a center point on a static image to illustrate object detection results.

Setup and Installation

Requirements

  • Python 3.x
  • OpenCV library
  • Ultralytics YOLO library

Install the required Python libraries using pip:

bash pip install opencv-python-headless ultralytics

Example

Örnek

About

An OpenCV project that utilizing the YOLOv8 model to detect and analyze.


Languages

Language:Python 100.0%