SwiftOCR icon indicating copy to clipboard operation
SwiftOCR copied to clipboard

How to improve the recognition rate

Open lu469814 opened this issue 6 years ago • 3 comments

How to improve the recognition rate

I have some captcha images here

captcha

I try to use SwiftOCR to identify these codes

This is the result of identification

result

Here is a demo program OCR.zip

How should I improve the recognition rate? Or how should I remove these Unrelated lines

lu469814 avatar Feb 12 '18 14:02 lu469814

Improving accuracy for recognizing captchas won't be possible. SwiftOCR probably work properly with distorted text. What you can do is you can remove the unrelated lines and train SwiftOCR to also recognize lowercase character. If that doesn't help, you should search for another solution.

NMAC427 avatar Feb 12 '18 16:02 NMAC427

I have tried recognize lowercase character It does not help For removing unrelated lines Do you have the relevant processing experience to share?

lu469814 avatar Feb 13 '18 09:02 lu469814

You can try to apply an morphological closing filter to remove the lines but keep the characters.

NMAC427 avatar Feb 14 '18 19:02 NMAC427