无法将模式RGBA写为BMP pytesser(cannot write mode RGBA as BMP pytesser)

编程入门 行业动态 更新时间:2024-10-13 00:34:06
无法将模式RGBA写为BMP pytesser(cannot write mode RGBA as BMP pytesser)

我使用PyTesser从图像中获取文本。 它主要工作正常,但在某些情况下我得到这个错误:

cannot write mode RGBA as BMP

图像没有问题,很好,只有文字不同。

I'm use PyTesser to get text from image. It's mostly working fine but in some cases I get this error:

cannot write mode RGBA as BMP

Images have no problem and is fine and same only text is different.

最满意答案

我说,必须调整图像大小,你可以使用插件编辑图像大小,然后再使用它并阅读它,插件就像pil希望为你工作

i say that , must resize the image you can use plugins for edit image size before use it and read it , plugin like pil hope to work for you

更多推荐

本文发布于:2023-08-01 01:43:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1350648.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:模式   RGBA   BMP   mode   write

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!