We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92bcd86 commit 79121a4Copy full SHA for 79121a4
pdfalyzer/helpers/image_helper.py
@@ -5,7 +5,7 @@
5
from pdfalyzer.helpers.rich_text_helper import warning_text
6
7
8
-def ocr_text(image: "Image.Image", image_name: str) -> Optional[str]:
+def ocr_text(image: "Image.Image", image_name: str) -> Optional[str]: # noqa F821
9
"""Use pytesseract to OCR the text in the image and return it as a string."""
10
import pytesseract
11
from PIL import Image
0 commit comments