File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
docs/version3.x/deployment/cpp Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -847,7 +847,8 @@ int main(){
847
847
// params.use_doc_orientation_classify = false; // 不使用文档方向分类模型。
848
848
// params.use_doc_unwarping = false; // 不使用文本图像矫正模型。
849
849
// params.use_textline_orientation = false; // 不使用文本行方向分类模型。
850
- // params.params.text_recognition_model_name = "PP-OCRv5_server_rec" // 使用 PP-OCRv5_server_rec 模型进行识别。
850
+ // params.text_detection_model_name = "PP-OCRv5_server_det"; // 使用 PP-OCRv5_server_det 模型进行检测。
851
+ // params.text_recognition_model_name = "PP-OCRv5_server_rec"; // 使用 PP-OCRv5_server_rec 模型进行识别。
851
852
// params.vis_font_dir = "your_vis_font_dir"; // 当编译时添加 -DUSE_FREETYPE=ON 选项,必须提供相应 ttf 字体文件路径。
852
853
853
854
auto infer = PaddleOCR(params);
You can’t perform that action at this time.
0 commit comments