Skip to content

abrarshahh/FruitClassification_YOLO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

YOLO Fruit Classification

A computer vision project that demonstrates fruit detection and classification using YOLO (You Only Look Once) object detection models.
This repository contains step-by-step experiments in a Jupyter Notebook for preparing data, training a YOLO model, and running inference on fruit images.


🧠 Project Overview

Object detection is the process of identifying and localizing objects within images.
This project applies YOLO, a state-of-the-art object detection architecture, to classify fruit types and/or detect fruits in images.
YOLO models are optimized for real-time inference and efficiency while maintaining strong accuracy.:contentReference[oaicite:1]{index=1}

Key goals of this project include:

  • Preparing a custom image dataset for fruit detection
  • Labeling and formatting data for YOLO training
  • Training a YOLO model (such as YOLOv8 or similar)
  • Evaluating model performance
  • Running inference to detect fruit in sample images

πŸ“ Repository Structure

FruitClassification_YOLO/
β”œβ”€β”€ Notebook.ipynb           # Main Jupyter Notebook with experiments
β”œβ”€β”€ dataset/                 # Dataset directory (images, labels)
β”œβ”€β”€ models/                  # Trained model weights (if included)
β”œβ”€β”€ requirements.txt         # Python dependencies (optional)
└── README.md                # Project documentation

πŸ›  Prerequisites

  1. Ensure you have Python 3.8 or later installed.

  2. Install dependencies (example, add packages as needed):

    pip install ultralytics opencv-python matplotlib numpy
    
  • The ultralytics package provides a YOLOv8 implementation and necessary training/inference utilities.

About

A computer vision project for fruit detection and classification using YOLO object detection models in a Jupyter Notebook. Demonstrates data preparation, training, and inference with YOLO for fruit recognition tasks.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors