Process an image by file
POST
api/v2/detect/images/:modelProcess an image by file
Path Parameters
- model string required
The mode of the detection. Allowed values: logo, object or scene.
Example: scene
- multipart/form-data
Request Body
- image_file binary
Filename of the image to be past as multipart/form-data.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"request": "POST /api/v2/detect/images/scene?access_token=abcd_1234_abcd",
"request_id": "#r8w7rauiorqr#",
"result_processing": {
"height": 1667,
"match": [
{
"bottom": 0,
"confidence": 0.9999935626983643,
"id": "scene-airport_terminal",
"left": 0,
"right": 0,
"top": 0
},
{
"bottom": 0,
"confidence": 0.9892786145210266,
"id": "scene-indoor",
"left": 0,
"right": 0,
"top": 0
}
],
"width": 2500
},
"status_code": "0",
"status_message": "OK"
}
Loading...