1 | initial version |
Generally, this is an extremely difficult task.
You can use latent-svm detector for those objects: http://docs.opencv.org/modules/objdetect/doc/latent_svm.html
But the running times are about 3-10 seconds per image.
For information about BOW + SVM, you can look into this blog post: http://gilscvblog.wordpress.com/2013/08/23/bag-of-words-models-for-visual-categorization/
Other solutions outside of OpenCV, would be Decaf and Caffe, but I'm not sure it would run on android (perhaps you can send the image to a server that performs the classification and that server would run Decaf/Caffe).
Decaf: https://github.com/UCB-ICSI-Vision-Group/decaf-release/
Caffe: http://caffe.berkeleyvision.org/