private functions in matlab bindings

asked 2014-04-02 16:30:42 -0500

cdicle gravatar image

I am trying to compile latest github version of OpenCV with matlab bindings on Mac OS X. I got pretty much all the functions working following this post.

I realized that the files under opencv_build_dir/modules/matlab/src/private are not compiled. That is why functions like VideoCapture do not work in MATLAB and give the error,

Undefined function 'VideoCaptureBridge' for input arguments of type 'char'.

Error in cv/VideoCapture (line 15) this.ptr_ = VideoCaptureBridge('new', varargin{:});

Error in test_vtt_mf_camera (line 6) vidcap = cv.VideoCapture(0);

I bet this is a quick fix to get those private functions compiled but I could not nail it. Can anybody help me to make necessary changes?

Thanks

edit retag flag offensive close merge delete

Comments

I have the same problem (openCV 3.1.0, OS X 10.10.5) -- private functions are not being compiled by the build system so the matlab bindings don't pick up any of the "Bridge" functions. Any thoughts on how to trigger the build to compile files in this directory?

davidS gravatar imagedavidS ( 2016-03-31 22:50:03 -0500 )edit