Skip to main content

reCAPTCHA v2 Image Solver using YOLO and Selenium

Project description

reCAPTCHA v2 Image Solver

reCAPTCHA v2 Image Solver using YOLO and Selenium.

https://github.com/user-attachments/assets/22308be7-3a90-4757-8799-b47008b32bf0

How it works

  • Spots objects (cars, buses, crosswalks, etc.) in the images
  • Clicks the right tiles for you
  • Works with 3x3, 4x4, static, and dynamic challenges

1. virtual environment (optional but recommended)

python -m venv venv
# Linux/macOS
source venv/bin/activate
# Windows
venv\Scripts\activate

2. Install

pip install capx

3. Quick example

from selenium import webdriver
from selenium.webdriver.firefox.service import Service
from webdriver_manager.firefox import GeckoDriverManager
from capx.solver import RecaptchaSolver

driver = webdriver.Firefox(service=Service(GeckoDriverManager().install()))
driver.get("https://www.google.com/recaptcha/api2/demo")

solver = RecaptchaSolver(driver)
solver.solve()  # Done!

print("reCAPTCHA solved!")
input("Press Enter to quit...")
driver.quit()

Have fun! 🚀

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

capx-1.0.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

capx-1.0.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file capx-1.0.0.tar.gz.

File metadata

  • Download URL: capx-1.0.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for capx-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ff9171437b49e60ca5bfa77fcb52e1faa3e498b6da92056ad0182860e496c6fe
MD5 806fb2f222035ed77ee01056067a558a
BLAKE2b-256 0cd7d21d614c84bf796bb3d7455d8af721ac88bd7ce28afa6b1b0bc94432ce98

See more details on using hashes here.

File details

Details for the file capx-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: capx-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for capx-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a6fb3b15231de322570c525923f7356125a1dd64235c29a866eb9aedb719bfa
MD5 2b675a600c7e6beebed8d759f9a0aace
BLAKE2b-256 37f031d4c46e62183c2acd2746f5607f820b33a46e86190a89292fb7ba33eaa7

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