使用哪个库从图像中提取文本? [英] Which library to use to extract text from images?

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

问题描述

我正在编写一个程序,当给出低级数学问题(例如98 * 13)的图像时,应该能够输出答案.数字将为黑色,背景为白色. 不是验证码,只是数学问题的图像.

I am writing a program that when given an image of a low level math problem (e.g. 98*13) should be able to output the answer. The numbers would be black, and the background white. Not a captcha, just an image of a math problem.

数学问题只有两个数字和一个运算符,而该运算符只能是+,-,*或/.

The math problems would only have two numbers and one operator, and that operator would only be +, -, *, or /.

很明显,我知道如何进行计算;)我只是不确定如何从图像中获取文本.

Obviously, I know how to do the calculating ;) I'm just not sure how to go about getting the text from the image.

一个免费的库将是理想的……尽管如果我必须自己编写代码,我可能可以管理.

A free library would be ideal... although If I have to write the code myself I could probably manage.

推荐答案

尝试一下有关在C#中使用C ++ Google Tessaract OCR库的帖子

Try this post regarding using the C++ Google Tessaract OCR lib in C#

带有Tesseract界面的OCR

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

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