Skip to main content

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 rcap

3. Quick example

from selenium import webdriver
from selenium.webdriver.firefox.service import Service
from webdriver_manager.firefox import GeckoDriverManager
from rcap.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! 🚀

Metadata

Release files for rcap 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rcap 1.0.1
File Size Uploaded
rcap-1.0.1.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rcap 1.0.1
File Interpreter ABI Platform
rcap-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.4 kB

Release files / rcap-1.0.1.tar.gz

Download URL rcap-1.0.1.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
69e3fc6674732a699eeb1dd5fc4d254fbb46e40165b773e7c592555ec417a469
BLAKE2b-256 checksum
How to use checksums
94150c4154b156b9b7df3c568a746262b8d736f0b9ac1c3c2673a0f13d3d34c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / rcap-1.0.1-py3-none-any.whl

Download URL rcap-1.0.1-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f8bb917bad9113ba7a618ede232c0aa3b4b91235c453fe8a775c931285155791
BLAKE2b-256 checksum
How to use checksums
de84e12c3c68de1194d3e559729d576cf43f17fc793df4e64a15a13506cc1c46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

3.0.2

2 release files

3.0.0

2 release files

2.0.0

2 release files

This release

1.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page