Meanwhile I found some PHP functions to crop the image and change the
contrast and brightness. The code is as follows:
// Resize
$thumb = imagecrop($source, ['x' => 830, 'y' => 330, 'width' => 115,
'height' => 30]);
// Filter
imagefilter($thumb, IMG_FILTER_GRAYSCALE);
imagefilter($thumb,
I'm totally new with Tesseract and its usage and I tried several hours to
get a suitable result for the attached web-cam picture of my gas meter. I
do use tesseract with the PHP wrapper from
here https://github.com/thiagoalessio/tesseract-ocr-for-php and
installation and recognition with the
I put it to documentation because I had the same problem as you (to find
it) :-)
Zdenko
po 25. 12. 2023 o 4:40 Ger Hobbelt napĂsal(a):
>
>
> On Sat, 23 Dec 2023, 19:16 Zdenko Podobny, wrote:
>
>> tesseract expects black text (lettering) on a white background: that's
>> what is has been
3 matches
Mail list logo