For iPhones 16 and below, orientation is applied in UIImage or CIImage, but not for iPhone 17.
The camera is front-facing, and it uses Vision to capture facial images.
Thanks for your help.
Not sure if this is what you are seeing, but for iphone17 make sure you are using the AVCaptureDevice.RotationCoordinator to get the angle to apply to the videoRotationProperty of your photo connection, so the images are oriented correctly. Look at the AVCam sample and search for RotationCoordinator to see how to use it: https://developer.apple.com/documentation/avfoundation/avcam-building-a-camera-app