def smart_camera():
  COUNT = 15
  face_finder = FaceFinder()
  for _ in range(COUNT):
    face_finder.show()
  face_finder.shutdown()
  responder.default()
from face_finder import FaceFinder
import os

FACE = "sudo fbi -T 1 -d /dev/fb0 -a -noverbose /home/pi/hellobot/images/default-eye.jpg"

face_finder = FaceFinder()

for _ in range(100):
    face_finder.show()

face_finder.shutdown()
os.system(FACE)
Example #3
0
def smart_camera():
    COUNT = 50
    face_finder = FaceFinder()
    for _ in range(COUNT):
        face_finder.show()
    face_finder.shutdown()