FaceClient class

Extends

생성자

FaceClient(ServiceClientCredentials, string, ServiceClientOptions)

FaceClient 클래스의 새 인스턴스를 초기화합니다.

속성

face
faceList
largeFaceList
largePersonGroup
largePersonGroupPerson
personGroup
personGroupPerson
snapshot

상속된 속성

credentials
endpoint

상속된 메서드

sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)

제공된 OperationSpec을 사용하여 채워진 HTTP 요청을 보냅니다.

sendRequest(RequestPrepareOptions | WebResourceLike)

제공된 httpRequest를 보냅니다.

생성자 세부 정보

FaceClient(ServiceClientCredentials, string, ServiceClientOptions)

FaceClient 클래스의 새 인스턴스를 초기화합니다.

new FaceClient(credentials: ServiceClientCredentials, endpoint: string, options?: ServiceClientOptions)

매개 변수

credentials
ServiceClientCredentials

클라이언트 구독을 고유하게 식별하는 구독 자격 증명입니다.

endpoint

string

지원되는 Cognitive Services 엔드포인트(프로토콜 및 호스트 이름( 예: https://westus.api.cognitive.microsoft.com).

options
ServiceClientOptions

매개 변수 옵션

속성 세부 정보

face

face: Face

속성 값

faceList

faceList: FaceListOperations

속성 값

largeFaceList

largeFaceList: LargeFaceListOperations

속성 값

largePersonGroup

largePersonGroup: LargePersonGroupOperations

속성 값

largePersonGroupPerson

largePersonGroupPerson: LargePersonGroupPerson

속성 값

personGroup

personGroup: PersonGroupOperations

속성 값

personGroupPerson

personGroupPerson: PersonGroupPerson

속성 값

snapshot

snapshot: SnapshotOperations

속성 값

상속된 속성 세부 정보

credentials

credentials: ServiceClientCredentials

속성 값

FaceClientContext.credentials에서 상속됨

endpoint

endpoint: string

속성 값

string

FaceClientContext.endpoint에서 상속됨

상속된 메서드 세부 정보

sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)

제공된 OperationSpec을 사용하여 채워진 HTTP 요청을 보냅니다.

function sendOperationRequest(operationArguments: OperationArguments, operationSpec: OperationSpec, callback?: ServiceCallback<any>): Promise<RestResponse>

매개 변수

operationArguments
OperationArguments

HTTP 요청의 템플릿 값이 채워질 인수입니다.

operationSpec
OperationSpec

httpRequest를 채우는 데 사용할 OperationSpec입니다.

callback

ServiceCallback<any>

응답을 받을 때 호출할 콜백입니다.

반환

Promise<RestResponse>

FaceClientContext.sendOperationRequest에서 상속됨

sendRequest(RequestPrepareOptions | WebResourceLike)

제공된 httpRequest를 보냅니다.

function sendRequest(options: RequestPrepareOptions | WebResourceLike): Promise<HttpOperationResponse>

매개 변수

반환

FaceClientContext.sendRequest에서 상속됨