visageSDK
VisageLivenessAction.h
1 //
3 // (c) Visage Technologies AB 2002 - 2023 All rights reserved.
4 //
5 // This file is part of visage|SDK(tm).
6 // Unauthorized copying of this file, via any medium is strictly prohibited.
7 //
8 // No warranty, explicit or implicit, provided.
9 //
10 // This is proprietary software. No part of this software may be used or
11 // reproduced in any form or by any means otherwise than in accordance with
12 // any written license granted by Visage Technologies AB.
13 //
15 
16 #ifndef __VisageLivenessAction_h__
17 #define __VisageLivenessAction_h__
18 
19 #ifdef VISAGE_STATIC
20 #define VISAGE_DECLSPEC
21 #else
22 
23  #ifdef VISAGE_EXPORTS
24  #define VISAGE_DECLSPEC __declspec(dllexport)
25  #else
26  #define VISAGE_DECLSPEC __declspec(dllimport)
27  #endif
28 
29 #endif
30 
31 #include "FaceData.h"
32 
33 namespace VisageSDK
34 {
35  class SignalProcessor;
36 
50  class VISAGE_DECLSPEC VisageLivenessAction {
51 
52  public:
53 
54  virtual ~VisageLivenessAction() {};
55 
65  virtual int update(const FaceData *faceData, VsImage *frame = 0) = 0;
66 
70  virtual void reset() = 0;
71 
75  static const int STATE_ACTION_VERIFIED = 0;
76 
77  };
78 
79 }
80 
81 #endif // __VisageLivenessAction_h__
VisageLivenessAction is an abstract class that can be used to implement algorithm which searches for ...
Namespace.
Definition: linux_header.h:1
Face data structure, used as container for all face tracking and detection results.
Definition: FaceData.h:259
Image store container.