War on Whitespace, master edition: trailing spaces.
This commit is contained in:
@@ -27,13 +27,13 @@ if __name__ == '__main__':
|
||||
fn = sys.argv[1]
|
||||
except:
|
||||
fn = '../cpp/baboon.jpg'
|
||||
|
||||
|
||||
img = cv2.imread(fn)
|
||||
|
||||
|
||||
if img is None:
|
||||
print 'Failed to load image file:', fn
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
cv2.imshow('original', img)
|
||||
|
||||
modes = cycle(['erode/dilate', 'open/close', 'blackhat/tophat', 'gradient'])
|
||||
|
Reference in New Issue
Block a user