I am trying to detect faces through the camera using VNImageRequestHandler(iOS Vision). When I point to a photo with the camera in landscape mode, it detects faces, but with the opposite orientation mode.
let detectFaceRequestHandler = VNImageRequestHandler(cvPixelBuffer: pixelBuffer, options: [:])

source
share