Ask Your Question

Revision history [back]

According to the documentation here, the Python binding is cv2.StereoSGBM().

Out of luck, I found that Python'S binding is actually cv2.createStereoSGBM(). It seems to be the right one because the help() functions returns:

createStereoSGBM(...)

createStereoSGBM(minDisparity, numDisparities, blockSize[, P1[, P2[, disp12M axDiff[, preFilterCap[, uniquenessRatio[, speckleWindowSize[, speckleRange[, mod e]]]]]]]]) -> retval