如何从c#中的图像对象中读取文本? [英] how to read text from graphics object like image in c#?

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

问题描述

您好我正在使用visual studio 2010并开发c#应用程序,我想在其中阅读字符或说文本并通过语音合成说出来。我试着搜索OCR但没有得到适当的解决方案。请帮忙。我也试过了 https:// code .msdn.microsoft.com / windowsapps /使用-OCR-Library-to-2a9f5bf4#内容 [ ^ ]

这个链接,但因为它需要VS2013它不工作并抛出一个一些文件的错误没有打开。

Hello I am using visual studio 2010 and developing c# application in which I want to read the characters or say text and speak it through speech synthesis. I tried searching a lot for OCR but not getting proper solution.Please help. I also tried
https://code.msdn.microsoft.com/windowsapps/Uses-the-OCR-Library-to-2a9f5bf4#content[^]
this link but as it requires VS2013 it is not working and throwing an error of some files are not opening.

推荐答案

我无法给你一个最终解决方案:好的OCR很难找到。请查看我过去的答案,并按照我的链接,特别是CodeProject文章:我需要一个ocr来拍摄相机图像 [ ^ ]。



解决方案取决于难度你的问题。甚至像一个简单的解决方案,如tesseract的.NET包装器,一个相当低质量的开源产品也可以做到这一点。您可以使用Google代码中的此类包装: https://code.google.com/p/tesseract-ocr [ ^ ]。

<祝你好运。祝你好运。

-SA
I cannot give you a final solution: good OCR is hard to find. Please see my past answers and follow my links, especially to the CodeProject articles: i need an ocr for a camera image capture[^].

The solution depends on the difficulty of your problem. It's possible that even a simple solution like a .NET wrapper of tesseract, a pretty low-quality open-source product can do the trick. You can use such wrapper from Google Code: https://code.google.com/p/tesseract-ocr[^].

Good luck.
—SA


这是一样的问题 [ ^ ]你昨天(或天)问过之前)我已经发布了一个从图像中读取字符的答案。您需要使用OCR(光学字符识别;识别器)来读取图像中的字符。



这是一个样本项目 [ ^ ]我提供了一个链接,你可以用C ++和C#语言下载它。您可以自己构建项目。
This is the same question[^] you've had asked yesterday (or day before) and I have already posted an answer for reading the characters from an image. You need to use an OCR (Optical Character Recognition; recognizer) to read the characters from an image.

That is a sample project[^] I have provided a link for, and you can download it in C++ and C# language. You would get the idea of building the project for yourself.


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

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