Skip to content

Latest commit

 

History

History
58 lines (27 loc) · 1.26 KB

README.md

File metadata and controls

58 lines (27 loc) · 1.26 KB

Plant_Diesease_Django

Source code for training the model is available in this github repository.

https://github.com/G-Slient/Plantdiseases

How to run the Django application

  1. Create A virtual envirnoment

How to create virtualenv

For Ubuntu:

creating the virtual env:

virtualenv (nameoftheenv)

Activating the env:

source (nameoftheenv)/bin/activate
  1. Install the required libraries from requirements.txt
pip install -r requirements.txt
  1. Now,everything is ready. Run the app.py
python manage.py runserver

Open 127.0.0.1:8000 url in your browser.

For predicting the diesease of a plant, first we need to provide the image as input.

We use Postman for this purpose.

  1. Download the Postman for the respective operating system using the link.

  2. 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/

Screenshot