def display(self):
"""docstring for display"""
for track in self.tracks:
if track.DISPLAY:
bbox = track.box
pt1 = (bbox[0],bbox[1])
pt2 = (bbox[2],bbox[3])
cv2.rectangle(self.img, pt1, pt2, (255,255,255), 2)
# pass # we will display its bbox
cv2.imshow('Vedio', self.img)
cv2.waitKey(1)
print 'SHOW'
return
评论列表
文章目录