SnapChef is a deep learning project that generates recipes from food images using the power of computer vision and natural language processing. The project utilizes the Streamlit framework for the frontend and several Python libraries for image processing, deep learning, and text generation. Capture, Cook, Create! Recipe Generation from Food Images turns your food photos into personalized recipes. Snap a pic, let our advanced algorithms analyze it, and voila! Get ready to unlock a world of culinary possibilities with a single click. Unleash your inner chef and indulge in a delightful gastronomic adventure like never before!
The recipe generation model can be downloaded from the following link:
Please download the model and place it in DATA FOLDER directory within the project.
Make sure you have the following prerequisites installed before setting up the project:
- Python 3.6+
- numpy
- scipy
- matplotlib
- torch==0.4.1
- torchvision==0.2.1
- nltk
- Pillow
- tqdm
- lmdb
- tensorflow
- tensorboardX
You can install the required libraries using the following command:
pip install -r requirements.txt
Follow these steps to clone and set up the project:
git clone (https://github.com/TABREZ-96/SnapChef.git)
cd src
pip install -r requirements.txt
To run the application, execute the following command:
streamlit run trail2.py
The application will start and can be accessed in your browser at http://localhost:8501.
If you found this project helpful or you learned something from it and want to show your appreciation, you can buy me a coffee. Your support will help me to continue maintaining and updating this project.