Browse Source

Seems to work pretty well.

Fred Damstra 6 years ago
parent
commit
bae49fd861
1 changed files with 0 additions and 3 deletions
  1. 0 3
      facetracker.py

+ 0 - 3
facetracker.py

@@ -167,7 +167,6 @@ def findface(image):
             return faces
     return ()
 
-
 def circlefaces(image, faces):
     global lastface
     for (x, y, w, h) in faces:
@@ -175,7 +174,6 @@ def circlefaces(image, faces):
         # Temporary, save the image
         cv2.imwrite("tmp/img.{}.facetype{}.png".format(datetime.now().strftime("%Y%m%d.%H%M%S.%f"), lastface), image)
 
-
 def distance_to_closest(faces):
     # Negative values will be left
     closestdistance = None
@@ -233,7 +231,6 @@ def fire():
     send_char('F')
     return
 
-
 if __name__ == "__main__":
     # allow the camera to warmup
     time.sleep(0.1)