microsoft / Cognitive-Vision-Windows

Windows SDK for the Microsoft Computer Vision API, part of Cognitive Services
https://www.microsoft.com/cognitive-services/en-us/computer-vision-api
Other
166 stars 150 forks source link

How to retrieve landmarks #21

Closed marcominerva closed 7 years ago

marcominerva commented 7 years ago

On the page https://azure.microsoft.com/en-us/services/cognitive-services/computer-vision, there is a section telling that Vision API is able to recognize landmarks, and an example regarding Colosseum is provided: colosseum

However, if I try to call the Vision API using an URL like the following one, with the same image in the body:

POST https://westcentralus.api.cognitive.microsoft.com/vision/v1.0/analyze?visualFeatures=Categories&language=en&subscription-key=

I obtain this:

fiddler

So, the categories are the same, but with no detail. Am I missing something in order to retrieve landmarks information?

marcominerva commented 7 years ago

Never mind, using the testing console I have found the issue: I need to insert the details query string parameter.

cthrash commented 7 years ago

Note also that if you only care about landmarks, you can call /vision/v1.0/models/landmarks/analyze API.