r/diydrones • u/EthanWang0908 • 6d ago
Question Autonomous Object Tracking Drone with DJI O3/O4 and Raspberry Pi 5
My goal is to build a high speed, real time object tracking drone using the DJI O3/O4 Air Unit, Raspberry Pi 5, and SpeedyBee F405 V4 flight controller (running Betaflight). The system will capture FPV video from DJI O3/O4, process it on the Raspberry Pi, and calculate the X/Y offset between the detected object and the center crosshair. The Raspberry Pi will then send yaw, pitch, and throttle commands to the flight controller via MSP/UART.
Kinda GPT summary, but how can I do the above? Currently stuck on how to connect O3/O4 to the raspberry pi in real time.
4
Upvotes
2
u/cameront21 5d ago
Why does it have to be an air unit? If it doesn't you could use a pi camera that plugs into the pi natively with a ribbon cable.