Ask Your Question
-1

cannot find contrib module using android studio?

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

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
-1

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

berak gravatar image

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

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 https://github.com/opencv/opencv
git clone -b 3.4 https://github.com/opencv/opencv_contrib

(you need exactly the same version for both repos)

edit flag offensive delete link more

Question Tools

1 follower

Stats

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

Seen: 590 times

Last updated: Nov 29 '18