Microsoft

How can we improve Computer Vision API?

Bug: color JSON from REST API contains both "isBwImg" and "isBWImg" (Typo)

There is a little bug in the JSON response from the REST API:

In the JSON response, the color object contains two most-likely identical features with different names - "isBWImg" and "isBwImg" (lower-case "w" vs. capital "W").

Ex:

"color": {
"dominantColorForeground": "White",
"isBwImg": false,
"isBWImg": false,
"accentColor": "228AAA",
"dominantColorBackground": "White",
"dominantColors": ["White"]
}

API version: 2.0
endpoint: https://westeurope.api.cognitive.microsoft.com/vision/v2.0/analyze
Region: West Europe

1 vote
Sign in
(thinking…)
Sign in with: Facebook Google
Signed in as (Sign out)

We’ll send you updates on this idea

Marc shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

2 comments

Sign in
(thinking…)
Sign in with: Facebook Google
Signed in as (Sign out)
Submitting...
  • Chris Thrasher [MSFT] commented  ·   ·  Flag as inappropriate

    This unfortunately is intentional. For the v1.0 API, we had the uppercase W, but it was accidentally changed in v2.0. The keep from breaking older clients, we now serialize both, but the values will be identical.

Feedback and Knowledge Base