SpectacularAI / sdk-examples

Spectacular AI SDK examples
Apache License 2.0
213 stars 34 forks source link

Undistort OAK-D rgb camera in AR examples #114

Open kaatrasa opened 10 months ago

kaatrasa commented 10 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.