fixes for latest changes in opencv3.0 api
fixes for latest changes in opencv3.0 api waitKey() normalization fixed mser bindings
This commit is contained in:
@@ -37,7 +37,7 @@ def find_squares(img):
|
||||
|
||||
if __name__ == '__main__':
|
||||
from glob import glob
|
||||
for fn in glob('../cpp/pic*.png'):
|
||||
for fn in glob('../data/pic*.png'):
|
||||
img = cv2.imread(fn)
|
||||
squares = find_squares(img)
|
||||
cv2.drawContours( img, squares, -1, (0, 255, 0), 3 )
|
||||
|
Reference in New Issue
Block a user