To run these scripts, you need the following installed:
- Python 3
- OpenCV 3 w/ Python extensions
- I highly recommend these OpenCV installation guides: https://www.pyimagesearch.com/opencv-tutorials-resources-guides/
- The python libraries listed in requirements.txt
- Try running "pip3 install -r requirements.txt"
Run:
python3 extract_single_letters_from_captchas.py
The results will be stored in the "extracted_letter_images" folder.
Run:
python3 train_model.py
This will write out "captcha_model.hdf5" and "model_labels.dat"
Run:
python3 solve_captchas_with_model.py