| ||||||||||||||||||||
| ||||||||||||||||||||
|
||||||||||||||||||||
|
The original CMUcam was designed to aid machine vision projects by combining a good CMOS camera with built-in image processing and serial communication. The next incarnation, the CMUcam2, uses an SX52 microcontroller with a OV6620 Omnivision CMOS camera (the higher resolution OV7620 is also available). The design is fairly neat, and the design of the board keeps the size of the system very small (about 55mm2).
Design aside, the CMUcam2 has some impressive features, some of which are listed here:
Using the CMUcam2Using the CMUcam2 is very simple. Since all the processing is done for you, you communicate with the camera using a variety of text commands sent via the serial connection. For example, connecting the CMUcam2 up to your computer and using Hyperterminal you might get similar to this:CMUcam2 v1.01 c6 :TI ACK S 103 169 72 32 67 20 T 46 67 22 4 87 140 14 3 T 47 63 22 3 87 143 15 3 T 47 61 22 3 87 137 14 3 T 47 63 20 3 87 135 15 3 T 44 57 20 3 87 136 14 3 T 49 66 24 4 87 142 15 3The TI command typed in tells the CMUcam2 to track the colour in the centre of its current window. The camera acknowledges the command, then sends an S-packet telling the user what colour is being tracked (Kermit the Frog in this case), then begins to send T-packets that detail Kermit's centroid, window size, as well as pixel and confidence information.
CMUcam2GUIThe camera also comes with a GUI that allows you to explore many of the features on the camera. The GUI is written in Java (with full source code), and allows you to grab frames, alter camera settings, view colour tracking, motion tracking, histograms, statistics and servo control: Unfortunately, my experience with the GUI has definitely been mixed. I have had the GUI freeze on me countless times, especially when grabbing frames from the camera. Error control in the program seems to be minimal. Having said this, it is hard to ascertain whether this is a problem with the GUI or the camera itself, since both the camera and the GUI seem to freeze or generate error messages.Nevertheless, the GUI does do a good job of allowing new users to become accustomed to the features of the camera, as long as you can work around the software's deficiencies.
PerformanceThe camera performs extremely well, tracking colour and motion with surprising fluidity given the picture quality. While I could not directly test the camera's integrated ability to control servos, a demonstration video is supplied on the accompanying CD-ROM that shows the camera responding quickly and accurately to a target object.
ConclusionOverall the CMUcam2 is a good package, with a camera suitable for nearly all machine vision projects. The kit has an excellent feature set, with good colour and motion tracking. Unfortunately, small things about the kit are annoying and can hamper operation; the lack of mounting points, and especially the occasional instability of both the camera and GUI stand out.This said, the CMUcam2 provides good operational performance at a very affordable price.
Submitted: 07/07/2004 Article content copyright © James Matthews, 2004.
|
|
|||||||||||||||||||
All content copyright © 1998-2007, Generation5 unless otherwise noted.
- Privacy Policy - Legal - Terms of Use -