A tool for determining if produce is rotten based on image recognition. Uses Gaussian smoothing and Canny edge detection to create the masks, and the difference of Gaussian method to isolate blobs.
Use python3 -m pip install --user -r req.txt
to install the necessary dependencies.
Download the repo and unzip. Load your images into the img
directory. Use python3 Main.py
and select the fruit image for analysis. For demonstration purposes, the application will display the input image, the edge mask, the input image with its background subtracted, and blemishes on the input image found by the blob detection algorithm.
Developed by Marie Payne and Johanan Idicula.