Java中的字符识别 [英] Character recognition in java

查看:105
本文介绍了Java中的字符识别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在完成我的最后一年的项目.这是关于验证码的破坏.也就是说,为了证明验证码很容易被破坏.
为此,需要遵循以下步骤:

1.跟踪输入图像中字符的位置.
2.提取每个字符.我们也可以说它是字符分割.即分别分隔每个字符.

我已经完成了我的项目,直到这一步

现在我们有:
1.分割后的图像.
2.一组训练图像.即一组图像,每个图像代表一个字符.

我现在要做什么:

1.维护一个包含2列的数据库.一个代表个人角色.即从a到z.第二个代表在对相应的训练图像应用某些功能后获得的值.

2.在步骤2中获得的分割图像上应用相同的功能后,我们还将获得其值.这些值将在数据库中进行比较,并将获取相应的字符.通过这种方式,我们可以获得与该图像相对应的文本.

我想知道应该对训练图像集应用哪个函数,以获取每个训练图像的唯一值.

Hi All,

I am working on my final year project. It is about CAPTCHA breaking. i.e. To show that captchas are easily broken.
For that following steps need to be followed:

1. Trace the position of characters in the input image.
2. Extract each character. We can also say it as character segmentation. i.e. Separating each character individually.

I have completed my project till this step

Now we have:
1. The segmented images.
2. A training set of images. i.e. A set of images each representing an individual character.

What I want to do now:

1. Maintain a database containing 2 columns. One representing the individual character. i.e. From a to z. Second representing the value obtained after applying some function on the corresponding training image.

2. After applying the same function on the segmented image, which we have obtained in step 2, we''ll get their values also. These values will be compared in the database and the corresponding character will be fetched. In this way we can get the text corresponding to that image.

I want to know which function should I apply on the training set of images to get a single and unique value of each training image.

推荐答案

我不认为验证码可以容易易碎.至少在目前,看来对您来说牢不可破.

我认为这是因为您正在尝试将基于培训的方法应用于常规OCR问题而不是应用于CAPTCHA.如果验证码可以在每次更新时以不同的方式来处理字符,那么您可以应用哪些培训?我认为您低估了问题的复杂性.

—SA
I don''t think CAPTCHA can be easily breakable. At least, it looks like it is completely unbreakable for you, at least at this moment.

I think this is because you''re trying to apply training-based approach not to regular OCR problem but to CAPTCHA. What training can you apply if CAPTCHA can mangle the characters in different ways on every update? In my opinion, you underestimate the complexity of your problem.

—SA


我遇到了与您提到的问题相同的问题,然后我确定了图像中的字符在哪里,我指定了其余所有字符的高度和宽度关于如何提取此字符并在发现解决方案的乐趣时与我分享的信息,请予以识别
i am having the same problem as you mensioned before i determined where is the character in the image and i specified its hight and width all the rest is about how to extract this charcters and recognize it if you found solution pleaze share it with me


这篇关于Java中的字符识别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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