- Mar 22, 2013
- 9,145
- 10,489
I'm trying to use ImageMagick to clean a type of captcha so that I can use OCR on it. This is the captcha:
If I run this command:
I get this:
There's 2 problems with it.
One is that the image is still not good enough to be read by Tesseract/OCR. I guess all the dots and the lines are messing it up, plus the letters are kinda blurry.
Can this be cleaned up better/smoother/sharper?
---
The second thing is that I actually took a screenshot of the image that ImageMagic created (capture1) for my second screenshot above. If I try to upload the actual "capture1" image to skype, discord, or here, it still shows the same picture as the original photo.
This:
This isn't necessarily a problem, just thought I'd mention it...
If I run this command:
Code:
magick convert capture.png -fuzz 20% -transparent black capture1.png
I get this:
There's 2 problems with it.
One is that the image is still not good enough to be read by Tesseract/OCR. I guess all the dots and the lines are messing it up, plus the letters are kinda blurry.
Can this be cleaned up better/smoother/sharper?
---
The second thing is that I actually took a screenshot of the image that ImageMagic created (capture1) for my second screenshot above. If I try to upload the actual "capture1" image to skype, discord, or here, it still shows the same picture as the original photo.
This:
This isn't necessarily a problem, just thought I'd mention it...