To run these scripts, you need the following installed:
- Python 3 and <= 3.6
- OpenCV 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 fetchCaptchas.py
The image results will be stored in the "images/baacloud_source_captcha_images"
Run:
python3 baacloud_html_mark.py
The marked image results will be stored in the "images/baacloud_marked_captcha_images"
Run:
python3 baacloud_extract_single_letters.py
The results will be stored in the "images/baacloud_extracted_letter_images" folder.
Run:
python3 baacloud_train_model.py
This will write out "models/baacloud_captcha_model.hdf5" and "models/baacloud_model_labels.dat"
Run:
python3 baacloud_captchas_percent.py