Skip to content

sampritipanda/securimage_solver

Repository files navigation

SecureImage Solver

Uses convolutional neural networks to solve CAPTCHA images generated by SecureImage library in php with an accuracy of 90%. Bits and pieces taken from Patrick Li's project.

Requirements

  • Python 3.5-3.7 (64-bit)
  • pip 19.0 or later
  • Ubuntu 16.04 or later (64-bit)
  • macOS 10.12.6 (Sierra) or later (64-bit) (no GPU support)
  • Windows 7 or later (64-bit) (Python 3 only)
  • Raspbian 9.0 or later

Usage

Clone/Download the repository & install by running python setup.py install

  • Get solution for an image.

    import captcha_api
    captcha_api.predict('/path/to/image.png')
  • Generate random images for testing.

    $> php securimage_solver/secureimage_show.php
    

Examples of CAPTCHAs that have been successfully solved:

Image1 Image2

Image3 Image4

License

The mighty MIT license. Check License file for more info.