https://github.com/mahdi-marjani/capx
solve recaptcha using Selenium + YOLO
https://github.com/mahdi-marjani/capx
agent agents ai-agents automation-selenium bot captcha-slover python3 pytorch recaptcha-slover selenium ultralytics yolo
Last synced: 3 months ago
JSON representation
solve recaptcha using Selenium + YOLO
- Host: GitHub
- URL: https://github.com/mahdi-marjani/capx
- Owner: mahdi-marjani
- License: mit
- Created: 2023-08-13T06:01:10.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-12-30T14:49:39.000Z (6 months ago)
- Last Synced: 2026-01-01T10:49:32.075Z (6 months ago)
- Topics: agent, agents, ai-agents, automation-selenium, bot, captcha-slover, python3, pytorch, recaptcha-slover, selenium, ultralytics, yolo
- Language: Python
- Homepage:
- Size: 5.51 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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)
```bash
python -m venv venv
# Linux/macOS
source venv/bin/activate
# Windows
venv\Scripts\activate
```
### 2. Install
```bash
pip install capx
```
### 3. Quick example
```python
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! 🚀