C# 클래스 FacialRecognitionDoor.FacialRecognition.FaceApiRecognizer

상속: IFaceRecognizer
파일 보기 프로젝트 열기: ms-iot/Facial-Recognition-Door

공개 메소드들

메소드 설명
AddImageToWhitelistAsync ( StorageFile imageFile, string personName = null ) : Task
AddPersonToWhitelistAsync ( StorageFolder faceImagesFolder, string personName = null ) : Task
CreateWhitelistFromFolderAsync ( string whitelistId, StorageFolder whitelistFolder = null, IProgress progress = null ) : Task
FaceRecognizeAsync ( StorageFile imageFile ) : Task>
RemoveImageFromWhitelistAsync ( StorageFile imageFile, string personName = null ) : Task
RemovePersonFromWhitelistAsync ( string personName ) : Task

비공개 메소드들

메소드 설명
AddFace ( System.Guid personId, System.Guid faceId, string imagePath ) : System.Threading.Tasks.Task

Add face to both Cloud Face API and local whitelist

BuildWhiteListAsync ( IProgress progress, double progressCnt ) : System.Threading.Tasks.Task

Use whitelist folder to build whitelist Database

CreatePerson ( string personName, StorageFolder personFolder ) : Task

Create a person into Face API and whitelist

DetectFaceFromImage ( StorageFile imageFile ) : Task

Detect face and return the face id of a image file

DetectFacesFromImage ( StorageFile imageFile ) : Task

Detect face and return the face id of a image file

FaceApiRecognizer ( ) : System

Constructor Initial Face Api client

RemoveFace ( System.Guid personId, System.Guid faceId ) : System.Threading.Tasks.Task

Remove face from both Cloud Face API and local whitelist

RemovePerson ( System.Guid personId ) : System.Threading.Tasks.Task
TrainingWhitelistAsync ( ) : Task

Train whitelist until training finished

UpdateProgress ( IProgress progress, double progressCnt ) : void

메소드 상세

AddImageToWhitelistAsync() 공개 메소드

public AddImageToWhitelistAsync ( StorageFile imageFile, string personName = null ) : Task
imageFile Windows.Storage.StorageFile
personName string
리턴 Task

AddPersonToWhitelistAsync() 공개 메소드

public AddPersonToWhitelistAsync ( StorageFolder faceImagesFolder, string personName = null ) : Task
faceImagesFolder Windows.Storage.StorageFolder
personName string
리턴 Task

CreateWhitelistFromFolderAsync() 공개 메소드

public CreateWhitelistFromFolderAsync ( string whitelistId, StorageFolder whitelistFolder = null, IProgress progress = null ) : Task
whitelistId string
whitelistFolder Windows.Storage.StorageFolder
progress IProgress
리턴 Task

FaceRecognizeAsync() 공개 메소드

public FaceRecognizeAsync ( StorageFile imageFile ) : Task>
imageFile Windows.Storage.StorageFile
리턴 Task>

RemoveImageFromWhitelistAsync() 공개 메소드

public RemoveImageFromWhitelistAsync ( StorageFile imageFile, string personName = null ) : Task
imageFile Windows.Storage.StorageFile
personName string
리턴 Task

RemovePersonFromWhitelistAsync() 공개 메소드

public RemovePersonFromWhitelistAsync ( string personName ) : Task
personName string
리턴 Task