Landmark Detection

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

7 / 10

Latency

1,172ms

Service Level

100%

Health Check

N/A

README

This Endpoint provide you get list (locations, name, 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

  • landmark item - locations, 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
    "landmarks": [
        {
            "locations": [
                {
                    "latitude": 55.75393029999999,
                    "longitude": 37.620794999999994
                }
            ],
            "text": "Red Square",
            "score": 0.9382750988006592,
            "locale": "",
            "boundingBox": {
                "tl": {
                    "x": 0,
                    "y": 0
                },
                "tr": {
                    "x": 640,
                    "y": 0
                },
                "br": {
                    "x": 640,
                    "y": 408
                },
                "bl": {
                    "x": 0,
                    "y": 408
                }
            }
        },
        {
            "locations": [
                {
                    "latitude": 55.7520233,
                    "longitude": 37.6174994
                }
            ],
            "text": "The Moscow Kremlin",
            "score": 0.8010982871055603,
            "locale": "",
            "boundingBox": {
                "tl": {
                    "x": 0,
                    "y": 0
                },
                "tr": {
                    "x": 640,
                    "y": 0
                },
                "br": {
                    "x": 640,
                    "y": 408
                },
                "bl": {
                    "x": 0,
                    "y": 408
                }
            }
        }
    ],
    "success": true,
    "dimensions": {
        "height": 408,
        "width": 640,
        "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