Captchas aren't meant to be machine-readable, and that's terrible. It is time to end this obvious bout of unfounded hatred for machines just trying to let you know about great deals on ṗḧ@ṛḿ4ćëüẗ1ċäḷṡ
Note: All captchas were made by using a library that has been modified so that it mostly generates images much easier than most real captchas. Don't expect code here to work well in the real world.
Make a program that translates given captchas to their text.
- Please don't just hardcode the images or image hashes or such. If anyone does this I'm going to generate another testcase folder and then everyone will be unhappy. (Hardcoding stuff like "this is how a letter looks" is allowed, but creativity is encouraged.)
- Don't rely on the filename or anything but the actual image data for anything other than validating your output.
- Your program must be below 50,000 bytes.
- No using Tesseract. Come on, you thought it was gonna be that easy?
- All captchas have 6 letters in them.
- All captchas are 200 by 80 pixels.
- All characters are lowercase.
- All characters are in the range a-z, with no numbers or special characters.
- All captchas fit the regex
- Every testcase is named
Test your program on all 1000 images provided in the tar.gz. (the gist files are just example files)
Your program's score is
(amount_correct / 1000) * 100%.