Skip to content

🎥 Tracks a persons face using an ESP32 and servos. Programmed using Arduino IDE and 3D models made in Autodesk Inventor.

Notifications You must be signed in to change notification settings

AshishA26/Turret-Face-Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Turret-Face-Tracker

The project was designed to track a persons face using an ESP32-Wrover and servos. Based on where the person's face is in the view of the camera, the device will move so as to center the person's face again.

Made for our TEJ Computer Technology class. Programmed using Arduino IDE and 3D models made in Autodesk Inventor.

TurretPic1 TurretGif

Instructions:

Pins:

  • Connect the signal pin of the PAN Servo to pin 12 of the ESP32
  • Connect the signal pin of the TILT Servo to pin 13 of the ESP32
  • Connect power of both servos to VCC of the ESP32
  • Connect ground of both servos to GND of the ESP32

Setup:

  1. Follow this link on how to setup ESP32 with arduino
  2. Under Tools->Boards->ESP32 Arduino, select "ESP32 Wrover Module"
  3. Under Tools->Partition Scheme, select "Huge APP (3MB No OTA/1MB SPIFFS)"
  4. Change the WIFI SSID and Password if needed in the code, and make sure your computer is connected to the same WIFI through LAN or wireless
  5. Upload the code to the right COM port
  6. If nothing comes up in Serial Monitor, find IP address of ESP32 and go to that address in your browser
  7. If all is good you will get a screen like this:

ESP32_Browser1

  1. Click "Start Stream", make XCLK Mhz = 10, switch on V-Flip, make Resolution = QVGA (320x240), make WB Mode = Sunny, and then switch on Face Detection

ESP32_Browser2

  1. Sense your face and it should start tracking you

Links:

Tutorials:

Product and library links:

About

🎥 Tracks a persons face using an ESP32 and servos. Programmed using Arduino IDE and 3D models made in Autodesk Inventor.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published