如何将骰子图像旋转到直立位置以获得最佳 OCR?
我有以下图像:
https://i.sstatic.net/sdejq.jpg ---表现出1
https://i.sstatic.net.net/i4ftb.jpg
https://i.sstatic.net/vmys7.jpg - 死亡3
https://i.sstatic.net/uhzxp.jpg.jpg - die显示4
https://i.sstatic.net/kydz5.jpg - die显示5
https://i.sstatic.net/o9y1p.jpg.jpg - die显示了
我想在使用Tesseract上执行OCR。但是,问题是Tesseract OCR在旋转的图像上不能很好地工作,因此我想将图像旋转为直立的方向。我不确定如何做到这一点,因为我是OpenCV的初学者。有人可以指导我如何旋转这些图像吗?谢谢
I have the following images:
https://i.sstatic.net/sdEJQ.jpg - Die showing 1
https://i.sstatic.net/I4FTB.jpg - Die showing 2
https://i.sstatic.net/vmys7.jpg - Die showing 3
https://i.sstatic.net/UhZXp.jpg - Die showing 4
https://i.sstatic.net/KyDz5.jpg - Die showing 5
https://i.sstatic.net/O9y1p.jpg - Die showing 6
That I want to perform OCR on using Tesseract. However, the problem is the Tesseract OCR does not work well on rotated images so I want to rotate the image into an upright orientation. I am not sure how to do this as I am a beginner with OpenCV. Can someone guide me on how to rotate these images ? Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论