Matlab: Tracking a Green Ball

This example shows you how to use MATLAB to process images captured from a Raspberry Pi Camera Board module to track a green ball. The Raspberry Pi Camera Board is a custom designed add-on module for Raspberry Pi hardware. The MATLAB Support Package for Raspberry Pi Hardware allows you to capture images from the Raspberry Pi Camera Board and bring those right into MATLAB for processing. Using this capability we will develop an ball tracking algorithm.

Fonte e mais detalhes aqui