ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Getting Camera_Info from IP Camera [closed]

asked 2014-04-08 06:53:30 -0600

Dipta gravatar image

updated 2016-10-24 08:36:46 -0600

ngrennan gravatar image


Kindly need your help, Currently I am working on AR Tags detection using IP Camera. I already succeed published the ROS Image messages from my IP Camera by streaming from Camera URL using OpenCV. The image can also be shown in rviz image node.

However, I have no idea how to generate camera_info message from this IP Camera, since the way to access this images are using URL directing to its MJPG images. Any ideas?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Dipta
close date 2014-04-08 14:43:03

2 Answers

Sort by ยป oldest newest most voted

answered 2014-04-08 07:10:33 -0600

ahendrix gravatar image

Take a look at the camera_info_manager package. It has a C++ API that makes it very easy to serve CameraInfo for your camera. Note that once you have CameraInfo incorporated into your driver, you still have to run the camera calibration to compute the intrinsics for your specific camera.

edit flag offensive delete link more


Thanks! I will take a look on that. seems takes time to learn it since there has not been any tutorials written..

Dipta gravatar image Dipta  ( 2014-04-08 07:51:57 -0600 )edit

answered 2014-04-08 13:50:45 -0600

Dipta gravatar image

@ahendrix hello, could you help me on the camera_info_url? I know some sample package have url to their camera info "file:///camera/calibration.yaml" Let's say, in my package folder, I have such calibration.yaml file in folder "config" , how do I point my URL "file:///camera/calibration.yaml" to my calibration file in that folder? Thanks!

edit flag offensive delete link more


Sorry, I don't know much about the camera_info_manager, beyond the fact that it's the right library for storing and serving camera info. You should probably ask a new question about this.

ahendrix gravatar image ahendrix  ( 2014-04-08 14:07:03 -0600 )edit

@ahendrix Ok Thanks! I will open a new question about this

Dipta gravatar image Dipta  ( 2014-04-08 14:39:17 -0600 )edit

Question Tools

1 follower


Asked: 2014-04-08 06:53:30 -0600

Seen: 747 times

Last updated: Apr 08 '14