Ask Your Question

Covvr's profile - activity

2016-07-05 16:52:50 -0600 commented question Meanshift is not an option in android native development.

Turns out that this line was missing from my header file. Oops! #include <opencv2/video.hpp>

2016-07-05 15:57:04 -0600 received badge  Supporter (source)
2016-07-05 12:51:22 -0600 commented question Meanshift is not an option in android native development.

That's the problem. It doesn't register meanShift() as a valid function as documented here

2016-07-05 11:32:11 -0600 commented question Meanshift is not an option in android native development.

Yes, but is there any way to use those in c++ for android instead of in java?

2016-07-05 11:10:02 -0600 asked a question Meanshift is not an option in android native development.

I'm trying to develop an app that uses meanshift to track an object. I got the code working in python and decided to integrate it into the android app instead of sending the data to a server for processing. I set up the ndk and imported opencv into the project. Everything worked fine until I got to the meanshift. Meanshift does not show up as an option in the IDE even though the documentation lists it as present. Camshift also doesn't show up. Strangely, however, pyrMeanShiftFiltering does show up as an option, but that's not what I'm looking for. Also, in the activity Video.MeanShift() works, but I'd prefer to stay in the native library rather than doing any big calculations in java for the sake of speed. Any help would be greatly appreciated.

image description