Ball-Tracking deployed to Raspberry Pi and Arduino

Distributed Ball-Tracking deployed to Raspberry Pi and Arduino


Updated 1 Sep 2016

View License

A system of two embedded systems automatically analyses video footage and track a ball with a camera. The setup consists of an Arduino Uno R3 to control the motor that turns the camera, and a Raspberry Pi Model B that handles imaging and image analysis. The example can be used as a laboratory exercise for image acquisition and processing, controls, parameter tuning, system identification, testing, and deployment on embedded platforms.
Alternatively, the part of the Raspberry Pi can be done on a PC and the communication to the Arduino via serial port (minimal version).

Cite As

Daniel Weida (2023). Ball-Tracking deployed to Raspberry Pi and Arduino (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Updated license

zip-file re-uploaded
Version 2.0 with updated structure and physical modeling with parameter estimation

Copyright information revised