I have been working on a project which would identify diseases from a leaf. I did search and worked out a few things. However some confusions remains.
I believe following should be the flow (suggestions required)
- Crop diseased area (Manually) from leafs for building Vocabulary.
- Use
SIFT
to getkeypoints
anddescriptors
- Create
Bag of Words
Vocabulary andCluster
(K means) - Train
SVM
from descriptors obtained above - To Evaluate/Classify Take input image of entire leaf and crop it to extract diseased area using
HarCascade
- Use
SIFT
to getkeypoints
andDescriptors
and then useSVM
to Predict.
Questions are
- Is above workflow reasonable ? or i am missing something?
- I am confused about how does SVM learns the Name of object or disease for example where does SVM get Name of object it learned or detected?
- How does SVM outputs the Name of object it identified ?