Skip to content

dreossi/opal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

opal

A plant disease classifier

Requirements

Installation (Mac)

  1. Install pip and virtualenv
sudo easy_install pip
pip install --upgrade virtualenv 
  1. Create a virtualenv environment
virtualenv --system-site-packages tensorflow
  1. Activate the virtualenv environment
source ~/tensorflow/bin/activate 
  1. Ensure pip ≥8.1 is installed
easy_install -U pip
  1. Install TensorFlow
pip install --upgrade tensorflow 

Demo

Make sure that the virtual environment is activated

source ~/tensorflow/bin/activate 

Run the following command

python demo.py -i targetImage

where targetImage is the path to a grape leaf image to be classified. For instance

python demo.py -i ./data/test/1.jpg
Bad 99.9998688698 %
Good 0.000135660138767 %

The tool returns the probabilty for the leaf to be affected by peronospora disease. In this case, 99.9998% of being sick (Bad) and 0.0001% of beging healthy (Good).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages