visageSDK

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

All Classes Namespaces Functions Variables Enumerations Enumerator Pages
VisageLivenessBrowRaise.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 #ifndef VSDK_VISAGELIVENESSBROWRAISE_H
16 #define VSDK_VISAGELIVENESSBROWRAISE_H
17
18 #ifdef VISAGE_STATIC
19 #define VISAGE_DECLSPEC
20 #else
21
22 #ifdef VISAGE_EXPORTS
23 #define VISAGE_DECLSPEC __declspec(dllexport)
24 #else
25 #define VISAGE_DECLSPEC __declspec(dllimport)
26 #endif
27
28 #endif
29
30
31 #include "VisageLivenessAction.h"
32 #include "FaceData.h"
33
34 namespace VisageSDK
35 {
56 class VISAGE_DECLSPEC VisageLivenessBrowRaise : public VisageLivenessAction {
57 public:
58
62 VisageLivenessBrowRaise();
63
67 ~VisageLivenessBrowRaise();
68
77 int update(const FaceData *faceData, VsImage*);
78
82 void reset();
83
88 static const int STATE_WAIT_FOR_FRONTAL = 1;
89
94 static const int STATE_ACTION_INITIALIZING = 2;
95
99 static const int STATE_WAIT_FOR_STABLE = 3;
100
104 static const int STATE_WAIT_FOR_ACTION = 4;
105
106
107 private:
108
109 void resetInternal();
110
111 int counterForInit;
112
113 bool faceNotFrontal;
114
115 bool HeadStable;
116
117 bool actionDone;
118
119 SignalProcessor *SPLeft;
120
121 SignalProcessor *SPRight;
122
123 };
124 }
125
126 #endif //VSDK_VISAGELIVENESSBROWRAISE_H
VisageSDK::VisageLivenessAction
VisageLivenessAction is an abstract class that can be used to implement algorithm which searches for ...
Definition: VisageLivenessAction.h:50
VisageSDK::VisageLivenessBrowRaise
VisageLivenessBrowRaise is a class that detects whether the person on the live video stream has raise...
Definition: VisageLivenessBrowRaise.h:56
VisageSDK::FaceData
Face data structure, used as container for all face tracking and detection results.
Definition: FaceData.h:259
VsImage
Image store container.
Definition: vs_core_types_c.h:460