diff --git a/paddleocr.py b/paddleocr.py index c176be3ba4c47ad37bf6580e6d841d31d0557f81..99cb369fd9d7015f3d43b4407dee7b78b36442f9 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)