Page 1 of 1

Is there an upper limit in face templates registration

PostPosted: Jan 26, 2018 03:59
by cw-gsdc
Hi

I am implementing face identification using HNBiometricEngine.
The NBiometricEngineList API can"t get "ValueCount" greater than 100.
Is Maximum registration number of face templates limited up to 100?

Thanks and regards,

Re: Is there an upper limit in face templates registration

PostPosted: Jan 26, 2018 10:37
by MartynasV
cw-gsdc wrote:Hi

I am implementing face identification using HNBiometricEngine.
The NBiometricEngineList API can"t get "ValueCount" greater than 100.
Is Maximum registration number of face templates limited up to 100?

Thanks and regards,

Hello,

NBiometricEngineList() function limits the output to 100 by default(there is no limitation on how many subjects can be enrolled to database). If you need to get the list of more enrolled people ids in the NBiometricClient, then this property should be set with required amount:

Code: Select all
NInt yourCountValue = 1000; // Count of how many subjectIds will be returned.
result = NObjectSetPropertyP(hBiometricClient, N_T("MaximalListResults"), N_TYPE_OF(NInt32), naNone, &yourCountValue, sizeof(yourCountValue), 1, NTrue);


During List() function execution the list of NSubjects will be created as output. This will lead to big memory usage. This is the reason why it is limited to 100 by default.

Re: Is there an upper limit in face templates registration

PostPosted: Jan 29, 2018 05:57
by cw-gsdc
Thank you for answering my question.
The problem is solved.

Best regards.