Ask Your Question
2

Android Object tracking

asked 2018-08-12 20:44:06 -0500

gmparker gravatar image

I'm building an Android based OpenCV application that needs to track objects. I was reading an article on pyimagesearch that uses various object tracking implementations (KCF, CSRT, MOSSE, etc) that are available in OpenCV 3+. I would love to try these in my android application but I don't see them exposed in the Android SDK. Are these implementations available in the SDK?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
4

answered 2018-08-15 12:17:58 -0500

wmmc88 gravatar image

updated 2018-08-15 12:39:47 -0500

The tracking API is in the opencv-contrib repo now. You need to build the sdk from sources using the build_sdk.py script with the --extramodules_flag to specify bluilding with the contrib repo. It's really annoying to setup because you need specific versions of old build tools for it to build properly. This is what I needed to use to get it to build properly:

  • jdk 1.6
  • ant 1.9.6
  • Android SDK Tools 25.2.2
  • Android Build Tools 23.0.3
  • Android NDK r10e
  • Python 2.7
  • latest ninja

I tried my best to mirror the tools used by their automated build system: http://pullrequest.opencv.org/buildbo...

You could also use one of their nightly builds that are available here (I have literally no idea how I managed to find this): http://pullrequest.opencv.org/buildbo...

edit flag offensive delete link more

Comments

How did you managed to find this? (Just a bit trolling) But seriously - i was searching for nightly build of opencv some time ago and didn't found it - thank you!

holger gravatar imageholger ( 2018-08-16 03:39:42 -0500 )edit
Login/Signup to Answer

Question Tools

2 followers

Stats

Asked: 2018-08-12 20:44:06 -0500

Seen: 381 times

Last updated: Aug 15 '18