plant-disease-classification
A Python module that classifies disease on plants. You can classify plant images from Python or from the command line with a simple classification library.
Built using Deep Learning and Convolutional Networks models trained here.
This also provides a simple plant disease classification command line tool that lets you do face recognition on a folder of images from the command line.
Installation
You can install plant-disease-classification using:
$ pip install plant-disease-classification
Getting the code
The code is hosted at https://github.com/abdullahselek/plant-disease-classification
Check out the latest development version anonymously with:
$ git clone git://github.com/abdullahselek/plant-disease-classification.git $ cd plant-disease-classification
To install dependencies, run either:
$ pip install -r requirements.txt
To install the minimal dependencies for production use (i.e., what is installed with pip install plant-disease-classification) run:
$ pip install -r requirements.txt
Usage
Classification using Python
from plant_disease_classification import api
# Classification with image path
result = api.classify(image_path="YOUR_IMAGE_PATH")
# Classification with image data
result = api.classify(image_data=YOUR_IMAGE_DATA)
Classification via CLI
python -m plant_disease_classification -p testdata/4507d7a208e839e34466ba7d7bdb144e.jpg
python -m plant_disease_classification -d BASE64_ENCODED_IMAGE_DATA
Metadata
Release files for plant-disease-classification 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| plant_disease_classification-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for plant_disease_classification-0.2.0-py3-none-any.whl |
Release files / plant_disease_classification-0.2.0-py3-none-any.whl
| Download URL | plant_disease_classification-0.2.0-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5e0c9ff154cdf1a30003aaee738778ef6bdb0bf047d08bfcf767d75dbe505849
|
|
BLAKE2b-256 checksum How to use checksums |
47e9516ecdb7ee7b503c8b2e3bb36881e0eefd99bde894c451f39b95377ac1b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.2
|
Security for plant-disease-classification 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.