如何从图像中读取符号 [英] How do I read symbols from an image

查看:105
本文介绍了如何从图像中读取符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,我想要实现的是从图像中读取某些符号然后将其转换为普通字符串。



现在的程序是从窗口创建一个位图,现在需要查看创建的位图并找到我要查找的符号,我有另一个包含所有符号的位图。



我不知道到底要去哪里,我可以改变位图只能制作这些符号所在位置的图像,因为它们总是以不同的顺序位于同一位置。

任何领先的去哪里都会受到赞赏。



我的尝试:



我不知道该怎么做,但我想在块上切割创建的位图,因为每个符号是一行6x11像素的块,然后对位图做同样的事情与它可以找到的所有符号。在这之后我只需要使用switch语句进行比较。

解决方案

图像识别是一项非常复杂的任务。以下是关于此主题的Google搜索:微软图像识别 - Google搜索 [ ^ ]



以上是搜索上面的几个链接:

* 比较五大计算机视觉API - Gaurav Oberoi [ ^ ]

* 计算机视觉 - 图像处理和分析| Microsoft Azure [ ^ ]

* 实验室图像识别| Microsoft Docs [ ^ ]

Alright, so what I am trying to achieve is to read certain symbols from an image and then converting that to a normal string.

The program right now is creating a bitmap from the window, it now needs to go over the created bitmap and find the symbols I am looking for, I've got another bitmap that has all said symbols.

I don't know where to go exactly, I could change the bitmap to only make an image of where those symbols would be at, as they are always on the same position just in a different order.
Any lead on where to go would be appreciated.

What I have tried:

I don't know what to do exactly, but I figured to chop the created bitmap up on blocks, as each symbol is a block of 6x11 pixels in a row, and then doing the same to the bitmap with all symbols that it could find. After doing that I would just have to use a switch statement for comparing.

解决方案

Image recognition is a very complex task. Here is a Google Search on the subject: microsoft image recognition - Google Search[^]

And here are a couple of links from above search:
* Comparing the Top Five Computer Vision APIs – Gaurav Oberoi[^]
* Computer vision – Image processing and analytics | Microsoft Azure[^]
* Hands-on Labs Image Recognition | Microsoft Docs[^]


这篇关于如何从图像中读取符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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