question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OAK-D-Lite calibration

See original GitHub issue

I 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:open
  • Created a year ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
saching13commented, Jul 5, 2022

@2ktsch / @hyaguchi947d
Please install the depthai version in that branch before using the calibration. Here are the steps.

  1. git checkout lite_calibration
  2. python3 install_requirements.py
  3. python3 calibrate.py ...
1reaction
2ktschcommented, Jul 5, 2022

Well, that does it xD it was easy to overlook.

Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Calibration - DepthAI documentation - Luxonis
Below is a quick video showing the (re-) calibration of the OAK-D. In short, the calibration uses the intersections to determine the orientation...
Read more >
OAK-D Lite | LearnOpenCV
Camera Calibration Image Processing OAK. December 7, 2021 By 1 Comment ... Both OAK-D and OAK-D Lite are spatial AI cameras.
Read more >
calibrate.py · Luxonis-Brian/depthai - Gitee.com
"OAK-D-Lite Calibration is not supported on main yet. Please use `lite_calibration` branch to calibrate your OAK-D-Lite!!") pipeline = self.create_pipeline ...
Read more >
OAK-D Lite Camera — Basic Setup - RoboFoundry - Medium
One thing to keep in mind is if you change any of the settings on any of the tabs like AI or depth...
Read more >
OAK-D-Lite - Waveshare Wiki
This OAK-D-Lite includes three onboard cameras (a 4K/30fps RGB camera, two monochrome ... identification, and calibration of surface defects of parts, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found