17.1 plantdis configure

20220405 The plantdis package is Python based and utilises the ffmpeg system application. To check that everything is installed run the configure:

ml configure plantdis

The configuration will proceed with something like the following:

*** The following required pip packages are already installed:
  numpy requests matplotlib

*** Installing Python package tensorflow==2.8.0 by pip into
  /home/kayon/.mlhub/plantdis/.python

Do you want to pip install tensorflow==2.8.0 [Y/n]? 
  Downloading tensorflow-2.8.0-cp39-cp39-manylinux2010_x86_64.whl (497.6 MB)

...

*** Installing Python package opencv-python by pip into

  Downloading opencv_python-4.5.5.64-..._17_x86_64.manylinux2014_x86_64.whl (60.5 MB)

...

*** Installing Python package gdown by pip into

...

*** Downloading required files ...

To view the model's README:

  $ ml readme plantdis

Python and support files are downloaded from GitHub as specified in the MLHUB.yaml file.

meta:
  name         : plantdis
  title        : Provided image of a leaf, it detects if there is any disease.
  keywords     : transfer learning, tensorflow, deep learning, plant disease, python
  version      : 0.0.1
  languages    : py
  display      : gui
  license      : gpl3
  author       : u7156387@anu.edu.au
  url          : https://github.com/spsaswat/plantdis
dependencies:
  pip3:
    - tensorflow>=2.8.0
    - opencv-python
    - numpy
    - requests
    - gdown
    - matplotlib
    - pathlib
  files:
    - mlhub/README.md
    - mlhub/demo.py
    - mlhub/detdis.py
    - test/
commands:
  demo : Demonstrates predicting disease from image of corn with common rust.
  diagnose : Predicts the disease from an image of the leaf.


Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0