Lines Matching refs:vis
105 vis = np.hstack([self.last_img, kernel, resp])
106 return vis
108 def draw_state(self, vis): argument
111 cv2.rectangle(vis, (x1, y1), (x2, y2), (0, 0, 255))
113 cv2.circle(vis, (int(x), int(y)), 2, (0, 0, 255), -1)
115 cv2.line(vis, (x1, y1), (x2, y2), (0, 0, 255))
116 cv2.line(vis, (x2, y1), (x1, y2), (0, 0, 255))
117 draw_str(vis, (x1, y2+16), 'PSR: %.2f' % self.psr)
163 vis = self.frame.copy()
165 tracker.draw_state(vis)
168 self.rect_sel.draw(vis)
170 cv2.imshow('frame', vis)