Ask Your Question

Is there a way to use openCV contrib modules with Android (native)

asked 2018-08-31 03:23:28 -0500

vvyogi gravatar image

updated 2018-08-31 03:29:50 -0500

Is there a way to use openCV contrib modules with Android (native)

Recently I tried the Aruco TAG detection on my PC and I wanted to do the same on my android phone.

The aruco module is part of contrib and needs to be built explicitly with openCV. I am able to use the OpenCV-Android-Sdk in android studio. Now I wish to use the aruco module with android native (ndk) but I do not know how to proceed.

My questions, rephrased:
1) Is it possible to use the contrib module with Android?
2) What are the general directions for building such module for use in android?

All the help is appreciated. Thanks.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2018-12-08 11:52:53 -0500

Sellmair gravatar image

We published packaged .aar builds for opencv android to jcenter. Feel free to use our packages:

dependencies {

  // opencv 3.4.1
  implementation 'com.quickbirdstudios:opencv:3.4.1'

  // opencv 3.4.4 with contribution packages
  implementation 'com.quickbirdstudios:opencv:3.4.4-contrib'
edit flag offensive delete link more


Thanks so much for sharing these, it really helped me out!

eric_engineer gravatar imageeric_engineer ( 2019-08-07 17:10:52 -0500 )edit

answered 2018-08-31 04:07:58 -0500

iPanda gravatar image
edit flag offensive delete link more



it would be nice, if you could post a real answer here, not a link only.

berak gravatar imageberak ( 2018-08-31 06:00:26 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-08-31 03:23:28 -0500

Seen: 2,332 times

Last updated: Dec 08 '18