Description of the tracking algorithm?

  • Anonymous - 2012-05-26

    Hi - I see that the initial face detection uses the OpenCV haar classifier (at least I think so from a brief scan through the code).  After that I'm not sure how the tracking is working - I'd love to understand a bit more about the algorithm - how is the gaze direction being extracted?  Is there a paper describing the approach anywhere?


  • Cesar Mauri-Loba

    There is no paper (yet) describing the tracking algorithm of eViacam though the code itself provides an exact description of it.

    This is more or less how it works:

    To locate the presence and position of the face, we use a haar feature-based cascade classier which was initially proposed by Paul Viola\cite and improved by Rainer Lienhart. This classifier is implemented in the Open Computer Vision library which also provides several trained cascade classifier to detect faces.

    Once the face is located, the motion inside of the user's face bounding area is estimated using the Horn and Schunck optical flow algorithm. As a result, two velocity fields (one for each axis) of the same resolution as the input images are obtained. Both fields are then downsampled to a 15x15 matrix and modulus is computed for each cell of such matrix. To avoid static areas (i.e. background) only these cells with enough motion (i.e. whose modulus is above a threshold) are picked up and averaged to compute the resulting motion vector which will drive the mouse cursor.

  • parsa karthik

    parsa karthik - 2017-01-05

    hey there,
    iam using this eviacam sofware:version-2.1.0 for a week and iam glad to say that it was awsome.
    iam a student doing my UG degree,if you have no objection,i request you to send the algoritham of this software,iam very much pleased to go through it.and much intersetsed in such kind of stuff. hope you dont mind.
    my email id:

  • Emilio Puerto_Fuertes

    Hello everubody
    First of all, thanks to the team. It´s a great software.
    But I´m trying to help a friend who is disabled. Hands and legs.
    It´s very difficult (for me, impossible for him) to align the vertical axis of the web cam with his face, as he is in bed and he only may move his head. Therefore, most of times, eviacam cannot recognize his face.
    I think it would be very useful if I could "rotate" the blue square in order to adapt it to him, and later, the X and Y axis were also moved in acordance my friend´s position.

    I´ll apreciate it.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks