3 #include "BestShotMobileDefs.h" 5 #include <fsdk/FaceEngine.h> 6 #include <tsdk/ITrackEngine.h> 13 enum class LivenessType {
23 enum class LivenessState {
41 enum class BestShotState {
79 BESTSHOT_MOBILE_API
virtual void bestShot(
88 BESTSHOT_MOBILE_API
virtual void liveness(
89 const LivenessState livenessState,
96 BESTSHOT_MOBILE_API
virtual void trackEnd(
97 const tsdk::TrackId& trackId) = 0;
121 BESTSHOT_MOBILE_API
virtual bool pushFrame(
122 const fsdk::Image &frame,
123 uint32_t frameId) = 0;
137 BESTSHOT_MOBILE_API
virtual void join() = 0;
153 fsdk::FaceEngineType* faceEngine,
154 tsdk::ITrackEngine* trackEngine,
155 fsdk::ISettingsProvider* settings
165 fsdk::FaceEngineType* faceEngine,
166 tsdk::ITrackEngine* trackEngine,
167 const char * configPath
fsdk::Landmarks5 landmarks
Face landmarks.
Definition: IBestShotMobile.h:57
virtual BESTSHOT_MOBILE_API void setBestShotMobileObserver(IBestShotMobileObserver *observer)=0
Sets a bestshot observer.
fsdk::Detection detection
Detection with face.
Definition: IBestShotMobile.h:55
virtual BESTSHOT_MOBILE_API void bestShot(const BestShotInfo &bestShotInfo)=0
Bestshot notification.
tsdk::TrackId trackId
Index of the track.
Definition: IBestShotMobile.h:69
virtual BESTSHOT_MOBILE_API LivenessType getLivenessType()=0
Returns current liveness type.
virtual BESTSHOT_MOBILE_API void trackEnd(const tsdk::TrackId &trackId)=0
End of a track notification.
tsdk::FrameId frameIndex
Index of the frame.
Definition: IBestShotMobile.h:67
fsdk::HeadPoseEstimation headPoseEstimation
Definition: IBestShotMobile.h:61
BestShotState state
State of this frame.
Definition: IBestShotMobile.h:50
virtual BESTSHOT_MOBILE_API bool pushFrame(const fsdk::Image &frame, uint32_t frameId)=0
Pushes a single frame to the buffer.
Definition: IBestShotMobile.h:8
virtual BESTSHOT_MOBILE_API void liveness(const LivenessState livenessState, const BestShotInfo &bestShotInfo)=0
Liveness check notification.
IBestShotMobile interface class.
Definition: IBestShotMobile.h:103
Definition: IBestShotMobile.h:72
float agsEstimation
Definition: IBestShotMobile.h:64
Definition: IBestShotMobile.h:48
virtual BESTSHOT_MOBILE_API void join()=0
Blocks current thread until all frames in this Stream will be handled and all callbacks will be execu...
fsdk::Image image
Source image.
Definition: IBestShotMobile.h:53