Match label

POST {{ask-filerobot-server}}/images/matcher/match?type=face

Matches input objects to labels associated with a classifier.

Accepted data:

  • classifier_id - ID of the classifier to use. Should exist for the given token.

  • uuid - UUID of an image with the target object.

Request Params

KeyDatatypeRequiredDescription
typestringThe type of objects that will be matched

Request Body

{"classifier_id"=>1, "uuid"=>"efad5706-8f2b-58d7-a3a7-52c11ee50000"}

HEADERS

KeyDatatypeRequiredDescription
Filerobot-Tokenstring
Filerobot-Keystring

RESPONSES

status: OK

{"status":"success","version":"3.2.2","token":"fdocs","request_uuid":"c9ecb2d3-e8ad-4b78-bb54-7d427634a621","operation":"match_label","match_label":[{"label_id":2,"name":"olaf_scholz","bounding_box":[294,94,450,291]},{"label_id":1,"name":"emmanuel_macron","bounding_box":[1066,86,1212,290]}]}