Skip to content

Commit 0a8591b

Browse files
42187 - update descriptions
1 parent 3e9ef60 commit 0a8591b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

match.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ components:
5454
description: "Session identificator, should be unique for each session."
5555
images:
5656
type: array
57-
description: "All images included in the comparison."
57+
description: "An array of images to be processed. At least two images must be provided."
5858
items:
5959
$ref: "#/components/schemas/MatchImage"
6060
outputImageParams:

match_and_search.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ paths:
77
tags:
88
- match
99
summary: 'match and search (1:1 + 1:N)'
10-
description: "To compare several images from a document and look up a person in the database in one request, use POST `/api/match_and_search`. In this case, the calculation of the descriptor will be performed only once, as opposed to using two requests for the same operation. If only one person is identified, match is not performed and only search is carried out."
10+
description: "To compare several images from a document and look up a person in the database in one request, use POST `/api/match_and_search`. In this case, the calculation of the descriptor will be performed only once, as opposed to using two requests for the same operation. At least two photos are required. If, after processing two or more photos, only one face is detected across them, the match step is skipped, and only the search is carried out."
1111
operationId: match_and_search
1212
requestBody:
1313
required: true
@@ -34,7 +34,7 @@ components:
3434
description: "Session identificator, should be unique for each session."
3535
images:
3636
type: array
37-
description: "Person's images."
37+
description: "An array of images to be processed. At least two images must be provided."
3838
items:
3939
type: object
4040
properties:

0 commit comments

Comments
 (0)