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

Tracking breaks with multiple faces #10

Open
samhains opened this issue Apr 18, 2018 · 1 comment
Open

Tracking breaks with multiple faces #10

samhains opened this issue Apr 18, 2018 · 1 comment

Comments

@samhains
Copy link

samhains commented Apr 18, 2018

Hey!

tracking breaks when attempting to track multiple faces on the stable/fast faceswap-DAN. To get multiple faces to work properly you have to recalculate every scene. (I'm attempting to swap a face.jpg with all of the faces in a scene)

Here is the modifications I made to get multiple faces working (and swapping), although it becomes extremely slow - definitely not realtime:

https://gist.github.com/samhains/648ec70aab3d5a47920c95c5e0960ee3

Anyone have ideas on fixing this in a more performant way?

@MarekKowalski
Copy link
Owner

Hi,

Sorry for taking a while to answer. I suspect your version is very slow because you run the face detection in every frame. If you want it to run quicker, I suggest you only perfom detection "once in a while" or in a background thread.

Marek

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