Page 270 - Build Your Own Quadcopter_ Power Up Your Designs with the Parallax Elev-8
P. 270

Chapter  9: Airbor ne V ideo  Systems       249


                                Three main sections of this application deal with different aspects of image processing.
                             The center section is where the processed image appears. The image shown in Figure 9.26
                             has not been processed, so it appears in its original, or raw, state. The section to the left is
                             where you can select one or more processing options to apply to the image displayed in the
                             center section. The bottom, center section shows, in sequence, all the processing effects that
                             have been applied to the image. If it is applicable, parameter data will also appear in
                             this section.
                                The RoboRealm application must be configured for the appropriate video source before
                             any image processing takes place. Ensure that the EzCap device is plugged into a USB port
                             before you start RoboRealm. Next, start the application, and click on the Camera button that
                             is in the menu bar at the bottom of the center section. Then click on the Options button on
                             the menu bar at the top of the center section, and select the Video tab when the Dialog box
                             appears. A Camera Source selection textbox should appear as shown in Figure 9.27.
                                In my case, there were three selections shown. I chose the WDM 2861 Capture, which is
                             the logical name for the EzCap device. That should do it, and you should see live video in
                             the center section. At this point, you can actually process the live video stream if you desire.
                             To demonstrate this, I chose a filter in the Canny edge detection operation from the left hand
                             column and simply double clicked it. The results are shown in Figure 9.28.










































                             Figure 9.27  Camera Source selection textbox.
   265   266   267   268   269   270   271   272   273   274   275