Code Monkey home page Code Monkey logo

Comments (1)

headupinclouds avatar headupinclouds commented on September 26, 2024

I notice that there is a doEyeFlow flag parameter

That won't help. It was for relative motion estimates.

However, i notice that the result is wrong for some frames (for example, the algorithm detect wrong eye positions). How to set eye tracker more robust?

The pipeline basically runs:

face detection -> low resolution refinement -> eye model fitting

You can start by eliminating false positives in the detection stage.

The ACF gradient boosting models are extremely fast for mobile use case, but are limited compared to SOTA CNN models, and can require more tuning. This will probably be updated in the future, or used to enumerate detection hypothesis and paired with a fast/shallow CNN.

There are some simple things you can try.

  1. Tuning (reducing) the detection search volume to only allow plausible solutions of appropriate scale for your use case is the first step. I.e., try to set the max distance such that you avoid spending lots of time searching for tiny faces that are the size (in pixels) of an eye or nose in your typical true positive cases.

See:

context.setMaxDetectionDistance(0.5f); // max distance

  1. The ACF detector has a nice formulation with a calibration term that can allow you to set your classification/detection operating point at runtime with existing models. You can try decreasing this in steps with a 0.75x multiplier or similar until you get rid of false positives.

See:

context.setAcfCalibration(0.001f); // adjust detection sensitivity

These params could be exposed to the top level app for tuning.

from drishti.

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.