https://docs.luxonis.com/software/perception/rgb-d
I tried the CV2 undistortion script.
pipeline = dai.Pipeline()
device = dai.Device()
This section fails, we can only call one of the lines.
If we call both, it says:
RuntimeError: Failed to connect to device, error message: X_LINK_DEVICE_ALREADY_IN_USE