![]() |
Face SDK
1.7 Mozart rc
Face Recognition Software Development Kit
|
List of FIRs for matching. More...
#include <fir_list.h>
Public Member Functions | |
virtual uint32_t | add (const std::shared_ptr< face_sdk::fir > &fir)=0 |
Add the FIR into the list. More... | |
virtual std::tuple< uint32_t, uint32_t > | remove (const uint32_t index)=0 |
Remove FIR by index. More... | |
virtual uint32_t | size () const =0 |
List size. | |
virtual void | reserve (const std::shared_ptr< fir > &fir, uint32_t count)=0 |
Reserve memory for FIRs data. | |
List of FIRs for matching.
|
pure virtual |
Add the FIR into the list.
face_sdk::exception | See Exceptions handling. |
|
pure virtual |
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.
face_sdk::exception | See Exceptions handling. |