Go to documentation repository
The 검색 시작에 사용되는 POST request 요청(see 검색 요청) used for search start must contain binary data of searched face in jpеg format 참조)은 검색할 얼굴의 이진 데이터를 JPEG 형식으로 포함해야 합니다.
Info | ||
---|---|---|
| ||
All face detection triggerings are stored in the 모든 얼굴 탐지 트리거는 t_json_event database table데이터베이스 테이블에 저장됩니다. Thet_face_vector table stores the vectors of faces recognized by the detection tool.테이블은 탐지 도구에 의해 인식된 얼굴의 벡터를 저장합니다. Thet_face_listed table stores the face images added to the list of people.테이블은 사람 목록에 추가된 얼굴 이미지를 저장합니다. |
파라미터 | 필수 | 설명 | Parameter | Required | Description | ||
---|---|---|---|---|---|---|---|
accuracy | No | The accuracy parameter is a recognition rate from range accuracy 매개변수는 [0, 1] 범위의 인식률(1 – complete match완전 일치). This parameter is specified additionally in the search line or in the request body. Otherwise, the default value 0.9 will be used입니다. 이 매개변수는 검색 라인 또는 요청 본문에 추가로 지정할 수 있습니다. 그렇지 않으면 기본값 0.9가 사용됩니다.
|
Note | ||
---|---|---|
| ||
If the body of the POST request is empty, then the search will return all the results for the recognized faces. The accuracy parameter value in this case will be 0. | ||
POST 요청의 본문이 비어 있으면, 검색은 인식된 얼굴에 대한 모든 결과를 반환합니다. 이 경우 accuracy 매개변수 값은 0이 됩니다. |
샘플 요청Sample request:
POST http://127.0.0.1:80/search/face/SERVER1/AVDetector.2/EventSupplier/past/future?accuracy=0.7
GET http://127.0.0.1:80/search/face/2e69ba76-23f1-4d07-a812-fee86e994b8e/result
Sample response샘플 응답:
Code Block |
---|
{ "events" : [ { "accuracy" : 0.90591877698898315, "origin" : "hosts/SERVER1/DeviceIpint.2/SourceEndpoint.video:0:0", "position" : { "bottom" : 0.10694444444444445, "left" : 0.69687500000000002, "right" : 0.74687500000000007, "top" : 0.018055555555555554 }, "timestamp" : "20160914T085307.499000" }, { "accuracy" : 0.90591877698898315, "origin" : "hosts/SERVER1/DeviceIpint.2/SourceEndpoint.video:0:0", "position" : { "bottom" : 0.10694444444444445, "left" : 0.69687500000000002, "right" : 0.74687500000000007, "top" : 0.018055555555555554 }, "timestamp" : "20160914T085830.392000" } ] } |
Parameter파라미터 | Description설명 | ||
---|---|---|---|
origin | Сamera channel to take analyzed video stream from. | ||
timestamp | Time stamp of a video frame with a face detected by the detection tool. | ||
분석된 비디오 스트림을 가져올 카메라 채널 | |||
timestamp | 검출 도구로 얼굴이 감지된 비디오 프레임의 타임스탬프 | ||
accuracy | accuracy | Recognition accuracy ranged [0, 1] , with 1 corresponding to full match.범위의 인식 정확도, 1은 완전 일치를 의미 | |
position | 비디오 프레임에서 얼굴을 둘러싼 프레임 경계의 좌표 | position | Coordinates of a frame border enclosing face on a video frame. |