English 中文(简体)
利用开放式国际中心,我如何在行使独立权力之前发现案文取向?
原标题:Using OpenCV, how can I detect text orientation before performing OCR?

I m 在SOS申请中使用开放CV。 我愿就某些案文向监督厅汇报,但我首先需要确定其方向。

我如何在开放世界中这样做?

问题回答

我不敢肯定,没有在目标C中提供欧安办事处,就能够回答这个问题。 在不使用欧安办事处图书馆的情况下,很难用几条文字来做。

早在20年前,我就写过了“OCR”系统(不使用任何“OCR”图书馆),以实时阅读银行支票。 它也以这种方式对手写签名进行认证。

检查取向的问题已经怀孕,因为可以任意(由人操作者)在小型汽车化银行扫描扫描仪上安装检查。

由于所有银行都在使用不同的页码和校正,在不依赖磁墨(扫描仪没有发现)的情况下找到方向的唯一途径是实际上试图让OCR承认在网页顶上发现的头号特征。

一些果园像O一样含糊不清,但如果图象被歪曲或照相,那么其他大多数人会告诉你,看一看头3-5个果园就会做(除非你重复)。

Good luck!

www.un.org/spanish/ecosoc 这一答复是更新的。

  • If you need to detect the rotation angle of the text, take a look at this article (it shares source code):

  • After the text has been deskewed, the OCR procedure can be executed and it s result compared to a dictionary. If the matching rate is high, you know the text was rotated properly and the orientation is now OK.

i ran into a similar problem a few weeks ago and only just started looking into it before i got distracted. Anyway, you can achieve what you want (to a degree) using discrete fourier transforms. Blur or erode the image so that all the little white gaps in the individual words/lines fill into a solid black line (this helps remove alot of the high frequency noise from the image), take the DFT of the image, apply a low-pass or band-pass filter over it (frequency according to the desired font size relative to the image size), and analyze the resulting magnitude plot. You will have to a bit of research or someone else will need to elaborate, but this definitely seemed like the best solution that i found.

我现在要做另一个项目,但是,如果其他人已经这样做的话,我会在一个星期内回去,让你们知道更多有关该项目的细节。 从今以后,这个职位就算是老的,因此甚至可能不会得到答复,但这将是另一个展望未来的人的良好参考。

Hough transform may help You。 最大(确切地说,它属于主要群组,但你需要k-means,加上k=1)。

“entergraph





相关问题
List Contents of Directory in a UITableView

I am trying to list the contents of Ringtones directory in a TableView, however, I am only getting the last file in the directory in ALL cells, instead of file per cell. This is my code: - (...

iPhone NSUserDefaults persistance difficulty

In my app i have a bunch of data i store in the NSUserdefaults. This information consists of an NSObject (Object1) with NSStrings and NSNumbers and also 2 instances of yet another object (Object2). ...

Writing a masked image to disk as a PNG file

Basically I m downloading images off of a webserver and then caching them to the disk, but before I do so I want to mask them. I m using the masking code everyone seems to point at which can be found ...

Resize UIImage with aspect ratio?

I m using this code to resize an image on the iPhone: CGRect screenRect = CGRectMake(0, 0, 320.0, 480.0); UIGraphicsBeginImageContext(screenRect.size); [value drawInRect:screenRect blendMode:...

Allowing interaction with a UIView under another UIView

Is there a simple way of allowing interaction with a button in a UIView that lies under another UIView - where there are no actual objects from the top UIView on top of the button? For instance, ...

热门标签