def timer(self):
if self.idx < 100:
self.idx += 1
self.oldimg = self.img
# print imdb_path+'/%04d'%self.idx
self.img = cv2.imread(imdb_path+'/%04d.jpg'%self.idx)
assert self.img != None
# print self.idx
self.correlation_tracker()
Timer(0.04, self.timer).start()
评论列表
文章目录