O'Reilly logo

BeagleBone Robotic Projects 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

Connecting the USB camera to the BeagleBone Black and viewing the images

Our first step in enabling computer vision is connecting the USB camera to the USB port. I have a new Logitech HD 720 camera as my example.

Prepare for lift off

To access the USB webcam, I like to use a program called guvcview. Install this by typing sudo apt-get install guvcview.

Engage thrusters

Connect your USB camera and make sure your LAN cable is plugged in. Then apply power to the BeagleBone Black. After the system is booted, you can check to see if the BeagleBone Black has found your USB camera. Go to the /dev directory and type ls. You should see the output as shown in the following screenshot:

Look for the video0 device, the webcam. If you see it, the system knows ...

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