For MacOS:
brew install tesseract tesseract-lang
brew install pyenv
pip install --user pipenv
pipenv install
Drop into the shell:
pipenv shell
Or run commands in the shell:
pipenv run ./pincidents.py [...]
- Add automated tests
- Test for and handle image size limits
DecompressionBombWarning ... exceeds limit of 89478485 pixels, could be decompression bomb DOS attackfromPILTesseractError ... Image too largefrompytesseract
- Verify that
--regiondoes not exceed the screen coordinates - Support using
--regionon image source as well as screen source - Add support for mouse drag and select
- Add a window source with selection by mouse click
- Add support for countdown as a graphical overlay