Skip to content

Commit

Permalink
changed create function in tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
berak committed Apr 14, 2015
1 parent b639353 commit 723c317
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ from matplotlib import pyplot as plt
imgL = cv2.imread('tsukuba_l.png',0)
imgR = cv2.imread('tsukuba_r.png',0)

stereo = cv2.createStereoBM(numDisparities=16, blockSize=15)
stereo = cv2.StereoBM_create(numDisparities=16, blockSize=15)
disparity = stereo.compute(imgL,imgR)
plt.imshow(disparity,'gray')
plt.show()
Expand Down

0 comments on commit 723c317

Please sign in to comment.