My colleague is a big fan of automating routine tasks with scripts. This inclination sometimes takes amazing forms. Once he was tired of typing the verification code each time when sending SMS via the operator’s site. And that's what he came up with.
A simple application is written with a dialog box and two input fields - a phone number and a message text. If desired, a list of telecom operators and favorite numbers are added. When you click the "Send" button, the following happens (everything does VBScript):
one). The browser starts with the SMS sending page.
2). From the page, a captcha picture is read and saved to a file.
')
3). Photoshop starts up and debris filters are applied to the saved image (yes, everything is automated).
four). The cleaned image is saved and then opened in ... FineReader! There it is recognized - the application also has an API.
five). Well, then everything is simple - entering the recognized verification code, reading the text of the message and the number, pressing the "Send" button on the page of the site.
Yes, captcha reading and recognition occurs in a while (! Success) loop. So sometimes sending takes several iterations. It will be a little harder if the captcha contains arithmetic, but this is Google!
Maybe all this has long been known, but I was impressed when he made a presentation for the staff.
I wish you all a creative thinking!
Upd1 :
After reading the comments, transferred to "I'm crazy" :)
Upd2 : The colleague allowed to put the code (for biline).
The presentation was a year ago, so I forgot something. Here are the clarifications:
one). Cuneiform is used for recognition.
2). Now sending in this version does not work anymore - they have complicated the pictures. Although, in the comments gave links to other OCR, specially sharpened by the recognition of such pictures.
3). The picture is taken from the browser's cache, but it doesn’t matter.
four). About the form to send - this is my idea. In the attachment, the message is scored right in the script.
Upd3 :
I give the floor to a colleague. Habra thanks for the invite! :)