saprrow / charuco-pose-estimation

ChArUco pose estimation using OpenCV

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

charuco-pose-estimation

ChArUco pose estimation using OpenCV

  1. Open In Colab
  2. Print out charuco_board.png and take a picture of it, name the picture image.png. Make sure not to accidentally stretch the image during print.
  3. Measure the actual square length and marker length of the printout, and change it in the code respectively
  4. Create intrinsic.txt with camera intrinsic matrix
  5. Upload image.png and intrinsic.txt to the current directory at the "Files" bar on the left
  6. Click "Runtime" and "Run all" and see the output file charuco_tf.txt and camera_tf.txt in the current directory

Create ChArUco charuco_board

Detect markers markers

Detect ChArUco charuco

Projection projection

Printer settings for Windows

  • Uncheck Fit picture to frame:

    printer-uncheck-fit-picture-to-frame

  • Select Shrink to Fit:

    printer-select-shrink-to-fit

About

ChArUco pose estimation using OpenCV

License:MIT License


Languages

Language:Jupyter Notebook 100.0%