Skip to main content

Solving captchas never ends...

Project description

Amazon Captcha Solver

Pure Python, non-OCR, lightweight, Pillow-based solver for the Amazon image captcha.

Accuracy Timing Size Version Python version Downloads

Installation

pip install amazoncaptcha

Quick Snippet

from amazoncaptcha import AmazonCaptcha

solution = AmazonCaptcha('captcha.jpg').solve()

Popular Usage

from amazoncaptcha import AmazonCaptcha
from selenium import webdriver

driver = webdriver.Chrome()
driver.get('https://www.amazon.com/errors/validateCaptcha')

captcha = AmazonCaptcha.from_webdriver(driver)
solution = captcha.solve()

For Whom?

  • Data extraction and web scraping specialists could use this tool, obviously, to bypass the Amazon captcha.
  • Machine learning developers could use captchas folder (currently contains 15000 solved captchas) based on a demand.

Contribution

  • If you checked the code and you know the way or have any ideas, how to make it better, feel free to fork-n-pull or contact me. Thank you!
  • If you want to help with current problems, please check this file.

Changes

  • Version 0.0.10:
    1. Reached 10000 training samples.
    2. Reached 90%+ accuracy.
  • Version 0.0.11:
    1. Fixed error with captcha images that were taken from BytesIO.
  • Version 0.0.12:
    1. Code adjustments and improvements.
    2. Program can now solve images where last letter is corrupted.
  • Version 0.0.13:
    1. Added and tested 'from_webdriver' classmethod.
  • Version 0.1.0:
    1. 100,000 captchas crash test, accuracy is 98.5%.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

amazoncaptcha-0.1.0.tar.gz (865.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

amazoncaptcha-0.1.0-py3-none-any.whl (925.9 kB view details)

Uploaded Python 3

File details

Details for the file amazoncaptcha-0.1.0.tar.gz.

File metadata

  • Download URL: amazoncaptcha-0.1.0.tar.gz
  • Upload date:
  • Size: 865.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.44.0 CPython/3.7.4

File hashes

Hashes for amazoncaptcha-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e4686bfd5b0e677d63529fda0a047c46ac16e1b212da55f3933633b8941114ac
MD5 098b7d696267b2c2ba41f1f1c9288b89
BLAKE2b-256 c0a45402b11b9001c359c82495b7615372aadbebcd2ac376464c524c4fa8b086

See more details on using hashes here.

File details

Details for the file amazoncaptcha-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: amazoncaptcha-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 925.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.44.0 CPython/3.7.4

File hashes

Hashes for amazoncaptcha-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 999e2c92a864819365d6e115b9a85c9cc131a62b9f2fbedb746db8994837898f
MD5 da62b6d39076076dffa2e4360ba16966
BLAKE2b-256 88ee2d353f9685f9f5bf903d9f5a31987ae46ee1f78846c4b6f3e41da75c3a21

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page