SelphID Cpp SDK API
Loading...
Searching...
No Matches
SelphIDFacialConstants.h
1#ifndef SELPHIDFACIALCONSTANTS_HPP
2#define SELPHIDFACIALCONSTANTS_HPP
3
4#include "FPhiDefines.hpp"
5
6namespace FPhiSelphID {
11enum class FacialAuthenticationStatus {
16 None = 0,
17
22 Negative = 1,
23
28 Uncertain = 2,
29
34 Positive = 3,
35
40 NoneBecausePoseExceed = 4,
41
46 NoneBecauseInvalidExtractions = 5
47};
48
53enum class FacialPose {
58 None = 0,
59
64 Frontal = 1,
65
70 RightAngled = 2,
71
76 LeftAngled = 3
77};
78
83enum class FacialGlasses {
88 None = 0,
89
94 Eye = 1,
95
100 Sun = 2
101};
102
107enum class FacialLips {
112 None = 0,
113
118 Together = 1,
119
124 Apart = 2
125};
126
131enum class FacialGender {
136 None = 0,
137
142 Male = 1,
143
148 Female = 2
149};
150
155enum class FacialGeographicOrigin {
160 None = 0,
161
166 African = 1,
167
172 European = 2,
173
178 EastAsian = 3,
179
184 SouthAsian = 4,
185
190 LatinAmerican = 5,
191
196 MiddleEastern = 6,
197
202 SoutheastAsian = 7
203};
204
209enum class FacialArtwork {
214 None = 0,
215
220 Human = 1,
221
226 Cartoon = 2,
227
232 Painting = 3
233};
234
239enum class FacialDetectionType {
244 Frontal = 0,
245
250 FrontalFast = 1,
251
256 Periocular = 2
257};
258
263enum class FacialQuality {
268 None = 0,
269
274 Bad = 1,
275
280 Regular = 2,
281
286 Good = 3
287};
288
293enum class FacialEmotion {
298 None = 0,
299
304 Anger = 1,
305
310 Disgust = 2,
311
316 Fear = 3,
317
322 Joy = 4,
323
328 Neutral = 5,
329
334 Sadness = 6,
335
340 Surprise = 7
341};
342
347class Point {
348 public:
353 int X;
354
359 int Y;
360
365 Point() : X(0), Y(0) {
366 }
367
374 Point(int x, int y) : X(x), Y(y) {
375 }
376};
377
383 public:
388 int X;
389
394 int Y;
395
400 int Width;
401
407
412 Rectangle() : X(0), Y(0), Width(0), Height(0) {
413 }
414
423 Rectangle(int x, int y, int width, int height) : X(x), Y(y), Width(width), Height(height) {
424 }
425};
426
431enum class FacialLivenessDiagnostic {
436 None = 0,
437
442 Spoof = 1,
443
448 Uncertain = 2,
449
454 Live = 3,
455
460 NoneBecauseBadQuality = 4,
461
466 NoneBecauseFaceTooClose = 5,
467
472 NoneBecauseFaceNotFound = 6,
473
478 NoneBecauseFaceTooSmall = 7,
479
484 NoneBecauseAngleTooLarge = 8,
485
490 NoneBecauseImageDataError = 9,
491
496 NoneBecauseInternalError = 10,
497
502 NoneBecauseImagePreprocessError = 11,
503
508 NoneBecauseTooManyFaces = 12,
509
514 NoneBecauseFaceTooCloseToBorder = 13,
515
520 NoneBecauseFaceCropped = 14,
521
526 NoneBecauseLicenseError = 15,
527
532 NoneBecauseFaceOccluded = 16,
533
538 NoLive = 17,
539
544 NoneBecauseEyesClosed = 18,
545
550 NoneBecauseEyesOccluded = 19
551};
552
557enum class FacialAuthenticationDetail {
562 None = 0,
563
568 PositiveLowSecurityLevel = 1,
569
574 PositiveMediumSecurityLevel = 2,
575
580 PositiveHighSecurityLevel = 3
581};
582
587enum class TrackingFamily {
592 OnBoarding = 0,
593
598 Authentication = 1
599};
600
605enum class OperationResultStatus {
610 Succeeded = 0,
611
616 Denied = 1,
617
622 Error = 2,
623
628 Cancelled = 3
629};
630
635enum class OperationResultReason {
640 None = 0,
641
646 InternalError = 1,
647
652 CancelledByUser = 2,
653
658 Timeout = 3,
659
664 DocumentValidationNotPassed = 4,
665
670 DocumentValidationError = 5,
671
676 AuthenticationNotPassed = 6,
677
682 AuthenticationError = 7,
683
688 LivenessNotPassed = 8,
689
694 LivenessError = 9
695};
696
697} // namespace FPhiSelphID
698
699#endif
Point.
Definition SelphIDFacialConstants.h:347
Point()
Creates a new instance of Point.
Definition SelphIDFacialConstants.h:365
int X
X coordinate.
Definition SelphIDFacialConstants.h:353
Point(int x, int y)
Creates a new instance of Point.
Definition SelphIDFacialConstants.h:374
int Y
Y coordinate.
Definition SelphIDFacialConstants.h:359
Rectangle.
Definition SelphIDFacialConstants.h:382
int Y
Y coordinate.
Definition SelphIDFacialConstants.h:394
Rectangle(int x, int y, int width, int height)
Creates a new instance of Rectangle.
Definition SelphIDFacialConstants.h:423
Rectangle()
Creates a new instance of Rectangle.
Definition SelphIDFacialConstants.h:412
int Width
Width.
Definition SelphIDFacialConstants.h:400
int X
X coordinate.
Definition SelphIDFacialConstants.h:388
int Height
Height.
Definition SelphIDFacialConstants.h:406