examples
calibration
calibration_factory_reset.cpp
Go to the documentation of this file.
1
#include <cstdio>
2
#include <iostream>
3
#include <string>
4
5
// Includes common necessary includes for development using depthai library
6
#include "
depthai/depthai.hpp
"
7
8
int
main
() {
9
dai::Device
device(
dai::OpenVINO::VERSION_2021_4
,
dai::UsbSpeed::HIGH
);
10
11
try
{
12
device.
factoryResetCalibration
();
13
std::cout <<
"Factory reset calibration OK"
<< std::endl;
14
}
catch
(
const
std::exception& ex) {
15
std::cout <<
"Factory reset calibration FAIL: "
<< ex.what() << std::endl;
16
}
17
18
return
0;
19
}
main
int main()
Definition:
calibration_factory_reset.cpp:8
depthai.hpp
dai::UsbSpeed::HIGH
@ HIGH
dai::OpenVINO::VERSION_2021_4
@ VERSION_2021_4
Definition:
OpenVINO.hpp:20
dai::Device
Definition:
Device.hpp:21
dai::DeviceBase::factoryResetCalibration
void factoryResetCalibration()
Definition:
DeviceBase.cpp:1444
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:18