diff --git a/paddleocr.py b/paddleocr.py index 470dc60da3b15195bcd401aff5e50be5a2cfd13e..f6aca07ab5653b563337b000bc5eb2cce892ca6e 100644 --- a/paddleocr.py +++ b/paddleocr.py @@ -446,7 +446,7 @@ class PaddleOCR(predict_system.TextSystem): """ ocr with paddleocr args: - img: img for ocr, support ndarray, img_path and list or ndarray + img: img for ocr, support ndarray, img_path and list of ndarray det: use text detection or not. If false, only rec will be exec. Default is True rec: use text recognition or not. If false, only det will be exec. Default is True cls: use angle classifier or not. Default is True. If true, the text with rotation of 180 degrees can be recognized. If no text is rotated by 180 degrees, use cls=False to get better performance. Text with rotation of 90 or 270 degrees can be recognized even if cls=False.