Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display full size webcam. Track on resized image #4

Open
gonzam88 opened this issue Aug 23, 2019 · 1 comment
Open

Display full size webcam. Track on resized image #4

gonzam88 opened this issue Aug 23, 2019 · 1 comment

Comments

@gonzam88
Copy link

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

@EnoxSoftware
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants