• DepthAI
  • How to modify calibration json with own values

Hi,

We are looking into our own tool to calibrate stereo cameras and we would like to verify it using the Oak-D pro camera. I found that it is possible to load/flash your own calibration data to the camera.
I was wondering whether there is a guide or documentation somewhere on how to produce or alter this json file to be compatible with the loading/flashing process.

Best,
Jarl

    Hi Tsjarly
    It is possible, yes: https://docs.luxonis.com/projects/api/en/latest/samples/calibration/calibration_load/

    If you run the calibration_dump.py (examples), you can modify the matrices/parameters inside the json, then reupload it. It should work no problem. Just make sure not to change the top most part.
    for example:

     "batchName": "",
      "batchTime": 1661922568,
      "boardConf": "IR-C00M01-00",
      "boardCustom": "",
      "boardName": "DM9098",
      "boardOptions": 4,
      "boardRev": "R6M2E6",

    this should stay the same, otherwise depthai might not properly boot the device anymore.

    Let me know if you experience any issues.

    Thanks,
    Jaka