Fruit-FAX is an innovative website dedicated to providing comprehensive nutrition information for over 50 different fruits. Designed for ease of use, users can quickly access nutritional facts by inputting the name of a fruit, with data sourced from the Fruityvice API.
- Nutritional Information: Get detailed nutritional data for over 50 fruits.
- Image Recognition: Capture a picture of an unknown fruit, and Fruit-FAX's Convolutional Neural Network (CNN) identifies and provides nutritional information for 10+ fruits.
- Accessibility: Catering to users with varying fruit knowledge, Fruit-FAX is a go-to resource for health-conscious individuals and those exploring new fruits and flavors.
Visit Fruit-FAX at https://fruits-fax.web.app.
demo.mp4
Before using Fruit-FAX, ensure the following are installed:
The guide to run the fullstack project locally on your computer.
cd backend
pip install -r requirements.txt
Make sure you have Python and pip installed.
python app.py
This will start the Flask backend. By default, it might run on http://localhost:8080
.
If you prefer using Docker, ensure Docker is installed on your machine. Then run the following commands:
docker build -t your-backend-image-name .
docker run -p 8080:8080 your-backend-image-name
Replace your-backend-image-name
with your desired image name.
cd frontend
npm install
Make sure you have Node.js and npm installed.
npm run dev
The Vite frontend will be accessible at http://localhost:5173
by default.
- Ensure that the Flask backend is running before you start the Vite frontend.
- Update your frontend code to point to the correct backend API endpoint (e.g.,
http://localhost:8080
).
- Convolution Neural Network architecture insights from Muhammad Irman Zaman's Kaggle discussion post: Link.
- Learnings from AK Python's YouTube Channel: Link.
- Model training inspiration from DataLira's Kaggle discussion post: Link.
- Dataset by Kritik Seth: Link.
For any questions or issues, contact us at areebsafirkhan10@gmail.com or kazi.shaffan@gmail.com. We appreciate your feedback!