Face Engine SDK  4.6.0
A face detection, recognition and tracking engine.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
fsdk::IIndexBuilder Struct Referenceabstract

Index builder interface. More...

#include <IIndex.h>

Inheritance diagram for fsdk::IIndexBuilder:
fsdk::IDynamicDescriptorStorage fsdk::IRefCounted fsdk::IStaticDescriptorStorage

Public Member Functions

virtual ResultValue< FSDKError,
IDynamicIndex * > 
buildIndex (const IProgressTracker *const progressTracker=nullptr) noexcept=0
 Builds index with every descriptor appended. Blocks until completed. More...
 
virtual ResultValue< FSDKError,
Future< ResultValue< FSDKError,
IDynamicIndex * > > > 
buildIndexAsync (IAsyncContext *const asyncContext, const IProgressTracker *const progressTracker=nullptr) noexcept=0
 Builds index with every descriptor appended. Non blocking operation. 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< FSDKErrorremoveDescriptor (const DescriptorId index) noexcept=0
 Removes descriptor out of internal storage. If used on. More...
 
- Public Member Functions inherited from fsdk::IStaticDescriptorStorage
virtual Result< FSDKErrordescriptorByIndex (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::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...
 

Detailed Description

Index builder interface.

Member Function Documentation

virtual ResultValue<FSDKError, IDynamicIndex*> fsdk::IIndexBuilder::buildIndex ( const IProgressTracker *const  progressTracker = nullptr)
pure virtualnoexcept

Builds index with every descriptor appended. Blocks until completed.

Is very heavy method in terms of computing load.

Parameters
progressTrackerSome object that is being reported to with progress. If its nullptr, dont report progress.
Returns
One of the error codes specified by
See Also
FSDKError and created index object.
virtual ResultValue<FSDKError, Future<ResultValue<FSDKError, IDynamicIndex*> > > fsdk::IIndexBuilder::buildIndexAsync ( IAsyncContext *const  asyncContext,
const IProgressTracker *const  progressTracker = nullptr 
)
pure virtualnoexcept

Builds index with every descriptor appended. Non blocking operation.

Is very heavy method in terms of computing load.

Parameters
asyncContextAsynchronous context to run build on.
progressTrackerSome object that is being reported to with progress. If its nullptr, dont report progress.
Returns
One of the error codes specified by
See Also
FSDKError and created index object.

The documentation for this struct was generated from the following file: