Giter Club home page Giter Club logo

Comments (9)

auduno avatar auduno commented on June 23, 2024

Not out of the box. Theoretically it might be possible to track two faces by creating two instances of clmtrackr, and initializing them on separate bounding boxes on different parts of the screen. But you would have to fiddle with the code to get this to work properly. In practice, I think the biggest problem would be that it would run very slow, since running one instance of clmtrackr is already pretty heavy on most computers.

from clmtrackr.

verybigelephants avatar verybigelephants commented on June 23, 2024

hmm, isn't the face tracking using viola-jones tracking of haar-like features? meaning it will detect ALL the present faces in an image - this is the most resource hungry process by the way. then you would only have to keep track of the face models in some array. this is definitely a valid feature request

from clmtrackr.

auduno avatar auduno commented on June 23, 2024

@verybigelephants : it's very possible to detect multiple faces using viola-jones, but it's not precise enough to track facial points. The method I use in clmtrackr is unfortunately very computationally demanding, so I don't think it will work very well for multiple faces. But it's worth a try if someone wants to give it a shot!

from clmtrackr.

jb41997 avatar jb41997 commented on June 23, 2024

I just started using clmtrackr (and am very impressed btw)...but I too would be interested in multiple face functionality. I realize tracking multiples would be too resource intensive for some computers/devices...so...how hard would it be to at least detect multiple faces and expose that to the api so we could cycle through them or manually choose which one to track?

from clmtrackr.

verybigelephants avatar verybigelephants commented on June 23, 2024

@jb41997 do you want to just detect multiple faces? or actually track their features?

from clmtrackr.

jb41997 avatar jb41997 commented on June 23, 2024

@verybigelephants being able to detect them is all that I would really need. I can probably work around the need to track features of multiples. Tracking features of multiples would be awesome but I realize there are resource limitations, so I won't get my hopes up on that one. (are there already methods in this library that allow you to detect multiples?)

from clmtrackr.

dehuszar avatar dehuszar commented on June 23, 2024

I noticed that various functions can get passed an element and a box. For instance. Without any docs to say otherwise, it seems like the box might be a specific set of dimensions to scan within an image or video. Is that correct?

from clmtrackr.

verybigelephants avatar verybigelephants commented on June 23, 2024

well you could of course user part of the clmtrack but i think if just detecting face positions is the question, there are other libraries designed specifically for this task

https://github.com/jaysalvat/jquery.facedetection
https://github.com/eduardolundgren/tracking.js
(and many others i believe)

from clmtrackr.

hyzhak avatar hyzhak commented on June 23, 2024

What about such scenario:

  1. user one of the existing algorithms (which is quicker than what we have here to track facial points and just track faces)
  2. cut the whole scene to a small peaces with a faces
  3. input those faces to the facial points tracker

Should it works effectively?

from clmtrackr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.