 |
Face Engine SDK
4.7.0
A face detection, recognition and tracking engine.
|
8 #ifndef DOXYGEN_SHOULD_SKIP_THIS
70 virtual uint64_t
size() const noexcept = 0;
205 virtual void progress(
const float completion)
const noexcept = 0;
virtual Result< FSDKError > descriptorByIndex(const DescriptorId index, IDescriptor *descriptor) const noexcept=0
Requests descriptor data out of internal storage.
virtual Result< FSDKError > saveToDynamicIndex(const char *path) const noexcept=0
Saves index as dynamic.
Progress tracker interface.
Definition: IIndex.h:200
FSDKError
Common SDK error codes.
Definition: FSDKError.h:17
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:59
size_t DescriptorId
Intergral type used as identification of descriptor in internal storage.
Definition: IIndex.h:18
Descriptor batch interface.
Definition: IDescriptor.h:130
SDK namespace.
Definition: IAGSEstimator.h:8
virtual Result< FSDKError > removeDescriptor(const DescriptorId index) noexcept=0
Removes descriptor out of internal storage. If used on.
virtual ResultValue< FSDKError, DescriptorId > appendDescriptor(const IDescriptor *desciptor) noexcept=0
Appends descriptor to internal storage. If used on.
Dense (read only) index interface.
Definition: IIndex.h:150
virtual uint64_t countOfIndexedDescriptors() const noexcept=0
Returns count of indexed descriptors.
Dynamic index interface.
Definition: IIndex.h:159
Descriptor interface.
Definition: IDescriptor.h:82
virtual uint64_t size() const noexcept=0
Return size of internal storage.
Result of descriptor matching.
Definition: IDescriptor.h:34
SearchResult() noexcept
Default constructor.
Definition: IIndex.h:28
SearchResult(float distance, float similarity, DescriptorId index) noexcept
Construct structure with parameters.
Definition: IIndex.h:39
Future class to support asynchronous data retrieval Look into std::future semantics to understand it.
Definition: Future.h:70
Base index interface.
Definition: IIndex.h:128
virtual ResultValue< FSDKError, int > search(const IDescriptor *reference, int maxResultsCount, SearchResult *results) const noexcept=0
Search for descriptors with the shorter distance to passed descriptor.
virtual Result< FSDKError > saveToDenseIndex(const char *path) const noexcept=0
Saves index as dense.
virtual void progress(const float completion) const noexcept=0
Function is called on some operation progress change.
Result of index search.
Definition: IIndex.h:23
Dynamic descriptor storage interface.
Definition: IIndex.h:78
float similarity
similarity (normalized in [0..1] range).
Definition: IDescriptor.h:37
virtual ResultValue< FSDKError, DescriptorId > appendBatch(const IDescriptorBatch *batch) noexcept=0
Appends batch of descriptors to internal storage. If used on.
DescriptorId index
Identificator of descriptor in some storage.
Definition: IIndex.h:25
Index builder interface.
Definition: IIndex.h:213
Base strong reference counted object interface.
Definition: IRefCounted.h:36
virtual ResultValue< FSDKError, IDynamicIndex * > buildIndex(const IProgressTracker *const progressTracker=nullptr) noexcept=0
Builds index with every descriptor appended. Blocks until completed.
float distance
distance between descriptor vectors.
Definition: IDescriptor.h:36
MatchingResult(void) noexcept
Initializes result to default values.
Definition: IDescriptor.h:42
Descriptor extractor and matcher interfaces.
Addon for Result to output some value aside the result. Specialization for copiable types.
Definition: ResultValue.h:21
Interface for running tasks asynchronously.
Definition: IAsyncContext.h:25
Static descriptor storage interface.
Definition: IIndex.h:52