C ++图像处理库 [英] Image Processing Library for C++

查看:184
本文介绍了C ++图像处理库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一个可以检测图像中对象的库(使用边缘检测)。这与验证码无关。我正在研究一种使用OCR的MTGO机器人,它可以在任何屏幕分辨率下工作。为了将其移植到任何屏幕分辨率,我的想法是扫描结果页面上的窄范围(播放器具有的卡片可以在文本行中列出)并查找该范围内的每个对象。然后获取每个对象的最低和最高像素坐标,以找到行开始和结束的位置(在y轴上),以便我可以使用OCR读取每一行。

I need a library that can detect objects in an image (uses edge detection). This is NOT related to captchas. I am working on an MTGO bot that uses OCR and that works in any screen resolution. In order for it to port to any screen resolution my idea is to scan down narrow range on a results page (the cards that a player has can be listed in rows of text) and to find each object in that range. Then to take the lowest and highest pixel coordinates of each object to find where the row starts and ends (on the y axis) so that I can use OCR to read each line.

推荐答案

如果您不知道 OpenCV 集合例子,然后他们可以帮助你朝着正确的方向......还有 Camellia 不要使用边缘检测,但可以通过一些工作获得所需的结果。

If you don't know of the OpenCV collection of examples, then they could help you in the right direction... there's also Camellia which doesn't use "edge detection" per-se but could get the results you need with a bit of work.

这篇关于C ++图像处理库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆