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-0.1.5.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-0.1.5-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: capx-0.1.5.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-0.1.5.tar.gz
Algorithm Hash digest
SHA256 913b32e3ca11ca25d6de2acbde9b5da829e8619230c687f56177e7e005852d6e
MD5 1913a37da08152e77c985912ce39d7cc
BLAKE2b-256 00b2db57b76eb5cb0568ebcd27f1cabcf32d382d947bfc9d8d71cdf2787097de

See more details on using hashes here.

File details

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

File metadata

  • Download URL: capx-0.1.5-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-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 395d8e838f8e0562953254ca665ddf2ff30244576d5c3b2e21cb2570bb0483f6
MD5 4e9b369bebedcf9766e9dcd20aa277f5
BLAKE2b-256 824c3a38e922a1b81a3cc5dca7968c4eb2c7c033f38ace96c96dcce836ed1f05

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