Reputation: 101
I am trying to develop a simply Android OpenCV program which can detect a black dot on white paper using a Samsung Galaxy S3 camera.
To do this I've just copied the face detection program from OpenCV samples and I want to add my own Haar cascades to search for dots instead of faces. I have been sitting here for something like two days, and I can't find anything useful - everything is made on Windows or Linux.
Can anyone tell me a tip how to make my own XML with Haar cascade on the Mac or is there any other (easier) way to implement that?
Upvotes: 0
Views: 2731
Reputation: 2474
Open CV for ANDROID: http://opencv.org/platforms/android.html
Open CV provides a built in example for Shape Detection for windows and linux(don't know if its available on android). Its your duty to search for it. A slight modification can help you with your task.
haar-classifiers are mainly meant for dealing with human body, face, etc. Although you can train and create your own haar classifiers for this task(http://note.sonots.com/SciSoftware/haartraining.html#t1a1f262) but its like madness because there are other so easy methods out there.
Upvotes: 0