Object Detection

FREEMIUM
By Karo Mkrtchyan | Updated a month ago | Visual Recognition
Popularity

7.1 / 10

Latency

1,562ms

Service Level

100%

Health Check

N/A

README

This Endpoint provide you get list (text, score, locale, boundingBox) and dimensions from image

Supported two request types

  1. GET - the important thing is that you should use image as a query name
  • Example (url?image=“image_url”)
  1. POST- the important thing is that you should use image as a form_data key
  • Example const data = new FormData(); data.append(‘image’, ‘image_path’);

For both cases we have same response type

Response Data Sturucture - in this example we used

image

  • object item - text, score, locale and boundingBox (tl is top left, tr is top right, bl is bottom left, br is bottom right)
  • success - cna be true or false, if it’s false we also have error message
  • dimensions - all info about image
    "objects": [
        {
            "text": "Chair",
            "score": 0.843457818031311,
            "locale": "",
            "boundingBox": {
                "tl": {
                    "x": 0.045202311128377914,
                    "y": 0.6389181017875671
                },
                "tr": {
                    "x": 0.4727531671524048,
                    "y": 0.6389181017875671
                },
                "br": {
                    "x": 0.4727531671524048,
                    "y": 0.9685030579566956
                },
                "bl": {
                    "x": 0.045202311128377914,
                    "y": 0.9685030579566956
                }
            }
        },
        {
            "text": "Umbrella",
            "score": 0.6488758325576782,
            "locale": "",
            "boundingBox": {
                "tl": {
                    "x": 0.18290652334690094,
                    "y": 0.23769409954547882
                },
                "tr": {
                    "x": 0.9811277389526367,
                    "y": 0.23769409954547882
                },
                "br": {
                    "x": 0.9811277389526367,
                    "y": 0.9368109107017517
                },
                "bl": {
                    "x": 0.18290652334690094,
                    "y": 0.9368109107017517
                }
            }
        }
    ],
    "success": true,
    "dimensions": {
        "height": 1200,
        "width": 1020,
        "type": "webp"
    }
}
Followers: 0
API Creator:
Rapid account: Karo Mkrtchyan
Karo Mkrtchyan
mkrtchyankaro-A_M729L_lrj
Log In to Rate API
Rating: 5 - Votes: 1