Watch a demonstration of CROPIGO in action on LinkedIn: CROPIGO - Agriculture AI
- CROPIGO: AI Assistant for Farmers
CROPIGO is an AI-powered assistant tailored specifically for farmers, aiming to optimize crop selection and disease identification processes. By leveraging machine learning models and modern technologies, CROPIGO assists farmers in making data-driven decisions, ultimately improving agricultural yield and efficiency.
The Crop Recommendation System assists farmers in selecting the most suitable crops based on various factors such as soil composition, weather conditions, and geographical location. By providing inputs such as Nitrogen (N), Phosphorous (P), Potassium (K) ratios in the soil, pH value, rainfall, and location (Indian city), farmers receive recommendations tailored to their specific conditions. This recommendation is generated using an XGBoost model trained on relevant agricultural data.
The Plant Disease Classification module aids farmers in identifying diseases affecting their crops by analyzing images of plant leaves. Farmers can capture images using their device camera or select images from the gallery. The application then processes these images using a TensorFlow Lite model to identify the disease accurately.
- Framework: React Native
- Dependencies:
- react-native-responsive-dimensions
- react-native-image-picker
- @react-native-async-storage/async-storage
- @react-native-community/netinfo
- react-native-toast-message
- TensorFlow Lite (integrated using native modules)
- Framework: FastAPI
- Create a virtual environment and activate it.
- Install dependencies from the
backend/requirement.txt
file using pip. - Navigate to the backend folder and create a file named
.env
containing the API_KEY for the OpenWeather API. - Run the server using the command:
uvicorn project:app --host <IPv6 Address> --port 8000 --reload
.
- Navigate to the
cropiGo_ml/android
folder and add the TensorFlow Lite model (renamed toconverted_model.tflite
). - Update the
BASE_URL
in thesrc/context/Constant.js
file to match the server's IPv6 Address. - Navigate to the
cropiGo_ml
folder and install dependencies usingnpm i
. - Run the Android application using
npx react-native run-android
.
- Launch the CROPIGO mobile application.
- Enter the required parameters including N, P, K ratios, pH value, rainfall, and location.
- Submit the data to receive crop recommendations based on the provided inputs.
- Open the CROPIGO mobile application.
- Capture an image of the plant leaf using the device camera or select an image from the gallery.
- The application will process the image and provide information about any diseases detected on the plant leaves.
CROPIGO revolutionizes farming practices by empowering farmers with advanced AI assistance. By integrating cutting-edge technologies, CROPIGO streamlines crop selection and disease identification processes, thereby contributing to improved agricultural productivity and sustainability.