From a38a28c04fd6fe5aaaa16fc04e086f6f348f55ae Mon Sep 17 00:00:00 2001 From: Paul Clarke Date: Wed, 7 Aug 2019 12:29:18 +0930 Subject: [PATCH 1/2] Updated docs --- docs/source/api/index.rst | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/docs/source/api/index.rst b/docs/source/api/index.rst index cfd2225..cef7bc5 100644 --- a/docs/source/api/index.rst +++ b/docs/source/api/index.rst @@ -745,7 +745,7 @@ Search :json array candidates: Containing **id** *(string)*: Subject id and **score** *(int)*: Match score. + :>json array candidates: Containing **id** *(string)*: Subject id, **score** *(int)*: Highest match score and **event** *(array)*: Containing **id** *(string)*: Event id and **score** *(int)*: Match score. :>json attributes: See `Face Attributes`_. :resheader Content-Type: application/json :status 200: Candidates found. @@ -839,7 +829,7 @@ Verify .. http:post:: /v1.1/face/verify - Verify a subject against a probe. + Verify a subject, and their one or more events, against a probe. **Example request**: @@ -880,7 +870,7 @@ Verify } :>json string id: Subject id. - :>json int score: Match score. + :>json int score: Match score of the subject's hightest scoring event. :resheader Content-Type: application/json :status 200: Subject verified. :status 404: Subject not verified. @@ -1783,6 +1773,7 @@ Type Code Description ============== ==== ======================================================================================= InvalidRequest 1001 Request is invalid, possible missing parameters. Duplicate 1002 Duplicate request, identifier in message. +Timeout 1003 Request timed out. NoFace 2001 No face was found in the provided image. PoorQuality 2002 The overall ``faceQualityScore`` was too low to process. MultipleFaces 2003 Multiple faces were found in the image. Only one is permitted for this type of request. From b80a18aff8597591df9a2f60d51ffdfeaee345f4 Mon Sep 17 00:00:00 2001 From: Paul Clarke Date: Wed, 7 Aug 2019 12:32:28 +0930 Subject: [PATCH 2/2] Updated docs --- docs/source/api/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/api/index.rst b/docs/source/api/index.rst index cef7bc5..7e509ca 100644 --- a/docs/source/api/index.rst +++ b/docs/source/api/index.rst @@ -745,7 +745,7 @@ Search :