O'Reilly logo

Mastering BeagleBone Robotics by Richard Grimmett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Accessing a camera for your project

Now that you have established a connection via a long LAN cable, the second capability you'll need is to access a camera to see where you are going. You've already done this as a part of Chapter 4, Vision and Image Processing. You can create a simple display window for OpenCV using the camera.py demo program that comes with the open source code. Depending on the camera, you might want to change the resolution of the image. Here is the program that works with the Logitech C270 webcam:

Accessing a camera for your project

Now that you have these two applications, you'll want to run both the GUI and the camera program so that you can see where you are ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required