nsysu-captcha-solver

中文版 Captcha solver across websites under selcrs.nsysu.edu.tw, National Sun Yat-sen University

Todo

  • Chrome extension
  • Safari extension

Project Structure

.
├── README.md                       # this file
├── README.zh_tw.md                 # the Chinese version
└── src                             
    ├── extension                   # The extension folder
    │   ├── chrome
    │   │   ├── content.js          # content script
    │   │   ├── icons               # The extension icons
    │   │   ├── manifest.json       # manifest file
    │   │   └── tf.min.js           # tensorflow js package
    │   └── safari                  # TBA
    └── neural_network_engine
        ├── data_preprocessing      
        │   ├── full_len_data       # original images
        │   ├── split_img.py        # generate splitted training data and labels
        │   └── utils
        │       ├── get_img.py      # primitive image crawler
        │       ├── model.h5        
        │       └── predict_img.py  # predict single captcha image
        ├── dataset
        ├── labels.csv              # data instance's path & label
        ├── outputs                 # model outputs of train.py
        ├── train.py
        └── train_demo.ipynb

Usage

Chrome extension

Effective immediately after installation

Safari extension

Currently under construction.

Train backend CNN engine

  1. Prepare your training images and place them under full_len_data
  2. Use split_img.py to generate processed training data and labels.csv. The default output directory is dataset.
  3. Run train.py to train the CNN, the output model will be under outputs. <<<<<<< HEAD
  4. The model in this project currently using is hosted under ernestchu.github.io =======
  5. The model this project currently using is hosted under ernestchu.github.io

d78028b85803e362697d5b701e2d5f19b9bdaaad

Thanks

Special thanks to