SelphID Cpp SDK API
Loading...
Searching...
No Matches
SelphIDFacialAuthenticationResult.h
1#ifndef SELPHIDFACIALAUTHENTICATIONRESULT_H_
2#define SELPHIDFACIALAUTHENTICATIONRESULT_H_
3
4#include "FPhiDefines.hpp"
5#include "SelphIDFacialConstants.h"
6#include "SelphIDFacialExtractionResult.h"
7
8namespace FPhiSelphID {
9class SelphIDFacialAuthenticationResult_p;
10
16 private:
17 std::unique_ptr<SelphIDFacialAuthenticationResult_p> _selphIDFacialAuthenticationResult_p;
18
19 public:
25
31 DLL_PUBLIC
33
40 const std::unique_ptr<SelphIDFacialAuthenticationResult_p> &selphIDFacialAuthenticationResult_p);
41
47
55 operator=(const SelphIDFacialAuthenticationResult &selphIDFacialAuthenticationResult);
56
62 DLL_PUBLIC const SelphIDFacialAuthenticationResult_p *GetSelphIDFacialAuthenticationResult_p() const;
63
69 DLL_PUBLIC float GetSimilarity() const;
70
76 DLL_PUBLIC void SetSimilarity(float similarity);
77
83 DLL_PUBLIC FacialAuthenticationStatus GetFacialAuthenticationStatus() const;
84
90 DLL_PUBLIC void SetFacialAuthenticationStatus(FacialAuthenticationStatus facialAuthenticationStatus);
91
98
104 DLL_PUBLIC void SetFacialExtractionResultQuery(const SelphIDFacialExtractionResult &selphIDFacialExtractionResult);
105
112
118 DLL_PUBLIC void SetFacialExtractionResultTarget(const SelphIDFacialExtractionResult &selphIDFacialExtractionResult);
119
125 DLL_PUBLIC bool GetValidTimeStamp() const;
126
132 DLL_PUBLIC void SetValidTimeStamp(bool validTimeStamp);
133
139 DLL_PUBLIC const std::vector<unsigned char> &GetRetrainedFacialTemplateRaw() const;
140
146 DLL_PUBLIC void SetRetrainedFacialTemplateRaw(const std::vector<unsigned char> &retrainedFacialTemplateRaw);
147
153 DLL_PUBLIC int GetTrackingStatus() const;
154
160 DLL_PUBLIC void SetTrackingStatus(int status);
161
167 DLL_PUBLIC std::string GetTrackingMessage() const;
168
174 DLL_PUBLIC void SetTrackingMessage(std::string &message);
175};
176} // namespace FPhiSelphID
177
178#endif
SelphIDFacialAuthenticationResult.
Definition SelphIDFacialAuthenticationResult.h:15
DLL_PUBLIC int GetTrackingStatus() const
Gets the tracking request HTTP result.
DLL_PUBLIC float GetSimilarity() const
Gets similarity value [0..1].
DLL_PUBLIC void SetFacialExtractionResultQuery(const SelphIDFacialExtractionResult &selphIDFacialExtractionResult)
Sets query extraction result.
DLL_PUBLIC void SetValidTimeStamp(bool validTimeStamp)
Sets if the time stamp is valid.
DLL_PUBLIC std::string GetTrackingMessage() const
Gets the tracking request message.
DLL_PUBLIC SelphIDFacialAuthenticationResult(const SelphIDFacialAuthenticationResult &selphIDFacialAuthenticationResult)
Creates a new instance of SelphIDFacialAuthenticationResult.
DLL_PUBLIC void SetFacialExtractionResultTarget(const SelphIDFacialExtractionResult &selphIDFacialExtractionResult)
Sets target extraction result.
DLL_PUBLIC SelphIDFacialExtractionResult GetFacialExtractionResultTarget() const
Gets target extraction result.
DLL_PUBLIC bool GetValidTimeStamp() const
Gets if the time stamp is valid.
DLL_PUBLIC const SelphIDFacialAuthenticationResult_p * GetSelphIDFacialAuthenticationResult_p() const
Gets the inner implementation.
DLL_PUBLIC void SetTrackingMessage(std::string &message)
Sets the tracking request message.
DLL_PUBLIC void SetRetrainedFacialTemplateRaw(const std::vector< unsigned char > &retrainedFacialTemplateRaw)
Sets retrained raw template.
DLL_PUBLIC void SetFacialAuthenticationStatus(FacialAuthenticationStatus facialAuthenticationStatus)
Sets facial authentication status.
DLL_PUBLIC ~SelphIDFacialAuthenticationResult()
SelphIDFacialAuthenticationResult destructor.
DLL_PUBLIC void SetTrackingStatus(int status)
Sets the tracking request HTTP result.
DLL_PUBLIC SelphIDFacialAuthenticationResult(const std::unique_ptr< SelphIDFacialAuthenticationResult_p > &selphIDFacialAuthenticationResult_p)
Creates a new instance of SelphIDFacialAuthenticationResult.
DLL_PUBLIC void SetSimilarity(float similarity)
Sets similarity value [0..1].
DLL_PUBLIC SelphIDFacialAuthenticationResult()
Creates a new instance of SelphIDFacialAuthenticationResult.
DLL_PUBLIC SelphIDFacialExtractionResult GetFacialExtractionResultQuery() const
Gets query extraction result.
DLL_PUBLIC const std::vector< unsigned char > & GetRetrainedFacialTemplateRaw() const
Gets retrained raw template.
DLL_PUBLIC SelphIDFacialAuthenticationResult & operator=(const SelphIDFacialAuthenticationResult &selphIDFacialAuthenticationResult)
Assignment operator overload.
DLL_PUBLIC FacialAuthenticationStatus GetFacialAuthenticationStatus() const
Gets facial authentication status.
SelphID Facial Extraction Result.
Definition SelphIDFacialExtractionResult.h:14