Ask Your Question

cannot find contrib module using android studio?

asked 2018-11-29 00:38:30 -0500

a-j gravatar image

i have imported open cv 3.2.0 module and in cpp file the include files gives error.

#include "opencv2/contrib/contrib.hpp"

and this could not find contrib module. i downloaded cmake and installed it. So how do i get this module?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-11-29 01:00:18 -0500

berak gravatar image

updated 2018-11-29 01:05:46 -0500

there is no more contrib module in opencv3. (and that include does no more exist)

you will have to get the opencv_contrib repo and rebuild the opencv android sdk from src

you also should update your main opencv code like:

git clone -b 3.4
git clone -b 3.4

(you need exactly the same version for both repos)

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-11-29 00:38:30 -0500

Seen: 359 times

Last updated: Nov 29 '18