Created
September 6, 2023 12:14
-
-
Save Erol444/d4caf54b3c3eed6a6e361d0170c65af2 to your computer and use it in GitHub Desktop.
DepthAI read lens position at calibration for all camera sensors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import depthai as dai | |
# Connect Device | |
with dai.Device() as device: | |
calibData = device.readCalibration() | |
for cam in device.getConnectedCameraFeatures(): | |
print(f'{cam.name} lens position during calibration: {calibData.getLensPosition(cam.socket)}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example output: