从图像文件中读取文本 [英] read text from image file

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

问题描述

你好专家。

我想在VB中制作一个程序,我有一个图像文件i,e jpg,tif等。

如何打开这个图像文件并读取文本并生成文本文件?

如果有任何想法请发送给我。


提前致谢。

解决方案

图像文件如何包含文本?


如果你想打开然后在richtextbox中使用。使用该控件你可以打开任何类型的文件,甚至dll和exe。



你好专家

i want在vb中制作程序,其中我有一个图像文件i,e jpg,tif等

如何打开此图像文件并阅读文本并生成文本文件。

如果有任何想法那么请发给我


提前预付



如果你想创建一个程序像OmniPage一样,你有一项艰巨的任务。您在图像文件中看到的字符只是由称为像素的点组成,没有ascii字符。此外,图像文件格式非常难。 HTH --Sam


你好专家

我从网上搜索得到这个代码但是当我执行这个代码时它显示错误aspriseOCR.dll找不到文件,但是当我不知道如何创建这个代码的dll文件时,请通过提供以下函数的一些代码来帮助我,这样如果没有显示上面的错误

.. ................................................ .. ................................................ .. ............................................................................................................................................................................................................................................................................................................................. getChildren(this),true);>展开 | 选择 | Wrap | 行号


Hello expert.
I want to make a program in VB in which I have an image file i,e jpg, tif etc.
How can I open this image file and read the text and generate a text file?
If there is any idea then please send me.

Thanks in advance.

解决方案

How the image file contains text?

Still then if you want to open then use in a richtextbox. Using that control you can open any type of file even dll and exe also.


hello expert
i want to make programe in vb in which i have an image file i,e jpg, tif etc
how i can open this image file and read the text and generate a text file .
if there is any idea then please send me

thaks in advance

If you are trying to create a program like OmniPage, you have an enormous task. The characters that you see in an image file are just composed of dots called pixels, there are no ascii characters. Plus, image file formats are pretty tough. HTH --Sam


hello expert
i got this code from internet searching but when i execute this code it shows the error that the "aspriseOCR.dll" file was not found but when i have no idea about how the dll file for this code is create please help me by providing some code for the following functions so that if does not show the above error
.................................................. .................................................. .......

Expand|Select|Wrap|Line Numbers


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

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