From f3ee1f32e8ca85576ebecbe37e6688288f950b3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=BB=E5=8C=97=E5=86=B5=E5=BD=92?= <2692032597@qq.com> Date: Fri, 24 Mar 2023 03:13:34 +0000 Subject: [PATCH] =?UTF-8?q?update=20FA/OCRDemo/entry/src/main/cpp/types/li?= =?UTF-8?q?btesseract/index.d.ts.=20startOCRByData=20=E8=BF=99=E4=B8=AAAPI?= =?UTF-8?q?=20=E6=97=A2=E6=9C=AA=E5=9C=A8ets=E8=B0=83=E7=94=A8=EF=BC=8C?= =?UTF-8?q?=E4=B9=9F=E6=B2=A1=E6=9C=89=E5=9C=A8napi=E9=87=8C=E9=9D=A2?= =?UTF-8?q?=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 离北况归 <2692032597@qq.com> --- .../entry/src/main/cpp/types/libtesseract/index.d.ts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/FA/OCRDemo/entry/src/main/cpp/types/libtesseract/index.d.ts b/FA/OCRDemo/entry/src/main/cpp/types/libtesseract/index.d.ts index 5d982b15..8bcdd771 100755 --- a/FA/OCRDemo/entry/src/main/cpp/types/libtesseract/index.d.ts +++ b/FA/OCRDemo/entry/src/main/cpp/types/libtesseract/index.d.ts @@ -42,18 +42,6 @@ export const startOCR: (imagePath: string, callback: AsyncCallback) => v */ export const startOCRForBox: (imagePath: string) => string; -/** - * 识别图像数据 - * @param imageData 图像数据 - * @param width 宽 - * @param height 高 - * @param bpp bytes_per_pixel 每像素字节数 - * @param bpl bytes_per_line 给定行中图像像素所需的字节数 - * - * @return 识别结果 - */ -export const startOCRByData: (imageData: Uint8Array, width: number, height: number, bpp: number, bpl: number) => string; - /** * 销毁资源 */ -- Gitee