Face Engine SDK
4.6.0
A face detection, recognition and tracking engine.
|
Dynamic index interface. More...
#include <IIndex.h>
Public Member Functions | |
virtual Result< FSDKError > | saveToDenseIndex (const char *path) const noexcept=0 |
Saves index as dense. More... | |
virtual Result< FSDKError > | saveToDynamicIndex (const char *path) const noexcept=0 |
Saves index as dynamic. More... | |
virtual uint64_t | countOfIndexedDescriptors () const noexcept=0 |
Returns count of indexed descriptors. More... | |
Public Member Functions inherited from fsdk::IDynamicDescriptorStorage | |
virtual ResultValue< FSDKError, DescriptorId > | appendDescriptor (const IDescriptor *desciptor) noexcept=0 |
Appends descriptor to internal storage. If used on. More... | |
virtual ResultValue< FSDKError, DescriptorId > | appendBatch (const IDescriptorBatch *batch) noexcept=0 |
Appends batch of descriptors to internal storage. If used on. More... | |
virtual Result< FSDKError > | removeDescriptor (const DescriptorId index) noexcept=0 |
Removes descriptor out of internal storage. If used on. More... | |
Public Member Functions inherited from fsdk::IStaticDescriptorStorage | |
virtual Result< FSDKError > | descriptorByIndex (const DescriptorId index, IDescriptor *descriptor) const noexcept=0 |
Requests descriptor data out of internal storage. More... | |
virtual uint64_t | size () const noexcept=0 |
Return size of internal storage. More... | |
Public Member Functions inherited from fsdk::IIndex | |
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. More... | |
Public Member Functions inherited from fsdk::IRefCounted | |
virtual int32_t | retain () noexcept=0 |
Increase strong reference count. More... | |
virtual int32_t | release () noexcept=0 |
Decrease strong reference count. More... | |
virtual int32_t | getRefCount () const noexcept=0 |
Get actual strong reference count. More... | |
virtual int32_t | retainWeak () noexcept=0 |
Increase weak reference count. More... | |
virtual int32_t | releaseWeak () noexcept=0 |
Decrease weak reference count. More... | |
virtual int32_t | getWeakRefCount () const noexcept=0 |
Get actual weak reference count. More... | |
Dynamic index interface.
|
pure virtualnoexcept |
Returns count of indexed descriptors.
You may wonder why this method exists if IDynamicIndex already inherits IStaticDescriptorStorage::size method. The reason is that
|
pure virtualnoexcept |
Saves index as dense.
To load saved index use
path | Path to file to be created and filled with index data. Any extension is acceptable. |
|
pure virtualnoexcept |
Saves index as dynamic.
To load saved index use
path | Path to file to be created and filled with index data. Any extension is acceptable. |