使用Tesseract分析.tif图像并遇到以下错误。试过谷歌,但没有得到明确的答案。有没有人经历过这些?
命令:tesseract "source.tif" "destination" -l swe
https://github.com/UB-Mannheim/tesseract/wiki
Tesseract Open Source OCR Engine v3.05.00dev with Leptonica
TIFFReadDirectory: Warning, Unknown field with tag 37724 (0x935c) encountered.
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored.
Page 1
TIFFReadDirectory: Warning, Unknown field with tag 37724 (0x935c) encountered.
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored.
答案 0 :(得分:0)
警告来自libtiff
,表示输入TIFF图像存在差异。可以忽略它们,或者如果要禁止它们打印到控制台,则使用quiet
选项。
https://github.com/tesseract-ocr/tesseract/wiki/FAQ#how-can-i-suppress-tesseract-info-line