Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. General Questions
  3. Why does my stereo calibration fails for extrinsics?

Why does my stereo calibration fails for extrinsics?

Scheduled Pinned Locked Moved Unsolved General Questions
7 Posts 4 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Darshit DesaiD Offline
    Darshit DesaiD Offline
    Darshit Desai
    Regular
    wrote on last edited by Darshit Desai
    #1

    I am using the modal ai portal for calibration of onboard stereo cameras but it has failed to calibrate the extrinsics multiple times.

    The board size is 6x9 with each square of 25 mm

    Please open voxl-portal in a web browser to view the camera calibrator overlay stream
    Calibrating Left Camera
    Matrix
    [508.80440670594, 0, 308.5135447003642;
     0, 505.8572996337453, 244.1641938401985;
     0, 0, 1]
    Distortion
    [-0.1811268882769062;
     0.07256140246308232;
     0.001569367963422894;
     -0.001895561795494848;
     0]
    distortion_model: plumb_bob
    Re-projection error reported by calibrateCamera: 0.228868
    Calibration Succeded!
    Calibrating Right Camera
    Matrix
    [499.3757621172282, 0, 325.48861203442;
     0, 497.8217173811094, 235.3877218749848;
     0, 0, 1]
    Distortion
    [-0.1815603484893367;
     0.06567294535447908;
     -0.001628603839397166;
     0.001644475509575583;
     0]
    distortion_model: plumb_bob
    Re-projection error reported by calibrateCamera: 0.219737
    Calibration Succeded!
    Calibrating Extrinsics
    4 frames will be processed
    R
    [0.9998749556474266, -0.01520329924164708, 0.004351179291381281;
     0.01514403461767066, 0.9997962803983895, 0.01334375947938024;
     -0.004553162039243111, -0.01327619650779887, 0.9999015008098201]
    T
    [-0.08098804070286524;
     -0.000892545176548338;
     -0.003303076144588922]
    Re-projection error reported by stereoCalibrate: 0.832656
    Detected horizontal stereo pair
    Distance between cameras: 0.0810
    Extrinsics Calibration Failed
    exceeded allowable max reprojection error:  0.5
    
    Saved intrinsics to: /data/modalai/opencv_stereo_intrinsics.yml
    Exiting Cleanly
    
    1 Reply Last reply
    0
    • Chad SweetC Offline
      Chad SweetC Offline
      Chad Sweet
      ModalAI Team
      wrote on last edited by
      #2

      Can you take a picture of your setup?

      Are the image sensors mounted rigidly on the same plane?

      Darshit DesaiD 1 Reply Last reply
      0
      • Darshit DesaiD Offline
        Darshit DesaiD Offline
        Darshit Desai
        Regular
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • Chad SweetC Chad Sweet

          Can you take a picture of your setup?

          Are the image sensors mounted rigidly on the same plane?

          Darshit DesaiD Offline
          Darshit DesaiD Offline
          Darshit Desai
          Regular
          wrote on last edited by
          #4

          @Chad-Sweet I am not sure about the plane of the camera. I am attaching some photos for your reference

          https://drive.google.com/drive/folders/1nJOy9G0-hZSNSN0kZyrtJ9HcxRaZa50X?usp=share_link

          A 1 Reply Last reply
          0
          • Darshit DesaiD Darshit Desai

            @Chad-Sweet I am not sure about the plane of the camera. I am attaching some photos for your reference

            https://drive.google.com/drive/folders/1nJOy9G0-hZSNSN0kZyrtJ9HcxRaZa50X?usp=share_link

            A Offline
            A Offline
            afdrus
            Regular
            wrote on last edited by
            #5

            @Chad-Sweet I am also facing the same issue, it is unclear from the documentation what is the procedure that should be followed to calibrate the extrinsics. Should the board be tilted? Should it be vertical or horizontal?

            ModeratorM 1 Reply Last reply
            0
            • A afdrus

              @Chad-Sweet I am also facing the same issue, it is unclear from the documentation what is the procedure that should be followed to calibrate the extrinsics. Should the board be tilted? Should it be vertical or horizontal?

              ModeratorM Offline
              ModeratorM Offline
              Moderator
              ModalAI Team
              wrote on last edited by
              #6

              @afdrus have you watched the video here found at this link? https://docs.modalai.com/calibrate-cameras/#stereo-calibration-process

              The angle of the PCB is not related to stereo calibration. For stereo configuration, the sensors must be rigidly mounted and coplanar. Any movement or tilt between the sensors will not work

              A 1 Reply Last reply
              0
              • ModeratorM Moderator

                @afdrus have you watched the video here found at this link? https://docs.modalai.com/calibrate-cameras/#stereo-calibration-process

                The angle of the PCB is not related to stereo calibration. For stereo configuration, the sensors must be rigidly mounted and coplanar. Any movement or tilt between the sensors will not work

                A Offline
                A Offline
                afdrus
                Regular
                wrote on last edited by
                #7

                @Moderator thank you for the reply, by board I meant the checkboard used for the calibration not the PCB.

                However, I watched the video, but it looks old because the current extrinsics procedure is asking me to move the checkboard in 4 poses whereas the video is showing only 2 poses. How much tilt should the checkboard have during the extrinsics calibration process in order to have a low calibration error?

                1 Reply Last reply
                1

                Reading along? Create a free ModalAI Forum account to join in.

                With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.

                Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.

                Register Login
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                ModalAI
                Categories Recent Tags ModalAI.com Docs
                © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups