I would like to use some blob detection in my application which is written in Java and thus using JavaCV
instead of OpenCV
. I found many classes like:
SimpleBlobDetector
, CvBlobDetector
, CvBlob
, ... but I can't find any tutorial or demo/example code to use these in Java.
Could anyone please tell me how to use these as I can't figure it out and there's no good documentation for them.
Thanks!
I am just in this moment working on the same problem and have a first solution. There's a lot of approaches out there but unfortunately most of them are ugly and slow. My main goal to this point was to stay in the JavaCV/OpenCV-World.
These Links pushed me in the right direction:
Here's a complete Demo class that should show you how it's done. Try it with a black background image with simple objects and sharp corners for best results. Make sure to check the second link above to get informed about what's happening in the code.