- Xcode 13.0 or higher.
- iOS 15.5 or higher.
- Initialize viewcontroller in any class and use easy way.
let vc = FaceDetectionCameraViewController()
vc.delegate = self
self.navigationController?.pushViewController(vc, animated: true)
- Implement delegate method and use the captured image.
extension ViewController: ImageCapturedDelegate {
func didCaptureImage(image: UIImage?) {
//show image
}
}
ProgrammerFaraz, [email protected]
Face-Detection is available under the MIT license. See the LICENSE file for more info.