TextDetectionParams
import type { TextDetectionParams } from "https://googleapis.deno.dev/v1/vision:v1.ts";
Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features.
interface TextDetectionParams {
advancedOcrOptions?: string[];
enableTextDetectionConfidenceScore?: boolean;
}§Properties
§
advancedOcrOptions?: string[]
[src]A list of advanced OCR options to further fine-tune OCR behavior. Current
valid values are: - legacy_layout
: a heuristics layout detection
algorithm, which serves as an alternative to the current ML-based layout
detection algorithm. Customers can choose the best suitable layout
algorithm based on their situation.