Skip to content

Flipkart Grid 6.0 (Robotics) - Smart Vision Technology Quality Control

License

Notifications You must be signed in to change notification settings

williyam-m/Flipkart_Grid_6_0

Repository files navigation

Smart Vision

Demo Video Link: https://youtu.be/EFACJ6n8zPc

Smart Vision

Step-by-Step Guide to Setting Up and Running the Application

  1. Clone the Repository

    git clone https://github.com/williyam-m/Flipkart_Grid_6_0.git
  2. Create a Virtual Environment

    python -m venv venv
  3. Activate the Virtual Environment

    • On Windows:
      venv\Scripts\activate
    • On Linux/macOS:
      source venv/bin/activate
  4. Install Required Packages

    pip install -r requirements.txt
  5. Run the Application

    python manage.py runserver

Freshness Detector

Smart Vision

  • Predicts the freshness and identifies the class (type) of fruits and vegetables.
  • Utilizes a model I trained using a dataset from Kaggle with MobileNetV2 as the base model in TensorFlow.

Feature Extractor

Smart Vision

  • Extracts product details such as MRP, EAN, manufacture date, and expiry date using OCR powered by Pytesseract.
  • Processes the text to validate the expiry date of the product.

Object Detection

Smart Vision

  • Counts and highlights products within an image.
  • Employs the EfficientDet model from TensorFlow Hub.

Dataset For Freshness Detector

Download the dataset from Kaggle.

This dataset contains images of the following fruits and vegetables items:

Fresh fruits- fresh banana, fresh apple, fresh orange, fresh mango and fresh strawberry.

Rotten fruits- rotten banana, rotten apple, rotten orange, rotten mango and rotten strawberry.

Fresh vegetables- fresh potato, fresh cucumber, fresh carrot, fresh tomato and fresh bell pepper.

Rotten vegetables- rotten potato, rotten cucumber, rotten carrot, rotten tomato and rotten bell pepper.

Pre-trained Model / Architecture for Object Detection

Tesseract OCR Engine for Optical Character Recognition

Smart Vision

References and Resources