Normalized file endings.
This commit is contained in:
@@ -142,4 +142,3 @@ if __name__ == '__main__':
|
||||
match_and_draw('affine find_obj')
|
||||
cv2.waitKey()
|
||||
cv2.destroyAllWindows()
|
||||
|
||||
|
@@ -57,4 +57,3 @@ if __name__ == '__main__':
|
||||
print "camera matrix:\n", camera_matrix
|
||||
print "distortion coefficients: ", dist_coefs.ravel()
|
||||
cv2.destroyAllWindows()
|
||||
|
||||
|
@@ -117,4 +117,3 @@ if __name__ == '__main__':
|
||||
except: video_src = 0
|
||||
print __doc__
|
||||
App(video_src).run()
|
||||
|
||||
|
@@ -215,4 +215,3 @@ def draw_keypoints(vis, keypoints, color = (0, 255, 255)):
|
||||
for kp in keypoints:
|
||||
x, y = kp.pt
|
||||
cv2.circle(vis, (int(x), int(y)), 2, color)
|
||||
|
||||
|
@@ -117,4 +117,3 @@ if __name__ == '__main__':
|
||||
if ch == ord(' '):
|
||||
defocus = not defocus
|
||||
update(None)
|
||||
|
||||
|
@@ -155,4 +155,3 @@ class App:
|
||||
|
||||
if __name__ == '__main__':
|
||||
App().run()
|
||||
|
||||
|
@@ -61,4 +61,3 @@ if __name__ == '__main__':
|
||||
if need_update:
|
||||
update()
|
||||
cv2.destroyAllWindows()
|
||||
|
||||
|
@@ -43,4 +43,3 @@ if __name__ == '__main__':
|
||||
if ch == 27:
|
||||
break
|
||||
cv2.destroyAllWindows()
|
||||
|
||||
|
@@ -59,4 +59,3 @@ if __name__ == '__main__':
|
||||
if 0xFF & cv2.waitKey(5) == 27:
|
||||
break
|
||||
cv2.destroyAllWindows()
|
||||
|
||||
|
@@ -109,4 +109,3 @@ if __name__ == '__main__':
|
||||
cv2.destroyAllWindows()
|
||||
break
|
||||
cv2.destroyAllWindows()
|
||||
|
||||
|
@@ -42,4 +42,3 @@ if __name__ == '__main__':
|
||||
mark[:] = 0
|
||||
sketch.show()
|
||||
cv2.destroyAllWindows()
|
||||
|
||||
|
@@ -62,5 +62,3 @@ if __name__ == '__main__':
|
||||
|
||||
if cv2.waitKey(1) == 27:
|
||||
break
|
||||
|
||||
|
||||
|
@@ -83,4 +83,3 @@ if __name__ == '__main__':
|
||||
cur_glitch = img.copy()
|
||||
print 'glitch is', ['off', 'on'][show_glitch]
|
||||
cv2.destroyAllWindows()
|
||||
|
||||
|
Reference in New Issue
Block a user