Source code for training the model is available in this github repository.
https://github.com/G-Slient/Plantdiseases
- Create A virtual envirnoment
For Ubuntu:
creating the virtual env:
virtualenv (nameoftheenv)
Activating the env:
source (nameoftheenv)/bin/activate
- Install the required libraries from requirements.txt
pip install -r requirements.txt
- Now,everything is ready. Run the app.py
python manage.py runserver
Open 127.0.0.1:8000 url in your browser.
We use Postman for this purpose.
-
Download the Postman for the respective operating system using the link.
-
Parameters for running Postman:
Type of request: POST In body: Type of data: form-data key: plant_image value:(input image which is converted into base64 using onlineconvertor)
onlineconvertor link: https://www.base64-image.de/