将图像转换为文本 [英] Converting Image to Text

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

问题描述



我想制作一个C#windows应用程序,将扫描图像转换为文本。是否有可能在C#.Net中。如果您有任何想法请帮忙。



我搜索了codeproject本身的一些文章。但似乎不起作用,不完全是我的要求。我将从扫描仪获得包含文本的图像。我需要在图像中转换该文本。是否可以使用.Net或Java?

解决方案

您所指的是光学字符识别(OCR)。关于如何进行OCR,CodeProject上有很多很棒的文章。他们中的一些人谈论免费方法,但根据我的经验,他们要么准确度低,要么没有提供很多功能,例如:

http://www.codeproject.com/Articles/238114/Realtime -Webcam-Sudoku-Solver(比OCR做得多,但OCR部分特定于数独谜题中的数字)

OCR在Visual C ++中使用MODI (在C ++中使用MS控件,但可以在C#中使用相同的控件)。



另一方面,有一些商业工具包可以提供更多功能和更高的准确性。您可以在以下链接中找到关于其中一个的文章:

OCR with LEADTOOLS:The Better Choice


请参考以下主题:



生成图像来自使用C#的文本或使用C#将文本转换为图像 [ ^ ]



如何在c#中将图像转换为文本 [ ^ ]

将图像转换为二进制格式? [ ^ ]


你可以使用EmguCV来实现这个目标。



http:// www.emgu.com/wiki/index.php/License_Plate_Recognition_in_CSharp [ ^ ]

Hi,
I want to make a C# windows application which convert a scanned image to text. Is it possible in C#.Net. Please help if you have any idea.

I searched some article in codeproject itself. But seems not working and not exactly my requirement. I will get an image contains text from the scanner. I need to convert that text in the image. Is that possible using .Net or Java?

解决方案

What you are referring to is called Optical Character Recognition (OCR). There are a lot of great articles on CodeProject on how to OCR. Some of them talk about free methods but from my experience, they either have low accuracy or do not provide many features, such as:
http://www.codeproject.com/Articles/238114/Realtime-Webcam-Sudoku-Solver (does a lot more than OCR, but the OCR part is specific to numerical digits in Sudoku puzzles)
OCR With MODI in Visual C++ (uses MS control in C++, but can use same control in C#).

On the other hand, there are some commercial toolkits that provide more features and higher accuracy. You can find an article on one of them in the following link:
OCR with LEADTOOLS: The Better Choice


Please refer following threads:

Generate Image from text using C# OR Convert Text in to Image using C#[^]

How can i convert image to text in c# [^]
Convert Image to binary format?[^]


You can achive this using EmguCV.

http://www.emgu.com/wiki/index.php/License_Plate_Recognition_in_CSharp[^]


这篇关于将图像转换为文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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