UNPKG

react-pdf-ner-annotator

Version:

A React component to annotate named entities directly onto a PDF.

9 lines (8 loc) 293 B
import { OCRResult } from '../interfaces/orc'; declare const useTesseract: (scale: number, context: CanvasRenderingContext2D) => { ocrResult: OCRResult; ocrError: string; ocrLoading: boolean; doOCR: (language?: string) => Promise<void>; }; export default useTesseract;