Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

private functions in matlab bindings

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