Skip to content

Commit a065e5d

Browse files
authored
Merge pull request #180 from biexiaozhi/patch-2
Fix typos in Chinese documentation for AI models
2 parents 13b21fb + 63ec95a commit a065e5d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/doc/zh/pro/customize_model.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ update:
2727

2828
## 在 Python 层面添加视觉 AI 模型和算法
2929

30-
对于视觉,一般来说是对图像进行时别,即:
30+
对于视觉,一般来说是对图像进行识别,即:
3131
* 输入:图像
3232
* 输出:任何数据,比如分类、概率、图像、坐标等
3333

@@ -46,7 +46,7 @@ objs = detector.detect(img, conf_th = 0.5, iou_th = 0.45)
4646
img.draw_string(obj.x, obj.y, msg, color = image.COLOR_RED)
4747
```
4848

49-
可以看到先构建`YOLO11`对象读取模型,然后将图片传给`detect`方法时别,每一步内部分别做了:
49+
可以看到先构建`YOLO11`对象读取模型,然后将图片传给`detect`方法识别,每一步内部分别做了:
5050
* nn.YOLO11(): 构造对象,读取加载模型到内存,解析模型。
5151
* detector.detect():
5252
* 预处理图像,一般是标准化图像即 `(值 - mean) * scale` 将像素值调整到一个合适的范围比如[0,1],这个由训练模型时决定,运行时要和训练时用的方法一致。

0 commit comments

Comments
 (0)