Robotics StackExchange | Archived questions

Getting Camera_Info from IP Camera

Hello,

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?

Asked by Dipta on 2014-04-08 06:53:30 UTC

Comments

Answers

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.

Asked by ahendrix on 2014-04-08 07:10:33 UTC

Comments

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

Asked by Dipta on 2014-04-08 07:51:57 UTC

@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!

Asked by Dipta on 2014-04-08 13:50:45 UTC

Comments

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.

Asked by ahendrix on 2014-04-08 14:07:03 UTC

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

Asked by Dipta on 2014-04-08 14:39:17 UTC