SelphID Cpp SDK API
Loading...
Searching...
No Matches
SelphIDIdentifierResult.h
1#ifndef SELPHIDIDENTIFIERRESULT_HPP
2#define SELPHIDIDENTIFIERRESULT_HPP
3
4#include "FPhiDefines.hpp"
5#include "SelphIDFacialConstants.h"
6
7namespace FPhiSelphID {
8class SelphIDIdentifierResult_p;
9
15 private:
16 std::unique_ptr<SelphIDIdentifierResult_p> _selphIDIdentifierResult_p;
17
18 public:
24
30 DLL_PUBLIC SelphIDIdentifierResult(const SelphIDIdentifierResult &selphIDIdentifierResult);
31
37 DLL_PUBLIC SelphIDIdentifierResult(const std::unique_ptr<SelphIDIdentifierResult_p> &selphIDIdentifierResult_p);
38
44
51 DLL_PUBLIC SelphIDIdentifierResult &operator=(const SelphIDIdentifierResult &selphIDIdentifierResult);
52
58 const std::unique_ptr<SelphIDIdentifierResult_p> &GetSelphIDIdentifierResult_p() const;
59
69 DLL_PUBLIC void AddResult(float similarity, int galleryIndex, const std::string &templateID,
70 FacialAuthenticationStatus facialAuthenticationStatus,
71 FacialAuthenticationDetail facialAuthenticationDetail);
72
78 DLL_PUBLIC int Size() const;
79
86 DLL_PUBLIC float GetSimilarity(int index);
87
94 DLL_PUBLIC int GetGalleryIndex(int index);
95
102 DLL_PUBLIC std::string GetTemplateID(int index) const;
103
110 DLL_PUBLIC FacialAuthenticationStatus GetFacialAuthenticationStatus(int index);
111
118 DLL_PUBLIC FacialAuthenticationDetail GetFacialAuthenticationDetail(int index);
119};
120} // namespace FPhiSelphID
121
122#endif
SelphID Identifier Result.
Definition SelphIDIdentifierResult.h:14
DLL_PUBLIC void AddResult(float similarity, int galleryIndex, const std::string &templateID, FacialAuthenticationStatus facialAuthenticationStatus, FacialAuthenticationDetail facialAuthenticationDetail)
Adds identifier result.
DLL_PUBLIC FacialAuthenticationDetail GetFacialAuthenticationDetail(int index)
Gets facial authentication detail from result index.
DLL_PUBLIC int Size() const
Gets identifier result size.
DLL_PUBLIC ~SelphIDIdentifierResult()
SelphIDVerifierResult destructor.
DLL_PUBLIC int GetGalleryIndex(int index)
Gets gallery index from result index.
DLL_PUBLIC SelphIDIdentifierResult & operator=(const SelphIDIdentifierResult &selphIDIdentifierResult)
Assignment operator overload.
DLL_PUBLIC SelphIDIdentifierResult(const SelphIDIdentifierResult &selphIDIdentifierResult)
Creates a new instance of SelphIDIdentifierResult.
DLL_PUBLIC float GetSimilarity(int index)
Gets similarity from result index.
DLL_PUBLIC SelphIDIdentifierResult(const std::unique_ptr< SelphIDIdentifierResult_p > &selphIDIdentifierResult_p)
Creates a new instance of SelphIDIdentifierResult.
const std::unique_ptr< SelphIDIdentifierResult_p > & GetSelphIDIdentifierResult_p() const
Gets the inner implementation.
DLL_PUBLIC std::string GetTemplateID(int index) const
Gets templateID from result index.
DLL_PUBLIC SelphIDIdentifierResult()
Creates a new instance of SelphIDIdentifierResult.
DLL_PUBLIC FacialAuthenticationStatus GetFacialAuthenticationStatus(int index)
Gets facial authentication status from result index.