is there an example for StereoBM?
nosarious opened this issue · comments
I have found two examples y others using ofxCV and OpenCV that refer to StereoBm, but I am having trouble getting any of these files to compile. Do you have an example of how stereoBM should work, or what the limitations might be?
The error I get is "cannot instatiate an abstract class".
Some of the various examples are:
https://github.com/devkicks/DepthFromStereo/blob/master/DepthFromStereo/main.cpp
There are more, but I closed those windows. Do you have a working example for stereoBM?
Still works; syntax to initialize the object has changed:
cv::Ptr<cv::StereoBM> sbm = cv::StereoBM::create(112, 15);
https://forum.openframeworks.cc/t/opencv-calib3d310-lib-occurred-error-and-solved/29808