Ask Your Question
0

building opencv_contrib - minimum dependencies [closed]

asked 2017-02-21 20:45:25 -0600

sneiman gravatar image

I regular rebuild opencv for a variety of tiny embedded platforms. As a result I constantly find myself configuring and reconfiguring to get things to build - because I cannot find a determinative reference that tells me how each module depends on other modules.

A good example is my current challenge - getting a minimum build with aruco on small arm system (nanoPi NEO Air - an awesome little beast). Small size is important - but I am finding that as I cut things back, at a certain point it no longer even tries to build anything in opencv_contrib. No errors - just does not attempt to build aruco, or anything else in contrib.

I am sure you can imagine the headache, as I guess my way towards a larger footprint that will finally build.

Anybody got any ideas? Does such a reference exist? Is it implied somewhere in the docs that I have just missed? Is it buried make files?

thanks!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sneiman
close date 2017-02-22 00:11:39.782411

Comments

Tetragramm - thanks. perfect.

sneiman gravatar imagesneiman ( 2017-02-22 00:11:22 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2017-02-21 21:39:49 -0600

Tetragramm gravatar image

If you look in each module's folder, there is the CMakeLists.txt file. If you open that, there is the line that starts with ocv_define.

In aruco, it looks like this

ocv_define_module(aruco opencv_core opencv_imgproc opencv_calib3d WRAP python java)

The modules core, imgproc and calib3d are the dependencies.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-02-21 20:45:25 -0600

Seen: 426 times

Last updated: Feb 21 '17