Train and solve captchas of UP Scholarship website using tensorflow.
Created for educational purpose. Please don't use it to spam the website.
- Python >= 3
- tensorflow
- requests
- opencv_python
- numpy
- imutils
- Pillow
- scikit_learn
The python libraries are listed in requirements.txt
Captcha images are saved in 'saved_captchas' folder for training.
- Run
python transform.py
to clean images and save them in 'transformed_captchas' folder. - Run
python extract_single_letters_from_captchas.py
to extract individual characters and put them in 'extracted_letter_images' folder. Letter images are saved inside letter named folder. - Run
python train_captcha_model.py
to train the model. - Run
python solve_captchas_using_model.py
to test captcha by downloading it from the website.