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

GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationMaskAnnotation

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

The mask based segmentation annotation.

interface GoogleCloudAiplatformV1SchemaImageSegmentationAnnotationMaskAnnotation {
maskGcsUri?: string;
}

§Properties

§

The mapping between color and AnnotationSpec for this Annotation.

§
maskGcsUri?: string
[src]

Google Cloud Storage URI that points to the mask image. The image must be in PNG format. It must have the same size as the DataItem's image. Each pixel in the image mask represents the AnnotationSpec which the pixel in the image DataItem belong to. Each color is mapped to one AnnotationSpec based on annotation_spec_colors.