Skip to content

๐ŸPineAIpple โ€“ AI-powered fruit classification using CNNs! ๐Ÿค– Built with TensorFlow, Keras & a pinch of magic โœจ | ๐Ÿ” Fast. Accurate. Juicy. ๐ŸŽ๐ŸŒ๐Ÿ‡

Notifications You must be signed in to change notification settings

asRot0/PineAIpple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

27 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

PineAIpple

This project is focused on building a deep learning model to classify fruits based on images using Convolutional Neural Networks (CNNs).

Dataset

The dataset used in this project is the Fruits-360 dataset. It contains images of various fruits that are grouped into different categories. The dataset is divided into three folders:

  • Training data: Contains images for training the model.
  • Validation data: Used to validate the model during training.
  • Test data: Used to evaluate the model after training.

You can download the full dataset from Fruits-360 Dataset on Kaggle.

Project Overview

  • Preprocess and augment the images using TensorFlowโ€™s ImageDataGenerator.
  • Define a Convolutional Neural Network (CNN) model for image classification.
  • Train the model using the training and validation sets.
  • Evaluate the model using the test set to measure its accuracy.
  • Visualize results including prediction examples.

Steps

  1. Data Preprocessing:

    • Augment the images (rotate, shift, zoom, etc.) to increase dataset variety.
    • Split the data into training, validation, and test sets.
  2. Model Definition:

    • A CNN model is built using TensorFlow/Keras layers to recognize fruit images.
  3. Training:

    • The model is trained using the augmented data and validation sets.
    • Early stopping and model checkpointing are used to avoid overfitting.
  4. Evaluation:

    • The model is evaluated using the test dataset, and performance metrics are displayed.
  5. Prediction Visualization:

    • Predictions are made on test images, and the results are visualized.

Technologies Used

  • Python: Programming language used for the project.
  • TensorFlow/Keras: For building and training the CNN model.
  • Matplotlib/Seaborn: For data visualization (plots and graphs).
  • Scikit-learn: For additional evaluation metrics like classification report.

Requirements

  • Python 3.x
  • TensorFlow
  • Keras
  • Matplotlib
  • Seaborn
  • Scikit-learn

Install Requirements

To install the required dependencies, run:

pip install -r requirements.txt

About

๐ŸPineAIpple โ€“ AI-powered fruit classification using CNNs! ๐Ÿค– Built with TensorFlow, Keras & a pinch of magic โœจ | ๐Ÿ” Fast. Accurate. Juicy. ๐ŸŽ๐ŸŒ๐Ÿ‡

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published