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

Page

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

Detected page from OCR.

interface Page {
blocks?: Block[];
confidence?: number;
height?: number;
property?: TextProperty;
width?: number;
}

§Properties

§
blocks?: Block[]
[src]

List of blocks of text, images etc on this page.

§
confidence?: number
[src]

Confidence of the OCR results on the page. Range [0, 1].

§
height?: number
[src]

Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.

§

Additional information detected on the page.

§
width?: number
[src]

Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.