Esempio n. 1
0
 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)
Esempio n. 2
0
 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)
Esempio n. 3
0
	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)
Esempio n. 4
0
	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)
Esempio n. 5
0
	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)