-
Notifications
You must be signed in to change notification settings - Fork 108
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
Face Rectangle size #76
Comments
Hi @mousomer, the input image is rescaled internally to a fixed resolution, so called In short, if the images are bigger, the retraining with a bigger In case of any further question, please do not hesitate to ask them either here or on email. |
I see. thanks. From reviewing the code I had the impression that the NormalizedFrame was constant size (per model type). Was I wrong? |
Hi @mousomer, yes, it is constant size per model type. But the input image is always rescaled to this size. So it can detect landmarks on "arbitrary" sized faces, however the detection precision is beside others also influenced by the |
So there is an optimal face size per model? |
Yep, we could call the faces which are of the same size (or smaller) that the model's However, it is definitely not necessary to have very huge |
Thanks. |
I would go first for the detected face size, check the results and only if they were not satisfactory enough, I would start thinking about re-training the model. The learning scripts for the jointmv model are very time demanding. I have some unpublished improvements which reduce the time from 2 weeks to 2 days for the current model. But those will require some time before being published. And both variants are quite heavy on memory requirements (around 20GB RAM is needed). |
Ah, but I'm trying to work with 3-rd party detectors. I guess I could run the openCV cascade first and gather statistics from there. |
Yeah, I haven't tried OpenCV cascades for profiles yet myself, but it should be surely possible. |
That's not what you're using for [pre-model] detection? (I was assuming that's the right thing do to because that's what you use in the static_input.cpp example). |
Nope, I was using the commercial face detector (http://www.eyedea.cz/) for the development of the landmark detector. It provides square face sizes for arbitrary yaw angle oriented faces. |
I am trying to evaluate the clandmark models with different face detectors. They have different face scaling. So, for example, one may detect a face at [200 100 60 60] pixels, and the other at [190 90 80 80].
Should it make a difference which face rectangle I send over to the JOINTMV detectors?
Should I retrain the models for different face detectors?
The text was updated successfully, but these errors were encountered: