FaceMaskExample icon indicating copy to clipboard operation
FaceMaskExample copied to clipboard

Display full size webcam. Track on resized image

Open gonzamoiguer opened this issue 6 years ago • 1 comments

Hi, i'm using dlib face detector and openCV from Enox. Trying to display a full HD webcam while also tracking faces. Of course this slows down pc dramatically.

How can I make a copy of the webcam material, resize and track over that, while also displaying the full size image?

thanks

gonzamoiguer avatar Aug 23 '19 04:08 gonzamoiguer

I think that FrameOptimizationExample or FaceMaskExample will be helpful.
This example includes ideas for speeding up, such as resize, frame skipping using ImageOptimizationHelper class, face detection using OpenCV. the face detection step is faster using OpenCV than using Dlib. In FaceMaskExample, face detection is done with OpenCV for speeding up.

EnoxSoftware avatar Aug 23 '19 14:08 EnoxSoftware