This is a machine learning based web application that helps to predict whether a tomato is ripe or unripe. It utilizes a model trained on Keras and provides an easy-to-use interface for uploading a tomato image and receiving the prediction.

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Ensure that you have the following installed on your local machine:
# Pull the Docker image:
docker pull aaxyat/tomatosorter
# Run the application using Docker:
docker run -d -p 5000:5000 aaxyat/tomatosorter
After running the above command, visit http://localhost:5000 in your web browser.
Clone the repo:
git clone https://github.com/NonvegPanda/TheRipeTomato.git
cd TheRipeTomato
Create a new Python virtual environment:
python -m venv env
Activate the virtual environment:
On Windows:
.\env\Scripts\activate
On MacOS/Linux:
source env/bin/activate
Next, install the dependencies:
pip install -r requirements.txt
Before running the project, please ensure that long paths are enabled on Windows. To enable long paths, follow the steps below:
gpedit.msc and hit Enter).If the Local Group Policy Editor is not available in your version of Windows, try this method:
regedit and hit Enter).HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystemLongPathsEnabled and select Modify.1 and click OK.Start the Flask development server:
python app.py
Navigate to http://localhost:5000 in your browser.
Your contributions are always welcome! Feel free to improve existing code, documentation or implement new features. Please open an issue to propose your changes if they are substantial. 😃
Made with ♥ by Yubhaskar Baral and Ayush Bhattarai
Content type
Image
Digest
sha256:3a086c05a…
Size
727.8 MB
Last updated
about 3 years ago
docker pull aaxyat/tomatosorter