Skip to main content

reCAPTCHA v2 Image Solver using YOLO and Selenium

Project description

reCAPTCHA v2 Image Solver

Simple Python tool that auto-solves Google's reCAPTCHA v2 "select all squares" puzzles using Selenium + YOLO.

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-0.1.4.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

capx-0.1.4-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for capx-0.1.4.tar.gz
Algorithm Hash digest
SHA256 b0b71405ebc885040e5fec9c5b523c8410d8e1a11f90e160a8a3fc18f50c95ec
MD5 755f200814596670dc04fba296a6998d
BLAKE2b-256 15098380a907591b9bea194a414f0fc3841b7bedd66526f81d52e3356b312ffc

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for capx-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5aef9069ef91aadf6210eea249880ee5c0384377126dc746885b9bdda771f2b2
MD5 fee0cf08d94079f1c8b0f6e5728d0691
BLAKE2b-256 f2b48240a18efea935f6520aa0f3d80c4a0c33d20eedfb9bff297b95d47a69d7

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