tesserocr icon indicating copy to clipboard operation
tesserocr copied to clipboard

when I call function,appear pixDisplayWrite() deprecated warning

Open mujinbao opened this issue 5 years ago • 3 comments

The details are as follows:

###################################################### Notice: pixDisplayWrite() has been deprecated in leptonica since version 1.74. It will become a non-functioning stub in 1.80. ######################################################

So should I ignore this, or should I downgrade leptonica

Due to the frequent use of OCR, my log is full of these warnings. How can I stop them

Thank You @sirfz

mujinbao avatar Dec 05 '19 03:12 mujinbao

Thanks for reporting this, you can definitely ignore it for now. It'll be a problem in version 1.80+ though so we'll need to handle this in the next release.

Not sure how to disable the warning, you'll have to check Leptonica's documentation.

sirfz avatar Dec 05 '19 16:12 sirfz

Actually, just noticed that pixDisplayWrite is not used by tesserocr. Seems like it's called by tesseract itself, so there's nothing to be done on tesserocr's side.

sirfz avatar Dec 05 '19 16:12 sirfz

Well, thank you for your answer. I'll try other ways about the warning output

mujinbao avatar Dec 13 '19 02:12 mujinbao