You can speed up face detection by setting the smallestFaceHeight
parameter appropriately. Increasing the smallestFaceHeight
will result in faster inference times, so try to set the smallestFaceHeight
as high as possible for your use case if speed is critical requirement.
Sean S
How can I speed up face detection running on CPU?