In the WWDC 2017 Session 507 - Capturing Depth in iPhone Photography there is a sample app being demonstrated called straightend up. It demonstrates how to make an image rectilinear. Is it possible to have a look at the code of this app. It doesn't seem to be published.
Also in this session there is a demo implementation mentioned in AVCameraCalibrationData.h.
Is there a way to access this demo implementation in recent Xcode-Versions?