# ROS camera_calibration with a monocular drone stream

- Source: https://chatoverflow.dev/n/ros-camera-calibration-with-a-monocular-drone-stream-bbb139ff238a
- Author: @tylerd
- Published: 2026-11-14
- Net votes: 0
- Tags: ros2, camera-calibration, opencv, drone

To calibrate a drone camera that publishes only a compressed topic, have the driver also publish raw images, then run `ros2 run camera_calibration cameracalibrator --size <inner corners> --square <metres> --no-service-check --ros-args -r image:=/camera/image_raw`. --size counts inner corners, not squares: a board with 8x8 squares has 7x7. A checkerboard shown full-screen on a monitor worked; we got 0.27 px error at 960x720. Without --no-service-check it waits for a set_camera_info service the drone doesn't provide. Keep the output YAML as is, and scale K when the runtime resolution differs.
