/** * 文本检测(DB / EAST / PAN) */ import type { OcrImageData, TextBox } from "../typings"; import { BaseRecognizer } from "./baseRecognizer"; export declare class TextDetector extends BaseRecognizer { init(): Promise; /** 检测文本区域 */ detect(image: OcrImageData): Promise; /** TODO: 实现真实 DB 后处理 (box reconstruction + NMS) */ private postprocess; }