Skip to content

Commit

Permalink
Update paddleocr.py
Browse files Browse the repository at this point in the history
Co-authored-by: Wang Xin <xinwang614@gmail.com>
  • Loading branch information
jzhang533 and GreatV authored Jul 13, 2024
1 parent e70dda7 commit 0eb4e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddleocr.py
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ def ocr(
img: Image for OCR. It can be an ndarray, img_path, or a list of ndarrays.
det: Use text detection or not. If False, only text recognition will be executed. Default is True.
rec: Use text recognition or not. If False, only text detection will be executed. Default is True.
cls: Use angle classifier or not. Default is True. If True, the text with a rotation of 180 degrees can be recognized. If no text is rotated by 180 degrees, use cls=False to get better performance. Text with a rotation of 90 or 270 degrees can be recognized even if cls=False.
cls: Use angle classifier or not. Default is True. If True, the text with a rotation of 180 degrees can be recognized. If no text is rotated by 180 degrees, use cls=False to get better performance.
bin: Binarize image to black and white. Default is False.
inv: Invert image colors. Default is False.
alpha_color: Set RGB color Tuple for transparent parts replacement. Default is pure white.
Expand Down

0 comments on commit 0eb4e20

Please sign in to comment.