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.
- 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.
- Python 3.x
- OpenCV library
- Ultralytics YOLO library
Install the required Python libraries using pip:
bash pip install opencv-python-headless ultralytics
Example