I am working on a project that needs to do face detection on a camera video input (like security camera).
I managed to open Video input via AVFoundation framework. I managed to capture a UIImage from the video input, then feed into opencv library to do face detection.
But the process of capturing requires at least 2 to 3 seconds.
Is there anyone who got some experience to share ?