Code covered by the BSD License  

Highlights from
Tracking red color objects using matlab

image thumbnail

Tracking red color objects using matlab

by

 

18 Sep 2010 (Updated )

This program just tracks all red color objects and draws a bounding box around them.

getCameraInfo(a)
function [camera_name, camera_id, resolution] = getCameraInfo(a)
camera_name = char(a.InstalledAdaptors(end));
camera_info = imaqhwinfo(camera_name);
camera_id = camera_info.DeviceInfo.DeviceID(end);
resolution = char(camera_info.DeviceInfo.SupportedFormats(end));

Contact us