Solve the Captcha

Documentation

CapBot Documentation

Quick Start

This will get you up and running quickly. For detailed instructions, visit GitHub.

Prerequisites

Install Chrome and ChromeDriver.

Installation
  • git clone https://github.com/reevesba/captcha-bot
  • cd captcha-bot
  • pip3 install -r requirements.txt
Usage
  • cd src
  • python3 main.py

After executing these commands, you should see the following CLI.

capbot cli

  • Would you like to preprocess captcha images for training? If yes, character images will be generated by extracting the characters from the captcha images and saving them. There are thousands of images to process so this step can take some time. The preprocessed images are included in the GitHub repository, so you don't necessarily need to do this.
  • Would you like to train a new model? If yes, a new model will be built and trained. If any of the model hyper-parameters are changed or if the general architecture is updated, you will need to execute this step. As thousands of images are used for training, this step can also take a couple of minutes. Model weights are included in the GitHub repository, so again this step isn't necessary for a quick start or demo.