Robot Operating System Ros Tutorial (11) Machine Vision

Source: Internet
Author: User

Machine vision in the computer age has become more and more popular, camera prices are cheaper, some integrated depth sensor hybrid sensor has gradually become popular in the field of research, such as Microsoft's launch of the Kinect, and its supporting software is very powerful, for the development of a great convenience. Ros integrates the Kinect driver package Openni and uses OPENCV libraries for a wide variety of image processing.

Note: The contents and code of this chapter refer to the tenth chapter of the ROS by Example book.

First, the image display

Let's start with the basics and figure out how to display the Kinect's image data.

1, install the driver package

The installation steps are simple:

$sudo Apt-get Install Ros-fuerte-openni-kinect

2, testing

First run the Kinect node:

$roslaunch rbx1_vision Openni_node_fuerte.launch

Then we call the Ros Image_view package to directly display the camera's database. The introduction of the Image_view package can refer to:

Http://www.ros.org/wiki/image_view.

$rosrun Image_view Image_view Image:=/camera/rgb/image_color

We can see that a standalone image display box pops up:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.