GoogleCloudVisionV1p2beta1TextAnnotation
import type { GoogleCloudVisionV1p2beta1TextAnnotation } from "https://googleapis.deno.dev/v1/vision:v1.ts";
TextAnnotation contains a structured representation of OCR extracted text. The hierarchy of an OCR extracted text structure is like this: TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol Each structural component, starting from Page, may further have their own properties. Properties describe detected languages, breaks etc.. Please refer to the TextAnnotation.TextProperty message definition below for more detail.
interface GoogleCloudVisionV1p2beta1TextAnnotation {
pages?: GoogleCloudVisionV1p2beta1Page[];
text?: string;
}