lk_track.py window renamed

pull/13383/head
Alexander Mordvintsev 14 years ago
parent b175348d93
commit c9d9d1ec92
  1. 4
      samples/python2/lk_track.py

@ -42,8 +42,6 @@ def main():
try: video_src = sys.argv[1]
except: video_src = video.presets['chess']
cv2.namedWindow('img', 0)
track_len = 4
tracks = []
cam = video.create_capture(video_src)
@ -71,7 +69,7 @@ def main():
draw_str(vis, (20, 40), 'time: %.02f ms' % (dt*1000))
prev_frame = frame.copy()
cv2.imshow('img', vis)
cv2.imshow('lk_track', vis)
ch = cv2.waitKey(5)
if ch == 27:
break

Loading…
Cancel
Save