Skip to content

AI models for recognizing RU or ENG captcha Vkontakte using Python, JS. Scripts to train an AI model for recognizing text captchas.

Notifications You must be signed in to change notification settings

Venom998/VKCaptchaSolver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VKCaptchaSolver

Use this VKontakte captcha breaker with 75-84% accuracy with Python, JS, 2023.

It works with RU or ENG captchas up to 7 characters long.

Steps to start CaptchaSolver:

  1. Clone the repo
git clone https://github.com/Venom998/VKCaptchaSolver.git
  1. cd captcha_solver
  2. Install all requirements: npm install
  3. Run node start_node.js

Prerequisites

Change ai_model_lang_eng = false to true in start_node.js if you want to use captchas with English characters only.

model_eng.onnx - supports only "English" captchas.

model_ru.onnx - supports only "Russian" captchas.

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

AI models for recognizing RU or ENG captcha Vkontakte using Python, JS. Scripts to train an AI model for recognizing text captchas.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.4%
  • JavaScript 5.6%