Wiki

Version 261 (Kwabena Agyeman, 01/17/2014 06:10 pm)

1 5 Kwabena Agyeman
h1. Wiki
2 7 Kwabena Agyeman
3 251 Kwabena Agyeman
!/attachments/515/CMUcam4_A.JPG! !/attachments/516/CMUcam4_B.JPG! !/attachments/659/CMUcam4%20Arduino%20Shield%20B%20Little%20-%20Rev%20A.jpg! !/attachments/657/CMUcam4%20Arduino%20Shield%20A%20Little%20-%20Rev%20A.jpg!
4 55 Kwabena Agyeman
5 41 Kwabena Agyeman
h3. *Quick Links*
6 1 Redmine Admin
7 71 Kwabena Agyeman
* [[Quick Start]]
8 71 Kwabena Agyeman
9 249 Kwabena Agyeman
* "Arduino Interface Library":/docs/cmucam4/arduino_api/
10 175 Kwabena Agyeman
* [[BASIC Stamp 2 Interface Library]]
11 212 Kwabena Agyeman
* [[CMUcam4 Graphical User Interface]]
12 173 Kwabena Agyeman
13 218 Kwabena Agyeman
* [[Lextronic Camera|Black Lextronic Camera Documentation]]
14 218 Kwabena Agyeman
* [[SparkFun Camera|Red SparkFun Camera Documentation]]
15 218 Kwabena Agyeman
* [[Parallax Camera|Blue Parallax Camera Documentation]]
16 188 Kwabena Agyeman
17 217 Kwabena Agyeman
* [[Firmware Source Code and Binaries]]
18 217 Kwabena Agyeman
19 254 Kwabena Agyeman
* [[How to use the CMUcam4 properly]]
20 254 Kwabena Agyeman
* [[How the CMUcam4 works]]
21 253 Kwabena Agyeman
22 171 Kwabena Agyeman
* [[Color-tracking Explanation]]
23 171 Kwabena Agyeman
* [[Tips and Tricks]]
24 185 Kwabena Agyeman
25 50 Kwabena Agyeman
* [[Frequently Asked Questions]]
26 1 Redmine Admin
* [[Troubleshooting]]
27 198 Kwabena Agyeman
28 1 Redmine Admin
* [[Gallery]]
29 1 Redmine Admin
* [[People]]
30 1 Redmine Admin
31 1 Redmine Admin
* [[CMUcam1:]]
32 1 Redmine Admin
* [[CMUcam2:]]
33 1 Redmine Admin
* [[CMUcam3:]]
34 197 Kwabena Agyeman
35 216 Kwabena Agyeman
* [[Legal Information]]
36 236 Kwabena Agyeman
37 236 Kwabena Agyeman
h3. *Cool Videos*
38 236 Kwabena Agyeman
39 259 Kwabena Agyeman
{{youtube(oLCOUdFDnUc, 400, 300)}} {{youtube(ByGZRh62glw, 400, 300)}} {{youtube(0UklfX38tfY, 400, 300)}} 
40 256 Kwabena Agyeman
{{youtube(5j07NPJGnkE, 400, 300)}} {{youtube(XjI2kwcpDAQ, 400, 300)}} {{youtube(zgVv-cEwN4U, 400, 300)}}
41 63 Kwabena Agyeman
42 184 Kwabena Agyeman
h3. *Cool Projects*
43 184 Kwabena Agyeman
44 1 Redmine Admin
* [[Multi-Shot Cannon]] - By: Wesley Myers
45 257 Kwabena Agyeman
* [[Autonomous Vehicle Control]] - By: Haim Baruh, Joshua Metersky, Richard Quan, and David Wu
46 258 Kwabena Agyeman
* [[Low Power Motion Detection]] - By: Kwabena Agyeman
47 260 Kwabena Agyeman
* [[Mobot]] - By: Cosku Acay, Edwin Cho, Kenneth Li, Nishant Pol
48 184 Kwabena Agyeman
49 41 Kwabena Agyeman
h3. *Where can I buy a CMUcam4?*
50 26 Kwabena Agyeman
51 261 Kwabena Agyeman
* "Lextronic":http://www.lextronic.fr/ (France) - "Here":http://www.lextronic.fr/P1890-module-de-reconnaissance-video-cmucam4.html
52 109 Kwabena Agyeman
53 261 Kwabena Agyeman
* "SparkFun":http://www.sparkfun.com/ (America) - "Here":https://www.sparkfun.com/products/10032
54 98 Kwabena Agyeman
55 63 Kwabena Agyeman
h3. *Typical Uses*
56 63 Kwabena Agyeman
57 90 Kwabena Agyeman
The CMUcam4 can be used to track colors or collect basic image statistics. The best performance can be achieved when there are highly contrasting and intense colors. For instance, it can easily track a red ball on a white background, but it would be hard to differentiate between different shades of brown in changing light. Tracking colorful objects can be used to localize landmarks, follow lines, or chase moving beacons. Using color statistics, it is possible for the CMUcam4 to monitor a scene, detect a specific color, or do primitive motion detection. If the CMUcam4 detects a drastic color change, then chances are something in the scene changed. Using “line mode”, the CMUcam4 can generate low resolution binary images of colorful objects. This can be used to do more sophisticated image processing that includes line following with branch detection, or even simple shape recognition. These more advanced operations require custom algorithms to post process the binary images sent from the CMUcam4. As is the case with a normal digital camera, this type of processing might require a computer or at least a fast microcontroller.
58 63 Kwabena Agyeman
59 63 Kwabena Agyeman
h3. *Typical Configuration*
60 63 Kwabena Agyeman
61 99 Kwabena Agyeman
The most common configuration for the CMUcam4 is to have it communicate to a master processor via a standard TTL serial port. This “master processor” could be a computer (through USB or RS232), Arduino, Basic Stamp, PIC, or similar microcontroller. The CMUcam4 is small enough to add simple vision to embedded systems that can not afford the size or power of a standard computer based vision system. Its communication protocol is designed to accommodate even the slowest of processors. The CMUcam4 supports various baud rates to accommodate slower processors. For even slower processors, the CMUcam4 can operate in “poll mode”. In this mode, the host processor can ask the CMUcam4 for just a single packet of data. This gives slower processors the ability to more easily stay synchronized with the data. It is also possible to add a delay between individual serial data characters using the “delay mode” command. Due to communication delays, both poll mode and delay mode will lower the total number of frames that can be processed in one second.