Code covered by the BSD License  

Highlights from
Chasing Robots using a webcam

Be the first to rate this file! 9 Downloads (last 30 days) File Size: 1.81 MB File ID: #27617

Chasing Robots using a webcam

by Abdel-Razzak

 

15 May 2010 (Updated 18 May 2010)

A MATLAB Program that uses a webcam to watch three different robots.

| Watch this File

File Information
Description

A MATLAB Program that uses a webcam to watch three different robots. It gets their positions online so it is possible to draw their paths and their inter-agent distances.

The robots have three different color labels. This program uses the RGB properties to detect the labels to find them. I used the code: Color Threshold written by Mr. Aaron to find the RGB properties of the labels offline. Drawings are done offline.

NOTE: the program works under MATLAB 7.6.0(2008.a) and NOT GUARANTEED to work under other versions without some changes.

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
18 May 2010

a command to save the screen shots as avi video is added

Tag Activity for this File
Tag Applied By Date/Time
webcam Abdel-Razzak 17 May 2010 11:52:57
rgb Abdel-Razzak 17 May 2010 11:52:57
recognition Abdel-Razzak 17 May 2010 11:52:57
image processing Abdel-Razzak 17 May 2010 11:52:57

Contact us at files@mathworks.com