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

support for multiple faces #37

Open
matt-cook opened this issue Nov 15, 2014 · 2 comments
Open

support for multiple faces #37

matt-cook opened this issue Nov 15, 2014 · 2 comments

Comments

@matt-cook
Copy link

Is it possible to modify the library to support simultaneously tracking multiple faces?

@alexiskattan
Copy link

+1

@auduno
Copy link
Owner

auduno commented Nov 19, 2014

Well, I guess it's possible to modify headtrackr to do this, but in practice I think it would take a lot of work to get it to work properly. First of all, headtrackr is based on the "camshift" algorithm, which tracks faces purely by color. This algorithm is very quick, but also pretty imprecise, so it's likely that if two faces (of similar color) were somewhat close to each other, the camshift algorithm would get confused and mix up the faces. Second, if the tracker lost track of one of the faces, it would need to be able to detect the "correct" face when re-initializing tracking. This is a bit tricky and I can't think of an immediate solution to it.

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

3 participants