Add typing stubs for better type checking support
Author: inyutinCreated Oct 8, 2025Updated Feb 8, 2026
Currently, pytesseract lacks type annotations, which prevents static type checkers like mypy from working properly and reduces IDE autocomplete quality.
Add type hints either:
- Inline in the source code (.py files)
- As separate stub files (.pyi) with a py.typed marker
Source: madmaze/pytesseract