thiagoalessio / tesseract-ocr-for-php

A wrapper to work with Tesseract OCR inside PHP.
https://packagist.org/packages/thiagoalessio/tesseract_ocr
MIT License
2.86k stars 551 forks source link

Add timeout to calling tesseract #218

Closed tobias74 closed 3 years ago

tobias74 commented 3 years ago

This PR introduces a timeout to the execution of tesseract to prevent endless execution of a stalled tesseract.