![]() |
Face Engine SDK
5.3.0
A face detection, recognition and tracking engine.
|
Grayscale image estimator interface. More...
#include <IBlackWhiteEstimator.h>
Public Member Functions | |
virtual Result< FSDKError > | estimate (const Image &image, bool &outIsGrayscale) const noexcept=0 |
Check if image is grayscale or color. More... | |
![]() | |
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... | |
Grayscale image estimator interface.
|
pure virtualnoexcept |
Check if image is grayscale or color.
[in] | image | source image. Format must be R8G8B8. |
[out] | outIsGrayscale | estimation result; true if image is grayscale, false if not. |