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

GoogleCloudVisionV1p1beta1InputConfig

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

The desired input location and metadata.

interface GoogleCloudVisionV1p1beta1InputConfig {
content?: Uint8Array;
mimeType?: string;
}

§Properties

§
content?: Uint8Array
[src]

File content, represented as a stream of bytes. Note: As with all bytes fields, protobuffers use a pure binary representation, whereas JSON representations use base64. Currently, this field only works for BatchAnnotateFiles requests. It does not work for AsyncBatchAnnotateFiles requests.

§

The Google Cloud Storage location to read the input from.

§
mimeType?: string
[src]

The type of the file. Currently only "application/pdf", "image/tiff" and "image/gif" are supported. Wildcards are not supported.