Cropsense is a mobile application designed for identifying leaf diseases in crops. This project consists of multiple components, including a backend server, two Flask APIs for different disease identification models, and the Flutter-based frontend application. Below are instructions on how to run these components locally for the finest experience.
- backend: Node.js server handling backend requests, including the Chat GPT API requests.
- Cropsense: Flutter application serving as the frontend.
- flask_api1: Flask-based API for leaf disease identification (more accurate).
- flask_api2: Flask-based API for leaf disease identification.
- Command:
node index.js
- Description: Run the Node.js server to handle backend requests, including the Chat GPT API.
- Command:
python app.py
- Description: Start the Flask API for the first leaf disease identification model, which is more accurate.
- Commands:
cd src
python app.py
- Description: Run the Flask API for the second leaf disease identification model.
- Steps:
- Open the Cropsense project in Android Studio.
- Build and run the application.
- Ensure that the application is connected to the first model (Flask API 1) for more accurate disease identification.