AI4Agri pilot GUI
A docker container including the GUI of the AI4AGRI pilot, providing access to all the different components developed in that pilot.
![Front-end of AI4Agriculture pilot](/sites/default/files/styles/16_9_100/public/2021-11/ai4agri-GUI-logo_0.png?itok=jsnSr-uh)
This component deploys a Django-based project that serves as main hub for the different components developed in the AI4Agri pilot. The interface provides a way to launch the models for CV (fruit counting) and yield & quality prediction getting data from the AI4Agri knowledge graph by using SPARQL queries.
The AI4agri GUI component is a component that offers a Graphic User Interface (GUI) that serves as a hub to manage all the different components deployed in the AI4agri pilot when deployed locally.
The component is served as a docker image (docker has to be installed), that can be generated from its source code available here.
First step is to generate the docker image:
docker build -t <image-name>
And once the image has been generated, the container can be created using that image:
docker run -d --name <container-name> -p <hostPort>:8000 <image-name>
It will expose the port defined as <hostPort>. Through that port, the webAPI will be available to be used.