Coder Social home page Coder Social logo

johri-lab / automatic-leaf-infection-identifier Goto Github PK

View Code? Open in Web Editor NEW
221.0 15.0 157.0 225.96 MB

Automatic detection of plant diseases

License: MIT License

Python 100.00%
opencv ml machine-learning leaf-classifier image-segmentation disease-prediction python plant-diseases disease-detection leaf

automatic-leaf-infection-identifier's People

Contributors

aniruddhachattopadhyay avatar bhanuprakashnani avatar gitter-badger avatar johri-lab avatar pswaldia avatar singhv1shal avatar skyrb avatar vatch123 avatar yashrajgupta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

automatic-leaf-infection-identifier's Issues

Apply feature extractor

after the preprocessing ends, implement a feature extractor that should generate a csv file with data of all images.

Hunger for data

Increase the dataset. You can use the leaf sampler code for updating data, if you have the perfect images, for the purpose.

program crashes when trying to run python3 leafdetectionALLsametype.py

Gitbash stops running when 'python3 leafdetectionALLsametype.py -i . ' command implemented. Trying to follow instructions for running the program on my computer but nothing happens when implementing the ' python3 leafdetectionALLsametype.py -i .' line. Gitbash stops processing information and cannot which back to 'master' branch. see below:

image

User guidance

Add a User manual to help the user understand the steps to follow to use the program.

README or enhance me

Show your creativity on the README file. A more expressive and user-friendly revision.

Failed to resize an image

Image: leaf1.jpg Traceback (most recent call last): File "K:\Tensor\Automatic-leaf-infection-identifier-master\leaf-sampler\leafdetectionALLmix.py", line 79, in <module> img = cv2.resize(img,(275,183)) cv2.error: OpenCV(3.4.4) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:3784: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

Issue while Installation

/usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by "
^~~~~~~
This error i got while writing this code : sudo python3 setup.py install

main

in the main.py line 12 an error "ImageFile" not defined

Exhibit your image processing skills!

Improve the image segmentation algorithm to segment the leaves more efficiently. May work on segmenting leaves from a cluster or detection of more colors in leaf (say, purple, yellow, etc.) other than just green, that report healthy signs.

error for cv2.findContours()

line 137 in leafdetectionALLmix.py,
contours,hierarchy = cv2.findContours(bordered, cv2.RETR_TREE, cv2.CHAIN_APPROX_NONE)
error occured:
ValueError: too many values to unpack (expected 2)

while creating dataset

Couple of syntax error in code

No parenthesis wrapping print statements and img.reshape wants integer arguments so explicit typecasting is necessary.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.