SpectacularAI / sdk-examples

Spectacular AI SDK examples
Apache License 2.0
202 stars 35 forks source link

Undistort OAK-D rgb camera in AR examples #114

Open kaatrasa opened 8 months ago

kaatrasa commented 8 months ago

Currently, we render AR objects with undistorted pinhole model, but the background image is still distorted in live examples (mixed_reality.py & mapping_ar.py). Now the color image is undistorted on the OAKD device and then converted from YUV to RGB using ImageManip nodes. Seems to work on my OAK-D, but ideally we should test on OAK-D Pro W.