A video description of the project can be found here.
This is a system that is intended to provide various kinds of information to farmers regarding soil types and parameters (N, P, K concentration and the pH value) conducive to growing a particular crop.
Currently the system supports all crop types that it was trained alongside.
The system has a 2 - server architecture. The first is an API based flask server, and the other is a nodejs server.
To run the demo, first clone the repository onto your local machine. Then, cd
into the newly cloned folder, and run the following commands:
npm i
pip install flask numpy pandas scikit-learn
Make sure you have
pip
,node
andnpm
installed.
Now, within the same root folder, open up 2 terminals:
node app.js
.python server.py
. (You might have to conda activate base
your base conda environment, or some other conda environment at this point.)Upon successful execution, both servers should be up and running. The python server serves as an API endpoint, and the Javascript server serves us the web pages for the UI.
Now, access the home page (the only page of the website) from: http://localhost:3000/
.
The interface contains some charts and a table, along with an input form.
The varoius fields of the form are detailed in the video demo. In a nutshell, the various fields input the different parameters wrt the farmer. These include: