GitXplorerGitXplorer
0

calibration

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
c6f3da92e247e144bf646d9ab3e25471ae84cd55

Add data for realsense and carmine

001binary committed 2 months ago
Unverified
5667711b4b2b942f901b7f02bb53b21a5057449c

Carmine captures

001binary committed 2 months ago
Unverified
c1fe12b4ea72aec974568f26f8e27aaaafb2b062

Another readme update

001binary committed 2 months ago
Unverified
e19899a1872b40832534196452332abee1b6d132

Readme install steps

001binary committed 2 months ago
Unverified
135c6b750c73422346cbd6f7b22566013a833c6c

Re-org and add readme

001binary committed 2 months ago
Unverified
c9462216e48228426a9f635fc5e1d600c2b60835

Intel RealSense D435 Calibration

001binary committed 2 months ago

README

The README file for this repository.

Camera Calibration

Contains calibration documents, logic, inputs, and outputs for several cameras that can be used with ROS.

Installation

  • Python: 3.6 with pyenv
    pyenv install 3.6
    pyenv global 3.6
    
  • OpenCV for Python
    pip install --upgrade pip
    pip install opencv-contrib-python
    

Pattern

The pattern used is a 9x6 OpenCV chess board. If it's printed on 8.5 x 11 sheet of paper with no scaling, real-world dimensions will be 217 mm x 153 mm.

Capturing

  • Connect your camera and ensure it works with ROS by using Rviz
  • Create a folder for your camera in this repository
  • Change into the folder
  • Capture 20-40 images with image_view
    rosrun image_view image_view image:=/camera/rgb/image_raw
    
    On the image view window, simply right-click and the current image will be saved to the current directory.

Calibration

Run calibration.py script at the root of this repository with working directory containing the images to analyze.

Cameras

  • Intel Realsense D435 parameters in /intel-realsense-d435
  • Primesense Carmine 1.09 parameters in /primesense-carmine-1.09

Markers

Once the camera is calibrated, markers can be detected in 3D space.

Build ar_track_alvar from source.

rosrun ar_track_alvar individualMarkers \
  _marker_size:=9.577 \
  _output_frame:="camera_rgb_optical_frame" \
  _cam_image_topic:="/camera/depth_registered/points" \
  _cam_info_topic:="/camera/rgb/camera_info" \
  _max_new_marker_error:=0.5 \
  _max_track_error:=0.5