Skip to content

A web application that uses AI to analyze crops and pests and advise framers on what to do.

License

Notifications You must be signed in to change notification settings

twyle/FarmBuddy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FarmBuddy

Overview

A web application that uses AI to analyze crops for pests and diseases then advises framers on what to do.

The application consists of

Application Demo

The application supports the following operations:

  1. Account registration using your Google account.
  2. Analyzing images for either pests or diseases
  3. Chatting with an expert.
  4. Finding aggrovets

Local Setup

To work with the application locally, first make sure the following are present:

  1. You have a groq API key
  2. A Google Maps API Key.

Folow these steps to start the application:

  1. Clone the project repo:
  git clone https://github.com/twyle/FarmBuddy.git
  1. Navigate to the project directory, then create the project secrets (.env file):
cd FarmBuddy/farm-assistant/app
# Linux
touch .env
# Windows
# Create a file called .env in FarmBuddy/farm-assistant/app
  1. Add the project secrets in the (.env file). This is how it should look:
GROQ_API_KEY=gsk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
GOOGLE_MAPS_API_KEY=AIxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Replace /home/lyle/Downloads/test.pt with the full path to the model
MAIZE_MODEL_DIRECTORY=/home/lyle/Downloads/test.pt
PEST_MODEL_DIRECTORY=/home/lyle/Downloads/PestNet.pkl
TOMATO_MODEL_DIRECTORY=/home/lyle/Downloads/PestNet.pkl
  1. Install the project requrements
  pip install -r requirements.txt
  1. Run the application
  python manage.py
  1. View the running application, click on ths link (http://localhost:8000)

About

A web application that uses AI to analyze crops and pests and advise framers on what to do.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published