Software Stack
DepthAI

ON THIS PAGE

  • Calibration Factory Reset
  • Similar samples
  • Demo
  • Setup
  • Source code

Calibration Factory Reset

This example shows how to perform a factory reset on the device's calibration data. This operation removes any user-applied calibration and restores the device to its original factory calibration settings.

Similar samples

Demo

Example script output showing successful factory reset:
Command Line
1~/depthai-core/examples/python/calibration$ python3 calibration_factory_reset.py
2Factory reset calibration OK
If the operation fails, you might see:
Command Line
1~/depthai-core/examples/python/calibration$ python3 calibration_factory_reset.py
2Factory reset calibration FAIL: [Error message]

Setup

This example requires the DepthAI v3 API, see installation instructions.

Source code

Python
GitHub
1#!/usr/bin/env python3
2
3import depthai as dai
4
5device = dai.Device(dai.UsbSpeed.HIGH)
6try:
7    device.factoryResetCalibration()
8    print(f'Factory reset calibration OK')
9except Exception as ex:
10    print(f'Factory reset calibration FAIL: {ex}')

Need assistance?

Head over to Discussion Forum for technical support or any other questions you might have.