[go: up one dir, main page]

Skip to content

Scripts to train an AI model for recognizing text captchas

Notifications You must be signed in to change notification settings

YakovSava/AITextCaptcha

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steps to train AI model:

  1. Install all requirements(if not yet) using command pip install -r requirements.txt
  2. download images from here (or use your own dataset), create folder images and place all dataset into 2 folders: train and test. Image name format: answer123-randomseed.jpeg
  3. Configure code/utils/config.py file - img_width, img_height, format, ect.
  4. Run code/statistics.py for analyzing your dataset (it will print all characters, whose your captchas contains)
  5. code/main.py - TRAIN your model
  6. code/test_mode.py - Test your tensorflow model
  7. code/to_onnx.py - Convert your model to ONNX format
  8. code/onnx_tester.py - Test your ONNX model
  9. Write your own captcha-solver-adapter. For example you can look at this file

code/tools.py - конфиг файл (файл модели, ) + тулзы

code/test_mode.py - тест модели на реальных данных code/to_onnx.py - конверт модели tesorflow в формат onnx (для использования через onnxruntime)

vk_captcha_lib - код библиотеки vk_captcha по решению капчи

About

Scripts to train an AI model for recognizing text captchas

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%