The Plant Health Detection App is a comprehensive solution for plant disease identification, medication recommendations, and online store management. It includes offline disease detection using pre-trained models, fetching disease descriptions and remedies from the internet, recommending medications, and linking to nearby stores for purchasing supplies. The app also features a shop dashboard for managing stock listings and prices, as well as a responsive AI assistant for agricultural queries.
- Detects plant diseases from leaf images using offline trained models.
- Fetches detailed descriptions, causes, symptoms, and remedies from the internet after detection.
- Suggests medications and shows nearby shops with available stock and pricing.
- Shop owners can log in to manage their product listings, stock, and prices.
- Detects diseases online for plants not covered by the offline model.
- AI assistant answers agriculture-related queries with text and images.
- Click/Upload a leaf image.
- App detects disease offline using trained models.
- View detected disease name and basic information.
- After detection, view detailed disease description, symptoms, causes, and remedies fetched from the internet.
- App suggests suitable medications.
- Browse nearby shops showing stock availability and prices.
- Contact or visit shops directly.
- If offline detection fails, perform online detection(can also be used to detect pests whether they are harmful or not).
- Upload image, app fetches disease name and remedies from the internet.
- Ask any plant or agriculture-related queries.
- Receive text and image-based responses from the AI assistant.
- Log in with shop credentials through the Shop Login page.
- Add, update, or remove products.
- Set product names, stock quantity, and prices.
- Monitor available stock.
- Adjust inventory based on sales and demand.
-
Clone the repository:
git clone https://github.com/aarontoms/Thakkali.git
-
Navigate to view the app code:
cd app/src/main/java/com/example/thakkali -
Build the mobile app using the Build tool in Android Studio
-
Navigate to the backend code:
cd server -
Install the necessary dependencies:
- For Android: Use Android Studio to open the project and sync the dependencies.
- For Backend (Flask and MongoDB): Ensure you have Python 3.x installed, then run:
pip install -r requirements.txt
- Turn on the server using
This hosts the server onhttp://localhost:5000, use it locally or use port forwarding to access it over the internet.python a.py
- Train Your Own Model
Learn how to train the model here