Skip to content

osman-haider/Agrefine

Repository files navigation

Agrefine: ML-based Agriculture Android Application

Agrefine is an Android application designed to assist farmers and agriculture enthusiasts in optimizing their crop cultivation and trading processes. The application is divided into three primary functionalities:

  1. Crop Prediction: Agrefine uses machine learning models to predict suitable crops based on the user's soil specifications. This prediction helps users make informed decisions about what crops to cultivate in their agricultural land.

  2. Fertilizer Suggestion: Similar to the crop prediction feature, Agrefine provides fertilizer recommendations tailored to the predicted crop. This ensures that users apply the right fertilizers for optimal crop growth and yield.

  3. Agricultural Product Marketplace: Agrefine offers a platform for users to buy and sell agricultural products. It utilizes Firebase as the backend database to facilitate product listings, transactions, and communication between buyers and sellers.

Getting Started

Prerequisites

To run the Agrefine application, you will need:

  • Android Studio installed on your development machine.
  • An Android device or emulator for testing.
  • API keys or access credentials for the Back4App and Firebase services used in the project.

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/osman-haider/Agrefine.git
  2. Open the project in Android Studio.

  3. Set up the necessary API keys and credentials:

    • Back4App: Configure your Back4App API key for the crop prediction and fertilizer suggestion functionality. Add it to the respective configuration files.
    • Firebase: Configure your Firebase credentials for the marketplace functionality, including Firebase Realtime Database setup.
  4. Build and run the application on your Android device or emulator.

Usage

Crop Prediction and Fertilizer Suggestion

  1. Launch the Agrefine application.

  2. Navigate to the "Crop Prediction" section.

  3. Enter your soil specifications, such as pH level, nutrient content, etc.

  4. Press the "Predict Crop" button to receive a recommendation for suitable crops.

  5. After receiving the crop prediction, you can access fertilizer suggestions tailored to the predicted crop in the "Fertilizer Suggestion" section.

Agricultural Product Marketplace

  1. Explore the "Marketplace" section in the Agrefine application.

  2. Browse listings for agricultural products, including crops, seeds, equipment, and more.

  3. Create your own product listings if you have items to sell. Include details like product name, description, price, and location.

  4. Contact sellers and buyers via the in-app messaging feature to negotiate and finalize transactions.

Acknowledgments

  • Thanks to the open-source community for providing invaluable libraries and tools used in this project.
  • Special thanks to Back4App and Firebase for their services that power the Agrefine application.

Contact

If you have any questions, feedback, or issues, please feel free to contact us:

We hope Agrefine proves to be a valuable tool for agricultural enthusiasts and contributes to the advancement of modern farming practices. Happy farming! 🌱🚜

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published