Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

you will have to use the 'create' function:

>>> help(cv2.StereoBM_create)
Help on built-in function StereoBM_create:

StereoBM_create(...)
    StereoBM_create([, numDisparities[, blockSize]]) -> retval

>>> help(cv2.StereoSGBM_create)
Help on built-in function StereoSGBM_create:

StereoSGBM_create(...)
    StereoSGBM_create(minDisparity, numDisparities, blockSize[, P1[, P2[, disp12MaxDiff[, preFilterCap[, uniquenessRatio[, speckleWindowSize[, speckleRange[, mode]]]]]]]]) -> retval