Skip to content

3dprogramin/pof-captcha-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

POF Captcha solver

Recently pof.com updated their captcha from a custom captcha image to Google Invisible reCaptcha.

Project contains a library that can solve the older type of captchas, that pof.com used


The idea behind this captcha is that each time an image with 10 letters is generated. Each letter has either a circle or a triangle above it. The letters required are only those under the circle. There are 5 circles and 5 triangles all the time.

The library uses opencv2 to figure out where the circles are located and tesseract to find out the letters. Afterwards, this data is matched together and the needed 5 letters are returned.

Dependencies

  • python2.7+
  • opencv2
  • pytesseract

Arch linux users can install opencv2 with yaourt opencv2 - takes a bit to build

Keep in mind the library won't work as expected with opencv3. The code will run, but the results won't be the right ones

pytesseract can be installed using pip pip2.7 install pytesseract

Example

This would return wryer

Success rate

From my own tests, I've got to the conclusion that the success rate is somewhere around 72%

License

MIT