OAK-D-Lite calibration
See original GitHub issueI have tried OAK-D-Lite calibration with both main
and lite_calibration
branches and found some problems.
Firstly, I ran calibrate.py in main
branch with option -brd OAK-D-LITE
then got the following message.
OAK-D-Lite Calibration is not supported on main yet. Please use `lite_calibration` branch to calibrate your OAK-D-Lite!!
Secondly, I switched branch to lite_calibration
and ran calibrate.py again.
The program progressed halfway, but I got an error “EEprom Write Failed!!”.
I compared the two branches and found that this error was caused by calibration_handler.setBoardInfo()
because this property is protected.
https://github.com/luxonis/depthai/blob/lite_calibration/calibrate.py#L531
Finally, I removed this function and added calibration_handler = self.device.readCalibration()
with reference to the main branch so that it works correctly.
https://github.com/luxonis/depthai/blob/main/calibrate.py#L551
My questions are as follows.
In the first place, why doesn’t the main branch support calibration with OAK-D-Lite?
Is it the correct way to use the likte_calibration
branch to calibrate OAK-D-Lite?
As mentioned above, the current implementation does not work correctly.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (1 by maintainers)
@2ktsch / @hyaguchi947d
Please install the depthai version in that branch before using the calibration. Here are the steps.
git checkout lite_calibration
python3 install_requirements.py
python3 calibrate.py ...
Well, that does it xD it was easy to overlook.
Thank you!