From 7ce1a6f482ff3f36770502e942a0fa34a02d6f9c Mon Sep 17 00:00:00 2001 From: zhoujun <572459439@qq.com> Date: Tue, 29 Nov 2022 12:55:45 +0800 Subject: [PATCH] 333 (#5687) * fix re error * add hit in PPStructure --- paddlecv/ppcv/ops/output/ocr.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/paddlecv/ppcv/ops/output/ocr.py b/paddlecv/ppcv/ops/output/ocr.py index a3b634a1..ca054ffa 100644 --- a/paddlecv/ppcv/ops/output/ocr.py +++ b/paddlecv/ppcv/ops/output/ocr.py @@ -217,6 +217,8 @@ class PPStructureOutput(OutputBaseOp): logger.info(res) if self.save_res or self.return_res: total_res.append(res) + if self.save_img: + logger.info('save img is not support in PPStructure') if self.save_res: res_file_name = 'output.json' out_path = os.path.join(self.output_dir, res_file_name) -- GitLab