Exemplo n.º 1
0
 def check_skin(self):
     state, img = self.capture.read()
     print(state)
     if state is True:
         p = Picture.fromarray(img)
         x = p.check_skin()
         return x
Exemplo n.º 2
0
 def export_image(self):
     state, img = self.capture.read()
     if state is True:
         return True, Picture.fromarray(img)
     return False, None