![]() |
Face SDK
1.13.0 Mozart release
Face Recognition Software Development Kit
|
Classes | |
class | com.tech5.FaceSDK.FirList.Native |
class | com.tech5.FaceSDK.FirList |
enum | com.tech5.FaceSDK.FirMatcher.Architecture |
class | com.tech5.FaceSDK.FirMatcher.Match |
class | com.tech5.FaceSDK.FirMatcher.Native |
class | com.tech5.FaceSDK.FirMatcher |
Functions | |
com.tech5.FaceSDK.FirList.FirList () throws FaceSDKException | |
com.tech5.FaceSDK.FirList.FirList (FirMatcher.Architecture architecture) throws FaceSDKException | |
long [] | com.tech5.FaceSDK.FirList.remove (long idx) throws FaceSDKException |
long | com.tech5.FaceSDK.FirList.add (Fir fir) throws FaceSDKException |
void | com.tech5.FaceSDK.FirList.reserve (Fir forFir, long count) throws FaceSDKException |
long | com.tech5.FaceSDK.FirList.size () |
boolean | com.tech5.FaceSDK.FirList.equals (Object o) |
int | com.tech5.FaceSDK.FirList.hashCode () |
void | com.tech5.FaceSDK.FirList.close () throws Exception |
void | com.tech5.FaceSDK.FirList.finalize () throws Throwable |
com.tech5.FaceSDK.FirMatcher.FirMatcher (int builderVersion, String tableCode, License license, DataContainer dataContainer, Architecture architecture) throws FaceSDKException | |
com.tech5.FaceSDK.FirMatcher.FirMatcher (int builderVersion, String tableCode, License license, DataContainer dataContainer) throws FaceSDKException | |
com.tech5.FaceSDK.FirMatcher.FirMatcher (int builderVersion, String tableCode, License license) throws FaceSDKException | |
com.tech5.FaceSDK.FirMatcher.FirMatcher (int builderVersion, String tableCode, DataContainer dataContainer) throws FaceSDKException | |
com.tech5.FaceSDK.FirMatcher.FirMatcher (int builderVersion, String tableCode) throws FaceSDKException | |
float | com.tech5.FaceSDK.FirMatcher.match (Fir firA, Fir firB) throws FaceSDKException |
float | com.tech5.FaceSDK.FirMatcher.match (FirList firList, long index, Fir fir) throws FaceSDKException |
float [] | com.tech5.FaceSDK.FirMatcher.match (FirList firList, Fir fir) throws FaceSDKException |
Match [] | com.tech5.FaceSDK.FirMatcher.bestMatches (Fir fir, FirList firList, float threshold, int maxMatches) throws FaceSDKException |
Match [] | com.tech5.FaceSDK.FirMatcher.bestMatches (FirSet firSet, FirList firList, float threshold, int maxMatches) throws FaceSDKException |
int | com.tech5.FaceSDK.FirMatcher.getBuilderVersion () |
String | com.tech5.FaceSDK.FirMatcher.getTableCode () |
boolean | com.tech5.FaceSDK.FirMatcher.equals (Object o) |
int | com.tech5.FaceSDK.FirMatcher.hashCode () |
void | com.tech5.FaceSDK.FirMatcher.close () throws Exception |
void | com.tech5.FaceSDK.FirMatcher.finalize () throws Throwable |
static boolean | com.tech5.FaceSDK.FirMatcher.isArchitectureAvailable (Architecture architecture) |
static float | com.tech5.FaceSDK.FirMatcher.scoreToPercentage (float score) throws FaceSDKException |
static float | com.tech5.FaceSDK.FirMatcher.percentageToScore (float percentage) throws FaceSDKException |
|
inline |
Adds a copy of the FIR to list.
A copy of the for will be converted to short (or binary if fir's version is 211) before storing.
fir | the fir, a copy of which will be stored in the list. |
FaceSDKException | in case of an error in native code. |
|
inline |
Performs 1:N matching operation for fir list and specified FIR and returns top N matching results.
fir | fir to be matched against fir list. |
firList | fir list to be matched against fir. |
threshold | matching scores threshold. |
maxMatches | the maximum number of best matches returned from the function. |
IllegalArgumentException | if fir is null OR firList is null OR maxMatches is lower than 1. |
FaceSDKException | in case of an error in native code. |
|
inline |
Performs 1:N 2:N, 3:N matching operation for fir list and specified firSet and returns top N matching results.
2:N and 3:N operations are available only for builder 104.
firSet | set of firs to be matched against fir list. |
firList | fir list to be matched against set of firs. |
threshold | matching scores threshold. |
maxMatches | the maximum number of best matches returned from the function. |
IllegalArgumentException | if firSet is null OR firList is null OR maxMatches is lower than 1. |
FaceSDKException | in case of an error in native code. |
|
inline |
Creates an empty list of FIRs.
FirMatcher.Architecture#NUMA architecture will be used if available and FirMatcher.Architecture#COMMON otherwise.
FaceSDKException | in case of an error in native code. |
|
inline |
Creates an empty list of FIRs for specified memory architecture.
Use FirMatcher#isArchitectureAvailable(com.tech5.FaceSDK.FirMatcher.Architecture) to know which type of memory architecture is available.
architecture | required memory architecture |
FaceSDKException | in case of an error in native code. |
|
inline |
Creates FIRs matcher with needed builder version, FAR table code, license object, data container and memory architecture type.
builderVersion | builder's version which FIRs are supposed to be compared. |
tableCode | matcher's table code. |
license | the license object. |
dataContainer | the container with algorithm data. |
architecture | the memory architecture type. |
IllegalArgumentException | if tableCode is null or empty OR license is null OR dataContainer is null. |
FaceSDKException | in case of an error in native code. |
|
inline |
Creates FIRs matcher with needed builder version, FAR table code, license object and data container.
FirMatcher.Architecture#NUMA is used if available and FirMatcher.Architecture#COMMON otherwise.
builderVersion | builder version which FIRs are supposed to be compared. |
tableCode | matcher table code. |
license | the license object. |
dataContainer | the container with algorithm data. |
IllegalArgumentException | if tableCode is null or empty OR license is null OR dataContainer is null. |
FaceSDKException | in case of an error in native code. |
|
inline |
Creates FIRs matcher with needed builder version, FAR table code, license object.
The data container is loaded from known paths.
FirMatcher.Architecture#NUMA is used if available and FirMatcher.Architecture#COMMON otherwise.
builderVersion | builder version which FIRs are supposed to be compared. |
tableCode | matcher table code. |
license | the license object. |
IllegalArgumentException | if tableCode is null or empty. |
FaceSDKException | in case of an error in native code. |
|
inline |
Creates FIRs matcher with needed builder version, FAR table code, license object and data container.
FirMatcher.Architecture#NUMA is used if available and FirMatcher.Architecture#COMMON otherwise.
The default license is loaded. License#makeDefaultLicense().
builderVersion | builder version which FIRs are supposed to be compared. |
tableCode | matcher table code. |
dataContainer | the container with algorithm data. |
IllegalArgumentException | if tableCode is null or empty OR dataContainer is null. |
FaceSDKException | in case of an error in native code. |
|
inline |
Creates FIRs matcher with needed builder version and FAR table code.
FirMatcher.Architecture#NUMA is used if available and FirMatcher.Architecture#COMMON otherwise.
The data container is loaded from known paths.
The default license is loaded. License#makeDefaultLicense().
builderVersion | builder version which FIRs are supposed to be compared. |
tableCode | matcher table code. |
IllegalArgumentException | if tableCode is null or empty. |
FaceSDKException | in case of an error in native code. |
|
inlinestatic |
Checks if the specified memory architecture is available
architecture | memory architecture type. |
|
inline |
Performs 1:1 matching operation for specified FIRs.
firA | fir to be matched against firB |
firB | fir to be matched against firA |
IllegalArgumentException | if firA is null or firB is null. |
FaceSDKException | in case of an error in native code. |
|
inline |
Performs 1:1 matching operation for FIR from fir list and specified FIR.
firList | fir list from which firA must be matched against firB |
index | index of the firA in the firList |
fir | firB to be matched against firA |
IllegalArgumentException | if firList is null OR index is negative OR fir is null. |
FaceSDKException | in case of an error in native code. |
|
inline |
Performs 1:N matching operation for fir list and specified FIR.
firList | fir list to be matched against fir |
fir | firB to be matched against firA |
IllegalArgumentException | if firList is null OR fir is null. |
FaceSDKException | in case of an error in native code. |
|
inlinestatic |
Converts percentage to matching score (-log(FAR)).
percentage | percentage. |
FaceSDKException | in case of an error in native code. |
|
inline |
Remove FIR by index.
Removing algorithm: when the FIR is removed his index is assigning to another FIR.
For example: if we have 10 FIRs in the list and we are removing FIR with the index 3 we take FIR with index 9 and move it to the position of the removed FIR.
So FIR 9 becomes FIR 3.
idx | Index of FIR to be removed |
FaceSDKException | in case of an error in native code. |
|
inline |
Preallocates memory for FIRs data.
forFir | fir type of which are supposed to be stored in the list. |
count | number of FIRs which is supposed to be stored in the list. |
IllegalArgumentException | if forFir is null or count <= 0. |
FaceSDKException | in case of an error in native code. |
|
inlinestatic |
Converts matching score (-log(FAR)) to percentage.
score | matching score (-log(FAR)). |
FaceSDKException | in case of an error in native code. |
|
inline |
List size.
com.tech5.FaceSDK.FirMatcher.Architecture.COMMON |
Uniform memory access (for systems with single CPU)
com.tech5.FaceSDK.FirMatcher.Architecture.NUMA |
Non Uniform memory access (for systems with multiply CPUs)
NUMA allow to spread FIRs between nodes, which gives a performance boost
final float com.tech5.FaceSDK.FirMatcher.Match.score |
Matching score, which the coefficient equivalent -logFAR.