def display_live(self, text=None): if text is not None: overlay_text_on_image(self.last_frame_flipped, text, self.font) cv2.imshow('main', self.last_frame_flipped)
def display_background(self, text=None): if text is not None: overlay_text_on_image(self.background_flipped, text, self.font) cv2.imshow('background', self.background_flipped)
def display_background(self, text=None): if text is not None: overlay_text_on_image(self.background_flipped, text, self.font) cv.ShowImage('background', self.background_flipped)
def display_live(self, text=None): if text is not None: overlay_text_on_image(self.last_frame_flipped, text, self.font) cv.ShowImage('main', self.last_frame_flipped)
def display(self): tmp = clone_image(self.img) overlay_text_on_image(tmp, "%s - %s" % (self.card_name, self.set_name), self.font) cv.ShowImage("match", tmp) cv.ResizeWindow("match", 800, 600)