From 20a9d3086562b0b355724f1a9704ac55aee084b4 Mon Sep 17 00:00:00 2001 From: WenmuZhou Date: Wed, 24 Feb 2021 15:41:11 +0800 Subject: [PATCH] remove blank line --- paddleocr.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/paddleocr.py b/paddleocr.py index c176be3b..99cb369f 100644 --- a/paddleocr.py +++ b/paddleocr.py @@ -347,9 +347,3 @@ def main(): if result is not None: for line in result: logger.info(line) - - -if __name__ == '__main__': - ocr = PaddleOCR(use_angle_cls=False) - r = ocr.ocr('doc/imgs/1.jpg') - print(r) -- GitLab