mirror of
https://github.com/ocrmypdf/OCRmyPDF.git
synced 2026-05-19 03:58:06 -04:00
Fix a comment about Tesseract behavior in certain versions
This commit is contained in:
@@ -160,7 +160,7 @@ def get_orientation(input_file, language: list, engine_mode, timeout: float,
|
||||
assert 'Rotate' not in osd
|
||||
angle = -angle % 360
|
||||
else:
|
||||
# Tesseract == 3.04.01, hopefully also Tesseract > 3.04.01
|
||||
# Tesseract >= 3.04.01
|
||||
# reports "Orientation in degrees" as a clockwise angle
|
||||
assert 'Rotate' in osd
|
||||
|
||||
|
||||
Reference in New Issue
Block a user