Skip to content

Commit

Permalink
docs: 修正 0.1-快速开始.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO authored Oct 17, 2023
1 parent 026b0e1 commit 15eee4e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/zh_cn/0.1-快速开始.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 快速开始

## 资源文件
## 准备资源文件

首先您需要准备一些资源文件,典型的文件结构如下:

Expand Down Expand Up @@ -33,23 +33,23 @@ my_resource
- [JSON Schema](../../assets/resource/pipeline.schema.json)
- [图形化编辑器](https://github.com/MaaAssistantArknights/MaaJsonViewer)

## 图片文件
### 图片文件

`my_resource/image` 中的文件,主要为 pipeline 所用到的模板匹配图片、特征检测图片等,会按照 pipeline 中设定的 `template` 等字段读取对应的文件。

一些小工具:

- [图片裁剪及 ROI 获取工具](../../tools/ImageCropper/README.zh_cn.md)

## 文字识别模型文件
### 文字识别模型文件

`my_resource/model/ocr` 中的文件,为 [PaddleOCR](https://github.com/PaddlePaddle/PaddleOCR) 转 ONNX 后的模型文件。

可使用我们的预转换文件:[MaaCommonAssets](https://github.com/MaaAssistantArknights/MaaCommonAssets/tree/main/OCR),选择需要的语种,按照 [上述](#资源文件) 目录结构存放即可。

若有需要也可以自行对 PaddleOCR 的官方预训练模型进行 fine-tuning (请自行参考 [PaddleOCR](https://github.com/PaddlePaddle/PaddleOCR) 官方文档),并转换成 ONNX 文件使用,转换命令可参考 [这里](https://github.com/MaaAssistantArknights/MaaCommonAssets/tree/main/OCR#command)

## 属性文件
### 目录属性文件

`properties.json` 可用于设置部分当前目录下的属性,典型 JSON 结构如下:

Expand All @@ -66,7 +66,7 @@ _请注意,JSON 不支持注释,以下仅为演示,请勿直接复制使

根据您的平台下载并解压:[Releases](https://github.com/MaaAssistantArknights/MaaFramework/releases)

## 控制器代理预编译文件
## 下载控制器代理预编译文件

请将 [MaaAgentBinary](https://github.com/MaaAssistantArknights/MaaAgentBinary) clone 到您的 MaaFramework 动态库同目录下

Expand Down

0 comments on commit 15eee4e

Please sign in to comment.