User Tools

Site Tools


ros

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ros [2010/08/17 20:40] 131.159.18.233ros [2021/02/01 05:55] (current) – external edit 127.0.0.1
Line 137: Line 137:
  
   rosrun image_view image_view image:=/gscam/image_rect_color   rosrun image_view image_view image:=/gscam/image_rect_color
 +
 +==== Calibration manually ====
 +
 +The algorithm that selects the pictures in camera_calibration is not perfect, and it prefers to select blur images over sharp, also most of the times it doesn't use enough pictures. So here we explain how to use your own pictures to calibrate.
 +
 +  * Run image_view and take the pictures that you consider adequate for calibration using the left clicking.
 +
 +  cd /tmp/
 +  rosrun image_view image_view image:=/gscam/image
 +
 +Images are store in the current directory.
 +
 +  * Run the calibration from disk images:
 +
 +  rosrun camera_calibration camera_calibrate_from_disk.py --size 8x6 --square 0.0247881 /tmp/frame00*
 +
 +  * This will print the parameters to screen. Replace them in one camera_calibration.txt example file. (look in gscam directory).
  
 ===== Markers tracking ===== ===== Markers tracking =====
ros.1282077616.txt.gz · Last modified: 2021/02/01 05:55 (external edit)