From 54ed5cbca345b2864d6b8a04d851ddf676795d1d Mon Sep 17 00:00:00 2001 From: "DESKTOP-9FJNTIC\\gyb" <121287102@qq.com> Date: Wed, 24 Sep 2025 11:44:59 +0800 Subject: [PATCH] =?UTF-8?q?readme=E5=92=8C=E5=90=8D=E7=A7=B0=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 34 +++++++++++++------ .../main/resources/base/element/string.json | 2 +- .../main/resources/en_US/element/string.json | 2 +- .../main/resources/zh_CN/element/string.json | 2 +- 4 files changed, 26 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index a35a3f1..d5507ca 100644 --- a/README.md +++ b/README.md @@ -18,24 +18,36 @@ 使用说明: -1. 在手机的主屏幕,点击”SheetDemo“,启动应用。 -2. 点击“SheetExtraction”按钮,跳转到文档扫描控件。 -3. 将镜头对准一张表格,跳出”表格提取“气泡(必须保证是表格,否则无法出现入口)。 -4. 点击”表格提取“气泡,进入表格提取拍摄页面。 -5. 点击拍摄识别表格。 +1. 点击“表格识别”按钮,跳转到文档扫描控件。 +2. 将镜头对准一张表格,跳出”表格提取“气泡(必须保证是表格,否则无法出现入口)。 +3. 点击”表格提取“气泡,进入表格提取拍摄页面。 +4. 点击拍摄识别表格。 ## 工程目录 ``` -├──entry/src/main/ets // 代码区 +visionkit-samplecode-sheet-extraction-demo-arkts +├──sheetrecognitionlibrary/src/main/ets +│ ├──components +│ │ └──MainComponent.ets // 主页展示组件 +│ │ └──SheetExtractionComponent.ets +│ ├──constants +│ │ └──CommonConstants.ets // 常量类 +│ ├──utils +│ │ ├───BreakpointSystem.ets // 多设备适配类 +│ │ └───WindowUtil.ets // 通用窗口工具类 +│ │ └───FileUtil.ets // 文件工具类 +│ │ └───Logger.ets // Log工具类 +│ └───SheetRecognitionController.ets // 控制器类,窗口控制 +└────sheetrecognitionlibrary/src/main/resources // 资源目录 +├──sheetrecognitionsample/src/main/ets │ ├──entryability -│ │ └──EntryAbility.ets // 入口Ability -│ └──pages -│ ├──Index.ets // 应用主界面 -│ └──SheetExtractionPage.ets // 文档扫描主界面 -└──entry/src/main/resources // 应用资源目录 +│ │ └──EntryAbility.ets // 应用生命周期类 +│ ├──pages +│ │ └──Index.ets // 主页面 +└────sheetrecognitionsample/src/main/resources // 资源目录 ``` diff --git a/sheetrecognitionsample/src/main/resources/base/element/string.json b/sheetrecognitionsample/src/main/resources/base/element/string.json index 4e1e27f..8f09f74 100644 --- a/sheetrecognitionsample/src/main/resources/base/element/string.json +++ b/sheetrecognitionsample/src/main/resources/base/element/string.json @@ -10,7 +10,7 @@ }, { "name": "EntryAbility_label", - "value": "SheetDemo" + "value": "SheetRecognition" } ] } \ No newline at end of file diff --git a/sheetrecognitionsample/src/main/resources/en_US/element/string.json b/sheetrecognitionsample/src/main/resources/en_US/element/string.json index 4e1e27f..8f09f74 100644 --- a/sheetrecognitionsample/src/main/resources/en_US/element/string.json +++ b/sheetrecognitionsample/src/main/resources/en_US/element/string.json @@ -10,7 +10,7 @@ }, { "name": "EntryAbility_label", - "value": "SheetDemo" + "value": "SheetRecognition" } ] } \ No newline at end of file diff --git a/sheetrecognitionsample/src/main/resources/zh_CN/element/string.json b/sheetrecognitionsample/src/main/resources/zh_CN/element/string.json index 9861393..fde967a 100644 --- a/sheetrecognitionsample/src/main/resources/zh_CN/element/string.json +++ b/sheetrecognitionsample/src/main/resources/zh_CN/element/string.json @@ -10,7 +10,7 @@ }, { "name": "EntryAbility_label", - "value": "SheetDemo" + "value": "表格识别" } ] } \ No newline at end of file -- Gitee