FacePhi SelphID SDK DotNet API
Loading...
Searching...
No Matches
SelphIDIdentifierNet.h
1#pragma once
2
3#include "SelphIDIdentifier.h"
4#include "SelphIDFacialGalleryInfoNet.h"
5#include "SelphIDIdentifierResultNet.h"
6#include "SelphIDIdentifierOptionsNet.h"
8
9using namespace System;
10using namespace System::Collections::Generic;
11
12namespace FPhiSelphIDNet {
16public
18 private:
19 FPhiSelphID::SelphIDIdentifier *_selphIDIdentifier;
20
21 public:
26
31
36
43 bool CreateGallery(String ^ galleryID);
44
52 bool CreateGalleryWithPath(String ^ galleryID, String ^ galleryFilePath);
53
60 bool ClearGallery(String ^ galleryID);
61
67 List<String ^> ^ GetAllGalleries();
68
75
84 int EnrollWithExtractionResult(String ^ galleryID, String ^ templateID,
85 SelphIDFacialExtractionResult ^ extractionResult);
86
95 int EnrollWithFacialTemplate(String ^ galleryID, String ^ templateID, array<Byte> ^ facialTemplateBuffer);
96
106 SelphIDFacialExtractionResult ^ extractionResult,
107 SelphIDIdentifierOptions ^ identifierOptions);
108
117 SelphIDIdentifierResult ^ IdentifyWithFacialTemplate(String ^ galleryID, array<Byte> ^ facialTemplateBuffer,
118 SelphIDIdentifierOptions ^ identifierOptions);
119
127
134 bool RemoveWithGalleryIndex(String ^ galleryID, int templateIndex);
135};
136} // namespace FPhiSelphIDNet
SelphIDFacialExtractionResult.
Definition SelphIDFacialExtractionResultNet.h:14
FacePhi SelphID identifier.
Definition SelphIDIdentifierNet.h:17
int EnrollWithFacialTemplate(String ^ galleryID, String ^ templateID, array< Byte > ^ facialTemplateBuffer)
Enrolls a new facial template in a gallery.
SelphIDIdentifierResult ^ IdentifyWithFacialTemplate(String ^ galleryID, array< Byte > ^ facialTemplateBuffer, SelphIDIdentifierOptions ^ identifierOptions)
Identifies a facial template against the gallery.
bool CreateGallery(String ^ galleryID)
Creates a in-memory gallery for identification.
SelphIDIdentifier()
Creates a new instance of SelphIDIdentifier.
bool ClearAllGalleries()
Clear all galleries for identification.
List< String ^> ^ GetAllGalleries()
Get all galleries for identification.
bool CreateGalleryWithPath(String ^ galleryID, String ^ galleryFilePath)
Creates a on-disk gallery for identification.
bool RemoveWithGalleryIndex(String ^ galleryID, int templateIndex)
Remove facial template from gallery with its facial template index.
~SelphIDIdentifier()
SelphIDIdentifier destructor.
SelphIDIdentifierResult ^ IdentifyWithExtractionResult(String ^ galleryID, SelphIDFacialExtractionResult ^ extractionResult, SelphIDIdentifierOptions ^ identifierOptions)
Identifies a facial template from extraction result against a gallery.
SelphIDFacialGalleryInfo ^ GetGalleryInfo(String ^ galleryID)
Gets gallery info.
int EnrollWithExtractionResult(String ^ galleryID, String ^ templateID, SelphIDFacialExtractionResult ^ extractionResult)
Enrolls a new facial template from extraction result in a gallery.
bool ClearGallery(String ^ galleryID)
Clear gallery for identification.
SelphIDIdentifierOptions.
Definition SelphIDIdentifierOptionsNet.h:13
SelphIDIdentifierResult.
Definition SelphIDIdentifierResultNet.h:12