Fruit & Vegetable Detection

A computer-vision system that detects and classifies fruits and vegetables in images — drawing a labelled box and confidence score around every item it finds.

Deep Learning Computer Vision Python

About

This project uses a deep-learning object-detection model to locate and identify fruits and vegetables in a photo. For each item it finds, it draws a labelled bounding box with a confidence score — and it handles busy scenes with several overlapping items at once, from whole and sliced apples to broccoli, carrots, tomatoes, peppers, strawberries and kiwi.

The model is trained on the LVIS fruits-and-vegetables dataset and built with TensorFlow and OpenCV, making it a compact demonstration of a full object-detection pipeline — from a raw image to labelled, scored predictions.

Screenshots

Built with

TensorFlow

Deep-learning framework powering the detection model.

CNN

Convolutional neural network for image recognition.

OpenCV

Image handling and drawing the detection boxes.

LVIS dataset

The fruits-and-vegetables dataset the model learned from.

cd ../projects