@mateuszp/tesseract-wasm
Advanced tools
Comparing version 0.9.48 to 0.9.51
/** | ||
* Handler that receives OCR operation progress updates. | ||
*/ | ||
export declare type ProgressListener = (progress: number) => void; | ||
/** | ||
* Flags indicating position of a text item. | ||
@@ -136,3 +140,3 @@ * | ||
*/ | ||
getTextBoxes(unit: TextUnit): TextItem[]; | ||
getTextBoxes(unit: TextUnit, onProgress?: ProgressListener): TextItem[]; | ||
/** | ||
@@ -145,3 +149,3 @@ * Perform layout analysis and text recognition on the current image, if | ||
*/ | ||
getText(): string; | ||
getText(onProgress?: ProgressListener): string; | ||
/** | ||
@@ -148,0 +152,0 @@ * Attempt to determine the orientation of the document image in degrees. |
{ | ||
"name": "@mateuszp/tesseract-wasm", | ||
"version": "0.9.48", | ||
"version": "0.9.51", | ||
"description": "OCR library built on Tesseract", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
4846729