Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleCloudVisionV1p2beta1ColorInfo

import type { GoogleCloudVisionV1p2beta1ColorInfo } from "https://googleapis.deno.dev/v1/vision:v1.ts";

Color information consists of RGB channels, score, and the fraction of the image that the color occupies in the image.

interface GoogleCloudVisionV1p2beta1ColorInfo {
color?: Color;
pixelFraction?: number;
score?: number;
}

§Properties

§
color?: Color
[src]

RGB components of the color.

§
pixelFraction?: number
[src]

The fraction of pixels the color occupies in the image. Value in range [0, 1].

§
score?: number
[src]

Image-specific score for this color. Value in range [0, 1].