Skip to content

Vision api imageProperties dominant color score meaning #1324

@mik115

Description

@mik115

Hi,
we are using vision api for image analysis.
In the image properties, the dominantColor field is an array containing objects like this:

field meaning
color rgb color representation
score Image-specific score for this color. Value in range [0, 1]
pixelFraction Stores the fraction of pixels the color occupies in the image. Value in range [0, 1]. !

I can't understand the score property meaning and how it is calculated.
In many cases the score value is not related to the pixelFraction value.

thanks in advance

Metadata

Metadata

Labels

api: visionIssues related to the Cloud Vision API.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions