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

Camera Calibration Uses Wrong Aspect Ratio from USB Camera

asked 2014-08-20 10:52:04 -0500

rtoris288 gravatar image

We are trying to calibrate a USB camera running at 1080p (i.e., 1920x1080). When launching usb_cam and then image_view, the image comes up correctly at the right aspect ration.

rosrun usb_cam usb_cam_node _image_width:=1920 _image_height:=1080 _pixel_format:=yuyv rosrun image_view image_view image:=/usb_cam/image_raw

image description

However, whenever we try and run the camera calibration node, the aspect ratio of the image seems to be reversed:

rosrun camera_calibration --size 8x6 --square 0.025 image:=/usb_cam/image_raw camera:=/usb_cam

image description

We are running Ubuntu 14.04 64bit with the latest Indigo build.

edit retag flag offensive close merge delete


Created a ticket/pull request here for a possible bug:

rtoris288 gravatar image rtoris288  ( 2014-08-21 09:06:37 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-07-07 08:10:10 -0500

rtoris288 gravatar image
edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-08-20 10:52:04 -0500

Seen: 787 times

Last updated: Jul 07 '15