Hey lubkwo - yes, distortion correction on DepthAi v3 can run directly on-device for both RGB and mono streams.
Use Camera.requestOutput(..., enableUndistortion=True) per stream, premade example available here.
About alpha:
- For Camera undistortion,
alpha is not exposed (handled internally).
- For stereo rectification,
alpha is exposed via StereoDepth.setAlphaScaling(...).
If you need fully manual undistortion behavior, use a custom warp/mesh pipeline.
Thanks,
Oskar