docs(core): 精简 lib/types/error 文档注释并新增快速开始示例

This commit is contained in:
2026-08-05 09:43:46 +08:00
parent a3c4614574
commit 84cc97b201
11 changed files with 60 additions and 196 deletions

View File

@@ -128,7 +128,7 @@ fn test_full_classification() {
// .expect("识别过程出错")
// .into_text();
let result = Ocr::builder()
.runner(&ocr_runtime)
.build_with(&ocr_runtime)
.predict(&img)
.expect("识别过程出错")
.into_text();