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

GoogleCloudVisionV1p1beta1CropHint

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

Single crop hint that is used to generate a new crop when serving an image.

interface GoogleCloudVisionV1p1beta1CropHint {
confidence?: number;
importanceFraction?: number;
}

§Properties

§

The bounding polygon for the crop region. The coordinates of the bounding box are in the original image's scale.

§
confidence?: number
[src]

Confidence of this being a salient region. Range [0, 1].

§
importanceFraction?: number
[src]

Fraction of importance of this salient region with respect to the original image.