Skip to content

Instantly share code, notes, and snippets.

View evanvin's full-sized avatar
:shipit:

Evan Vinciguerra evanvin

:shipit:
View GitHub Profile
@evanvin
evanvin / face_detection_with_servo.py
Created July 28, 2019 12:57 — forked from aallan/face_detection_with_servo.py
A Python script using the AIY Projects Vision Kit to turn a servo motor in the direction of detected face.
#!/usr/bin/env python3
import argparse
from aiy.vision.inference import CameraInference
from aiy.vision.models import face_detection
from aiy.vision.annotator import Annotator
from picamera import PiCamera
from gpiozero import Servo