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

setHaarMinSize not working? #88

Closed
antimodular opened this issue Feb 24, 2015 · 5 comments
Closed

setHaarMinSize not working? #88

antimodular opened this issue Feb 24, 2015 · 5 comments

Comments

@antimodular
Copy link

i have tried to feed numbers from 10 to 20000000 to tracker. setHaarMinSize(10);
but it still returns faces that are super far away; i.e. super small.

i call faceTracker.reset(); once in a while but this should not effect the setHaarMinSize, right?
thx,

@kylemcdonald
Copy link
Owner

can you paste a small example of code that has this behavior? i cannot reproduce this bug.

@antimodular
Copy link
Author

i added this to your example-extraction

void testApp::mouseMoved(int x, int y){
    tracker.reset();
    tracker.setHaarMinSize(mouseX);
    cout<<"mouseX "<<mouseX<<endl;
}

but i have to mention that i am using #include "ofxFaceTrackerThreaded.h" which seems to creates the problem.

@kylemcdonald
Copy link
Owner

i think i just fixed this one. sorry, ofxFaceTrackerThreaded works in a way that it's easy for it to get out of sync with the ofxFaceTracker API

@antimodular
Copy link
Author

not sure if it is really fixed.
i still get strange behaviour. it's hard to tell if it works somehow or not at all.
somewhere around 180 it allows for big faces and very small faces. and when i got bigger than 200 i have to be super close to the cam to get a face. ?thx

@kylemcdonald
Copy link
Owner

hmm, as far as i could tell it was working... if you can reproduce with a photo and post an example where the photo is not correctly tracked, i can try to fix 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

1 participant