Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tip

'익숙한 얼굴' - '낯선 얼굴' 검색 API

The body of POST request used for search start must contain binary data of searched face in jpеg format. The request itself can be represented in two ways검색을 시작하기 위해 사용되는 POST 요청 본문에는 검색된 얼굴의 바이너리 데이터가 JPEG 형식으로 포함되어야 합니다. 요청 자체는 두 가지 방법으로 표현될 수 있습니다:

  1. POST http://IP-Address:port/prefix/faceAppearanceRate/{DETECTORID}/{BEGINTIME}/{ENDTIME}

    Tip

    DETECTORID – endpoint detection tool ternary 엔드포인트 감지 도구의 3진 ID (자동 및 얼굴 검색의 경우 HOSTNAME/AVDetector.ID/EventSupplier for auto and face search, vmda의 경우  HOSTNAME/AVDetector.ID/SourceEndpoint.vmda for vmda, see Get list of detection tools, 검출 도구 목록 가져오기 참조).


    Info
    titleNote

    The ENDTIME and BEGINTIME syntax is described in ENDTIME과 BEGINTIME 구문은 아카이브 내용 가져오기 section 섹션에 설명되어 있습니다.


  2. POST http://IP-Address:port/prefix/faceAppearanceRate/{HOSTNAME}/{BEGINTIME}/{ENDTIME}

    Tip

    HOSTNAME Server name.서버 이름


파라미터필수설명
ParameterRequiredDescription
accuracyNo
Detection accuracy in the range
[0,1] 범위 내에서의 감지 정확도(1
means complete match). If this parameter is not set, then the default value
은 완전 일치를 의미). 이 매개변수가 설정되지 않으면 기본값(0.9)
is in use
이 사용됩니다.

Sample request샘플 요청:

POST http://127.0.0.1:80/faceAppearanceRate/SERVER1/AVDetector.2/EventSupplier/past/future?accuracy=0.7

Sample response샘플 응답:

Code Block
{
  "rate": 0.13333334028720856
}


Parameter
파라미터
Description
설명
rate
Rate of identifying a face as a “stranger”, the value in the
얼굴이 "낯선 얼굴"로 인식될 확률, [0,1]
range
범위의 값. 1
means a complete stranger
은 완전한 낯선 얼굴을 의미합니다.