Values.SearchUsersByImageRequestSourceSearches for UserIDs using a supplied image. It first detects the largest face in the image, and then searches a specified collection for matching UserIDs. The operation returns an array of UserIDs that match the face in the supplied image, ordered by similarity score with the highest similarity first. It also returns a bounding box for the face found in the input image. Information about faces detected in the supplied image, but not used for the search, is returned in an array of UnsearchedFace objects. If no valid face is detected in the image, the response will contain an empty UserMatches list and no SearchedFace object.
type nonrec t = {collectionId : CollectionId.t;The ID of an existing collection containing the UserID.
*)image : Image.t;userMatchThreshold : Percent.t option;Specifies the minimum confidence in the UserID match to return. Default value is 80.
*)maxUsers : MaxUserResults.t option;Maximum number of UserIDs to return.
*)qualityFilter : QualityFilter.t option;A filter that specifies a quality bar for how much filtering is done to identify faces. Filtered faces aren't searched for in the collection. The default value is NONE.
*)}val make :
?userMatchThreshold:??? ->
?maxUsers:??? ->
?qualityFilter:??? ->
collectionId:CollectionId.t ->
image:Image.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Float of Percent.t
| `Integer of MaxUserResults.t
| `String of CollectionId.t
| `Structure of
(string
* [> `Blob of ImageBlob.t
| `Structure of (string * [> `String of S3Bucket.t ]) list ])
list ])
list ]