Camera calibrator for monocular camera with 320x240 resolution

asked 2019-09-21 10:02:21 -0500

Dylan gravatar image

I need to use the camera_calibration package for a camera with 320x240 resolution, but I don't know where I can fix those values. I calibrated the camera with this package and I get:

image_width: 640 image_height: 360

What can I do?

edit retag flag offensive close merge delete

Comments

1

Camera resolution should come from an associated cam_info message. What driver are you using for your camera. Is that message being published?

Jari gravatar image Jari  ( 2019-09-21 17:01:42 -0500 )edit

I'm using the ardrone_autonomy. I have an AR Drone 2.0 and I'm using the bottom camera

Dylan gravatar image Dylan  ( 2019-09-21 17:10:21 -0500 )edit

@Jari can you please help me? I really need to solve this

Dylan gravatar image Dylan  ( 2019-09-25 02:51:47 -0500 )edit

I'm not familiar with the platform but I will try.

First off: is there a camera_info topic in your rostopics? If yes can you share a sample from it?

Also can you share a single image from your dataset (rqt_image_view lets you save images I think)

Jari gravatar image Jari  ( 2019-09-25 09:21:17 -0500 )edit

I have a setcamerainfo.h like this file but I don't know how the parameters height and width

Dylan gravatar image Dylan  ( 2019-09-27 06:05:36 -0500 )edit