1#ifndef SELPHIDIDENTIPHIER_H_
2#define SELPHIDIDENTIPHIER_H_
4#include "FPhiDefines.hpp"
5#include "SelphIDFacialGalleryInfo.h"
6#include "SelphIDIdentifierResult.h"
7#include "SelphIDIdentifierOptions.h"
8#include "SelphIDException.h"
9#include "SelphIDFacialExtractionResult.h"
11namespace FPhiSelphID {
94 const std::vector<unsigned char> &facialTemplateBuffer);
SelphID Facial Gallery Info.
Definition SelphIDFacialGalleryInfo.h:13
SelphID Identifier.
Definition SelphIDIdentifier.h:16
DLL_PUBLIC SelphIDIdentifier()
Creates a new instance of SelphIDIdentifier.
DLL_PUBLIC SelphIDFacialGalleryInfo GetGalleryInfo(const std::string &galleryID) const
Gets gallery info.
DLL_PUBLIC bool ClearAllGalleries()
Clear all galleries for identification.
DLL_PUBLIC bool ClearGallery(const std::string &galleryID)
Clears gallery for identification.
DLL_PUBLIC bool CreateGalleryWithPath(const std::string &galleryID, const std::string &galleryFilePath)
Creates a on-disk gallery for identification.
DLL_PUBLIC SelphIDIdentifierResult IdentifyWithExtractionResult(const std::string &galleryID, const SelphIDFacialExtractionResult &extractionResult, const SelphIDIdentifierOptions &identifierOptions)
Identifies a facial template from extraction result against a gallery.
DLL_PUBLIC std::vector< std::string > GetAllGalleries() const
Get the name of all Galleries.
DLL_PUBLIC bool CreateGallery(const std::string &galleryID)
Creates a in-memory gallery for identification.
DLL_PUBLIC ~SelphIDIdentifier()
SelphIDVerifier destructor.
DLL_PUBLIC SelphIDIdentifierResult IdentifyWithFacialTemplate(const std::string &galleryID, const std::vector< unsigned char > &facialTemplateBuffer, const SelphIDIdentifierOptions &identifierOptions)
Identifies a facial template against the gallery.
DLL_PUBLIC int EnrollWithFacialTemplate(const std::string &galleryID, const std::string &templateID, const std::vector< unsigned char > &facialTemplateBuffer)
Enrolls a new facial template in a gallery.
DLL_PUBLIC bool RemoveWithGalleryIndex(const std::string &galleryID, int index)
Removes facial template from gallery with its facial template index.
DLL_PUBLIC int EnrollWithExtractionResult(const std::string &galleryID, const std::string &templateID, const SelphIDFacialExtractionResult &extractionResult)
Enrolls a new facial template from extraction result in a gallery.
SelphID Identifier Options.
Definition SelphIDIdentifierOptions.h:14
SelphID Identifier Result.
Definition SelphIDIdentifierResult.h:14