kingsman142 / captcha-solver

A side project to decode text-based CAPTCHAs
13 stars 10 forks source link

Usage #1

Open cab-1729 opened 4 years ago

cab-1729 commented 4 years ago

I have followed the instructions in the README , how do I import this or use this in my code to solve real captchas? I am talking stuff like these : 3126 3121

Need an answer ASAP

kingsman142 commented 4 years ago

Unfortunately, this code is not a Python library yet. In order to use it in your code, you'd have to create a "data" folder, then a "captchas" folder in the data folder, and finally make sure your image is a .jpg and stored in the "captchas" folder. You'd have to go through all the steps discussed in the README to train a model, then modify test.py to print out the predicted characters for each CAPTCHA.