That’s what I’m going to use to create a face detection iOS app, I actually don’t need to use a trained model for that. handleDetection ( request : request , error : error ) }) return faceLandmarksRequest }() func launchDetection ( image : UIImage ) { let orientation = image . Under my request completion handler, let’s log how many faces we detected.