Hi,

I get the following error on my OAK-1 Lite camera:
[1844301001BFF50800] [1.1] [5.992] [system] [warning] Calibration Data on device is empty

I tried to factory reset the calibration, which gives the following error:
Factory reset calibration FAIL: Missing or corrupted factory default calibration

Is there any way to download the .json file with the default OAK-1 Lite configuration and load it onto the camera?

Thanks!

Hi @maxsitt
You can try recalibrating the device using https://docs.luxonis.com/hardware/platform/calibration/. This will flash it to user space. Depending on the current calibration you have, it might be that some values are missing, for which you will need some special env variable to flash.
But try just flashing the calibration first. If it doesn't work, paste your calib json here and we will fix it.

Thanks,
Jaka

Hi @jakaskerl,

thanks for your reply and the link to the manual calibration procedure!

So it is not possible to just load the default calibration on the device? I would like to save some time, this is the main reason I'm asking this. If there is any alternative way to the manual recalibration I would prefer it. At the moment the calib json is completely empty for all fields.

Thanks,
Max

    maxsitt
    You can try flashing the calibration using https://docs.luxonis.com/software/depthai/examples/calibration_flash/.

    depending on which variant you have
    FF

    {
      "batchName": "",
      "batchTime": 1659139894,
      "boardConf": "nIR-C01M00-00",
      "boardCustom": "",
      "boardName": "NG9093",
      "boardOptions": 0,
      "boardRev": "R2M0E3",
      "cameraData": [
        [
          0,
          {
            "cameraType": 0,
            "distortionCoeff": [
              28.034021377563477,
              -13.615374565124512,
              -0.0006991471163928509,
              0.0016381831374019384,
              137.32745361328125,
              28.062868118286133,
              -17.048789978027344,
              142.92315673828125,
              0.0,
              0.0,
              0.0,
              0.0,
              0.0,
              0.0
            ],
            "extrinsics": {
              "rotationMatrix": [
                [
                  0.0,
                  0.0,
                  0.0
                ],
                [
                  0.0,
                  0.0,
                  0.0
                ],
                [
                  0.0,
                  0.0,
                  0.0
                ]
              ],
              "specTranslation": {
                "x": -0.0,
                "y": -0.0,
                "z": -0.0
              },
              "toCameraSocket": -1,
              "translation": {
                "x": 0.0,
                "y": 0.0,
                "z": 0.0
              }
            },
            "height": 2160,
            "intrinsicMatrix": [
              [
                2981.563232421875,
                0.0,
                1906.5953369140625
              ],
              [
                0.0,
                2981.563232421875,
                1098.9573974609375
              ],
              [
                0.0,
                0.0,
                1.0
              ]
            ],
            "lensPosition": 0,
            "specHfovDeg": 68.7938003540039,
            "width": 3840
          }
        ]
      ],
      "deviceName": "",
      "hardwareConf": "F1-FV00-BC000",
      "housingExtrinsics": {
        "rotationMatrix": [],
        "specTranslation": {
          "x": 0.0,
          "y": 0.0,
          "z": 0.0
        },
        "toCameraSocket": -1,
        "translation": {
          "x": 0.0,
          "y": 0.0,
          "z": 0.0
        }
      },
      "imuExtrinsics": {
        "rotationMatrix": [
          [
            0.0,
            0.0,
            0.0
          ],
          [
            0.0,
            0.0,
            0.0
          ],
          [
            0.0,
            0.0,
            0.0
          ]
        ],
        "specTranslation": {
          "x": 0.0,
          "y": 0.0,
          "z": 0.0
        },
        "toCameraSocket": -1,
        "translation": {
          "x": 0.0,
          "y": 0.0,
          "z": 0.0
        }
      },
      "miscellaneousData": [],
      "productName": "OAK-1 Lite FF",
      "stereoEnableDistortionCorrection": false,
      "stereoRectificationData": {
        "leftCameraSocket": 255,
        "rectifiedRotationLeft": [
          [
            0.0,
            0.0,
            0.0
          ],
          [
            0.0,
            0.0,
            0.0
          ],
          [
            0.0,
            0.0,
            0.0
          ]
        ],
        "rectifiedRotationRight": [
          [
            0.0,
            0.0,
            0.0
          ],
          [
            0.0,
            0.0,
            0.0
          ],
          [
            0.0,
            0.0,
            0.0
          ]
        ],
        "rightCameraSocket": 255
      },
      "stereoUseSpecTranslation": true,
      "version": 7,
      "verticalCameraSocket": -1
    }

    For AF:

    {
      "batchName": "",
      "batchTime": 0,
      "boardConf": "",
      "boardCustom": "",
      "boardName": "NG9093",
      "boardOptions": 0,
      "boardRev": "R3M1E2",
      "cameraData": [
        [
          0,
          {
            "cameraType": 0,
            "distortionCoeff": [
              -5.093395709991455,
              15.373610496520996,
              -0.0022202185355126858,
              0.0009381581912748516,
              -19.86338233947754,
              -5.1649932861328125,
              15.647490501403809,
              -20.12357521057129,
              0.0,
              0.0,
              0.0,
              0.0,
              0.0,
              0.0
            ],
            "extrinsics": {
              "rotationMatrix": [
                [
                  0.0,
                  0.0,
                  0.0
                ],
                [
                  0.0,
                  0.0,
                  0.0
                ],
                [
                  0.0,
                  0.0,
                  0.0
                ]
              ],
              "specTranslation": {
                "x": -0.0,
                "y": -0.0,
                "z": -0.0
              },
              "toCameraSocket": -1,
              "translation": {
                "x": 0.0,
                "y": 0.0,
                "z": 0.0
              }
            },
            "height": 2160,
            "intrinsicMatrix": [
              [
                2979.9453125,
                0.0,
                1926.9207763671875
              ],
              [
                0.0,
                2979.9453125,
                1071.903076171875
              ],
              [
                0.0,
                0.0,
                1.0
              ]
            ],
            "lensPosition": 49,
            "specHfovDeg": 68.7938003540039,
            "width": 3840
          }
        ]
      ],
      "deviceName": "OAK-1-LITE-C21",
      "hardwareConf": "",
      "housingExtrinsics": {
        "rotationMatrix": [],
        "specTranslation": {
          "x": 0.0,
          "y": 0.0,
          "z": 0.0
        },
        "toCameraSocket": -1,
        "translation": {
          "x": 0.0,
          "y": 0.0,
          "z": 0.0
        }
      },
      "imuExtrinsics": {
        "rotationMatrix": [
          [
            0.0,
            0.0,
            0.0
          ],
          [
            0.0,
            0.0,
            0.0
          ],
          [
            0.0,
            0.0,
            0.0
          ]
        ],
        "specTranslation": {
          "x": 0.0,
          "y": 0.0,
          "z": 0.0
        },
        "toCameraSocket": -1,
        "translation": {
          "x": 0.0,
          "y": 0.0,
          "z": 0.0
        }
      },
      "miscellaneousData": [],
      "productName": "OAK-1-AF-LITE-C21",
      "stereoEnableDistortionCorrection": false,
      "stereoRectificationData": {
        "leftCameraSocket": 255,
        "rectifiedRotationLeft": [
          [
            0.0,
            0.0,
            0.0
          ],
          [
            0.0,
            0.0,
            0.0
          ],
          [
            0.0,
            0.0,
            0.0
          ]
        ],
        "rectifiedRotationRight": [
          [
            0.0,
            0.0,
            0.0
          ],
          [
            0.0,
            0.0,
            0.0
          ],
          [
            0.0,
            0.0,
            0.0
          ]
        ],
        "rightCameraSocket": 255
      },
      "stereoUseSpecTranslation": true,
      "version": 7,
      "verticalCameraSocket": -1
    }

    Keep in mind to remove the protected fields at the top (otherwise you will get permission errors).

    Thanks,
    Jaka

    Thanks,
    Jaka