Ask Your Question
2

Camera calibration on android camera

asked 2011-10-11 06:21:11 -0500

rhtmxhq8 gravatar image

I'm trying to calibrate the stereo cameras on the android camera, I'm running into problems.

1) I tried doing this in stereo webcams and done rosrun camera_calibration cameracalibrator.py --size 8x6 --square 0.108 right:=/my_stereo/right/image_raw left:=/my_stereo/left/image_raw left_camera:=/dev/video2 right_camera:=/dev/video1

How would I do this using android phones when I cannot find to the set_camera_info? This brings up the next where

2) I'm trying to advertise set_camera_info service to calibrate the cameras. One topic recommends camera_info_manager but I'm not entirely sure how its working.

Currently I have android ros publishing, and my ros master in laptop shows /camera/stereo/left/camera_info /camera/stereo/left/image_raw /camera/stereo/left/image_raw/compressed /camera/stereo/right/camera_info /camera/stereo/right/image_raw /camera/stereo/right/image_raw/compressed

edit retag flag offensive close merge delete

Comments

What camera driver are you running on the android?
joq gravatar image joq  ( 2011-10-11 11:14:03 -0500 )edit
I'm not entirely so sure, its Android EVO3D, I want to know how to use the rosrun camera_info_manager, i'm guessing i need to know the driver.
rhtmxhq8 gravatar image rhtmxhq8  ( 2011-10-13 04:09:13 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2011-10-19 02:51:58 -0500

sebsch gravatar image

It looks like your camera driver does not provide the set_camera_info service. Only few camera drivers do. In this case, you need to run cameracalibrator.py with this option:

--no-service-check

Once you are done calibrating, you have to find the file in which your camera driver stores its calibration information (the data published in camera_info) and edit it manually.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-10-11 06:21:11 -0500

Seen: 1,432 times

Last updated: Oct 19 '11