CoolFace
Apppublic

cpsdseprecisionagriculture/precision-agriculture-backend

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
App README

Overview

This is our repository of the working implementation of our proposed approach for the paper "Cyber-Physical System Design Space Exploration for Affordable Precision Agriculture."

Please download the spreadsheet file containing data and references to build the database. Spreadsheet

Evaluation results of 1) Evaluation of design aspects: Case Study 1/README.md) and Case Study 2 2) Optimizer model evaluation: Case Study 1/README.md) and Case Study 2

Prerequisites

You need to download this repository and have python installed, as the main scripts are written in Python.

Library Dependencies

The following dependencies are required to run this project.

pip install fastapi sqlalchemy uvicorn pulp scikit-optimize python-sat

To run the code

Open two terminals go to the path of the Webpage ILP directory and run

uvicorn main:app --reload

python -m http.server 8080

The image below displays the terminal after entering the two commands above.

[image]

Enter `` http://127.0.0.1:8080/ `` in the web browser to access the webpage.

Additional Instructions

You need to enter the values of budget, farm size, select crop type from the dropdown, and select at least 1 application to get the results.

You can check Evaluation of design aspects or Optimizer model evaluation by selecting it in the evaluation mode dropdown.

The image below displays the webpage with inputs from case study 2.

[image]