Comments (11)
This is the expected behavior. When enrollAll
is true, the system will only enroll the faces it correctly detects, which in many cases is less than the total number of images. This is generally the desired behavior in most practical applications.
The alternative is when enrollAll
is false. In this case the system will enroll exactly one face per image no matter what (even if it fails to detect a face!). This is generally the desired behavior in most research scenarios.
enrollAll
is a terrible name that needs to be changed to something else. But i suspect that is the source of the confusion?
from openbr.
Sounds like this is not the case. Because all of them are valid faces and they can be compared one by one.
from openbr.
Hmm, how do you do the 1-to-1 comparison? enrollAll
is false by default, so I still think this is the problem. Perhaps you can post a minimum reproducing example with images to the mailing list?
from openbr.
which mail list?
On Thu, Sep 12, 2013 at 7:16 AM, jklontz [email protected] wrote:
Hmm, how do you do the 1-to-1 comparison? enrollAll is false by default,
so I still think this is the problem. Perhaps you can post a minimum
reproducing example with images to the mailing list?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/104#issuecomment-24322930
.
Michael
from openbr.
https://groups.google.com/forum/#!forum/openbr-dev
from openbr.
They might be different issues. The issue I noticed was in the face_recognition_search example code as follows:
10 // Enroll templates
11 br::Globals->enrollAll = true; // Enroll 0 or more faces per image
12 target >> *transform;
13 br::Globals->enrollAll = false; // Enroll exactly one face per image
14 query >> *transform;
I have 10 images loaded in target. But after the above line 12, the target has only 6 images. So the workaround would have to enroll the target images one by one like the above line 14.
Any comments?
from openbr.
Why not just delete line 11 and have enrollAll = false
?
from openbr.
It works. Can you explain a little what the enrolling does? As you know, the target is br::TemplateList. How can it work for enrolling one only?
Originally I used a loop to enroll them one by one like
for (i = 0; i < target.size(); i++)
{
target[i] >> *transform;
score[i] = distance->compare(target[i], query);
}
from openbr.
Happy to explain, but can you re-ask this on the mailing list so that it's more visible to others who may be wondering the same thing?
from openbr.
Just posted but it is weird it cannot showup immediately.
from openbr.
(Messages from new posters must be approved before they show up)
from openbr.
Related Issues (20)
- __BEGIN__ is undefined HOT 1
- __END__ is undefined
- Problem in the tests ? HOT 1
- New to this project - about the installation
- Conflict between openbr and dlib
- Build system -- missing QT5 test and opengl v1.1.0 HOT 7
- Clustering usage? understanding rank order neighborhood construction
- OpenCV 4 HOT 4
- Build fails in with VS_2017 and Eigen HOT 1
- Failed to load stasm cascade in FaceRecognition Algorithm
- openbr not working on ubuntu 18.04 HOT 2
- 'br' is not recognized as an internal or external command in windows 10
- Get Fatal Error when try to run "Nmake intall" for building OpenBr HOT 1
- failed to build on windows HOT 1
- Fails to build with OpenCV 3.2.0
- Operating points for ROC curves HOT 4
- CMake Error at openbr/CMakeLists.txt:31 (add_library): Cannot find source file: /usr/local/include/http_parser.c
- how to compute 1:1 face compare accuracy in %
- Missing header file "opencv2/core/core_c.h"
- Fails to build on debian 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openbr.