This video explains in detail how to create your own auto tracking pan tilt camera Python program for Raspberry Pi and other SBCs. My example program uses the Haar Cascades face detection model which runs on the CPU, but more advanced object tracking models will require additional hardware. This project uses MediaMTX to stream the video over the local network, so it can be easily recorded in OBS Studio or other applications. Project page on my website: https://phazertech.com/projects/pan-tilt.html Part 1 of this project: https://youtu.be/hsE0PabLuPE Old guide for MediaMTX (DietPi and other OS): https://phazertech.com/tutorials/rtsp.html This project's code is also available on Github: https://github.com/PhazerTech/pan-tilt-auto-tracker Additional hardware for advanced object detection on Raspberry Pi (Amazon is more expensive than other retailers for some reason) AI Camera: https://amzn.to/4hlCjh7 AI Kit: https://amzn.to/4hRoZAO Pan & Tilt kits (gimbals) (if you don't have a 3D printer to make your own) https://amzn.to/3EcQRks https://amzn.to/4g3Dq3u https://amzn.to/4amsooG MG90S servos: https://amzn.to/4jiHEHj PCA9685 modules: https://amzn.to/42mmx0J Female to female jumper wires: https://amzn.to/4hoidCt Purchase a Raspberry Pi on Amazon Raspberry Pi 5 8GB: https://amzn.to/4gb1ceq Raspberry Pi 5 4GB: https://amzn.to/4igE404 Raspberry Pi 4 Model B 4GB: https://amzn.to/4252Xnr Raspberry Pi 3 Model B+: https://amzn.to/424PegC Raspberry Pi Zero 2 W: https://amzn.to/3UQhmSD Raspberry Pi Zero WH: https://amzn.to/4aZLlNU These are affiliate links where I earn a small commission for purchases at no extra cost to you. This is the easiest way to help the channel, thank you! Amazon: https://amzn.to/484HUnU Website: https://phazertech.com/ Donations Buy me a coffee: https://www.buymeacoffee.com/phazertech Cash App: $phazertech Chapters 00:00 Intro 00:39 Hardware options for object detection 03:12 Haar Cascades face detection on the CPU 06:04 Setting up MediaMTX local network video stream 11:22 Other software requirements 14:00 Adapting the code to your particular setup 18:04 Running the program 19:47 Outro

AI Benchmarks June 2026 update - RX 9060 XT vs RTX 3060
377 views

Slopsmith - Open Source Copy of Rocksmith
808 views

Build Guide - DIY Sound Reactive LED Controller Kit
128 views

Reacting To LTT Linux Challenge Failures, “Linux Evangelists”, & Negativity In The Community
2.3K views

YOLO Object Detection Auto Tracking Pan Tilt Camera
614 views

Bazzite vs CachyOS vs Windows 11 - Quad-core CPU Benchmarks
15.0K views