Ask Your Question

grendell's profile - activity

2016-10-27 11:07:33 -0500 received badge  Enthusiast
2016-10-25 18:14:23 -0500 commented question How do I build example_sfm_scene_reconstruction?

I compiled and installed both from source just to confirm. Same results. I have captured the output of cmake and make here. Thanks again.

2016-10-21 12:34:30 -0500 commented question How do I build example_sfm_scene_reconstruction?

I have installed both via homebrew. I don't believe sfm was showing up in the list to be built before I had them installed. Thanks, though!

2016-10-20 22:57:33 -0500 asked a question How do I build example_sfm_scene_reconstruction?

I am trying to evaluate the opencv_contrib/scene_reconstruction sample, but cannot figure out how to compile it on OSX. I have cloned opencv 3.1.0 and opencv_contrib 3.1.0.

Here is my current cmake command, run from ~/projects/opencv/build:

cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local -D OPENCV_EXTRA_MODULES_PATH=/Users/gwendell/projects/opencv_contrib/modules -D BUILD_EXAMPLES=ON -D BUILD_DOCS=ON ..

sfm is listed in the modules to be built:

--   OpenCV modules:
--     To be built:                 core flann imgproc ml photo reg surface_matching video dnn fuzzy imgcodecs shape videoio highgui objdetect plot superres ts xobjdetect xphoto bgsegm bioinspired dpm face features2d line_descriptor saliency text calib3d ccalib datasets java rgbd stereo structured_light tracking videostab xfeatures2d ximgproc aruco optflow sfm stitching python2

After running make, bin has 108 example_* executables, as well as opencv_test_sfm, but not example_sfm_scene_reconstruction. Am I missing a cmake flag, or some other configuration? Thank you in advance.