Skip to content

achoum/raspberry_pi_camera_follower

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry Pi Camera Follower

In this project, a AIY Vision kit is mounted on top of a Pan Tilt Hat, and a Raspberry Pi detects and follow faces. This repo contains the python script controller.

video

Usage

  1. Mount the vision kit on the Pan Tilt Hat as shown in the picture.
  2. Connect respectively the Yaw and Pitch servomotors to the PIN A and B of the Vision kit card.
  3. Connect the ground and 5V of the servmotors to the card.
  4. The Raspberry Pi, the vision kit and the two servomotors are together consuming more than the 500mA of a regular USB port. In my case, I had to use my 2A Samsung phone charger.
  5. Switch on the Raspberry Pi.
  6. When the Raspberry Pi is running, disable the startup demo with sudo systemctl stop joy_detection_demo.
  7. Start the script with python3 follower_main.

Behavior

The pan-tilt-hat keeps the camera facing any detected face. The color of led button varies from red to green depending on the smile of the face.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages