diff --git a/paddlecv/ppcv/ops/output/ocr.py b/paddlecv/ppcv/ops/output/ocr.py index a3b634a1df40f6fa8d37407b28208c0f8b71eb2c..ca054ffa5868b87475baa52fea56b798a4c9c37e 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)