Detects Spot on Leaf using OpenCV
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
OpenCV_SpotDetectionOnLeaf.xcodeproj
OpenCV_SpotDetectionOnLeaf
README.md
Result_Infected.png
Result_Safe.png

README.md

OpenCV Spot Detection on Leaf

This program detects spots on leaf and counts them

Screenshot

Result Safe.png Result Infected

HowTo [OS X]

  • Download OpenCV using brew [ brew install opencv ]

  • Go to Build Settings and configure the following items

    • Set Header Search Path to /usr/local/Cellar/opencv/2.4.11_1/include
    • Set Library Search Path to /usr/local/Cellar/opencv/2.4.11_1/lib
    • Set Linkers to -lopencv_core -lopencv_highgui -lopencv_imgproc -lopencv_objdetect -lopencv_photo -lopencv_video
  • Hit CMD+R