All Projects → kerlomz → Captcha_platform

kerlomz / Captcha_platform

Licence: other
[验证码识别-部署] This project is based on CNN+BLSTM+CTC to realize verificationtion. This projeccode identificat is only for deployment models.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Captcha platform

Cintruder
Captcha Intruder (CIntrud3r) is an automatic pentesting tool to bypass captchas.
Stars: ✭ 192 (-58.08%)
Mutual labels:  ocr, captcha
Easyocr
Java OCR 识别组件(基于Tesseract OCR 引擎)。能自动完成图片清理、识别 CAPTCHA 验证码图片内容的一体化工作。Java Image cleanup, OCR recognition component (based Tesseract OCR engine, automatically cleanup image and identification CAPTCHA verification code picture content).
Stars: ✭ 466 (+1.75%)
Mutual labels:  ocr, captcha
ddddocr
带带弟弟 通用验证码识别OCR pypi版
Stars: ✭ 4,093 (+793.67%)
Mutual labels:  ocr, captcha
Captcha break
验证码识别
Stars: ✭ 2,268 (+395.2%)
Mutual labels:  ocr, captcha
Rnn ctc
Recurrent Neural Network and Long Short Term Memory (LSTM) with Connectionist Temporal Classification implemented in Theano. Includes a Toy training example.
Stars: ✭ 220 (-51.97%)
Mutual labels:  ocr, captcha
Imageocr
PHP验证码识别[PHP CAPTCHA Recognition]
Stars: ✭ 241 (-47.38%)
Mutual labels:  ocr, captcha
Baiduyun deeplearning competition
百度云魅族深度学习应用大赛
Stars: ✭ 393 (-14.19%)
Mutual labels:  ocr, captcha
React Native Tesseract Ocr
Tesseract OCR wrapper for React Native
Stars: ✭ 384 (-16.16%)
Mutual labels:  ocr
Chineseocr
yolo3+ocr
Stars: ✭ 4,558 (+895.2%)
Mutual labels:  ocr
Undetected Chromedriver
Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation systems (like Distil / Imperva/ Datadadome / CloudFlare IUAM)
Stars: ✭ 365 (-20.31%)
Mutual labels:  captcha
Captcha
A Lightweight Pure JavaScript Captcha for Node.js. No C/C++, No ImageMagick, No Canvas.
Stars: ✭ 372 (-18.78%)
Mutual labels:  captcha
Open Semantic Search
Open Source research tool to search, browse, analyze and explore large document collections by Semantic Search Engine and Open Source Text Mining & Text Analytics platform (Integrates ETL for document processing, OCR for images & PDF, named entity recognition for persons, organizations & locations, metadata management by thesaurus & ontologies, search user interface & search apps for fulltext search, faceted search & knowledge graph)
Stars: ✭ 386 (-15.72%)
Mutual labels:  ocr
Ocrmypdf
OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched
Stars: ✭ 5,549 (+1111.57%)
Mutual labels:  ocr
Tessdata
Trained models with support for legacy and LSTM OCR engine
Stars: ✭ 4,173 (+811.14%)
Mutual labels:  ocr
Simple Android Ocr
A simple Android OCR application that makes use of the Camera app
Stars: ✭ 443 (-3.28%)
Mutual labels:  ocr
Captcha Killer
burp验证码识别接口调用插件
Stars: ✭ 368 (-19.65%)
Mutual labels:  captcha
Captcha recognize
Image Recognition captcha without image segmentation 无需图片分割的验证码识别
Stars: ✭ 449 (-1.97%)
Mutual labels:  captcha
Dbnet.pytorch
A pytorch re-implementation of Real-time Scene Text Detection with Differentiable Binarization
Stars: ✭ 435 (-5.02%)
Mutual labels:  ocr
Psenet.pytorch
A pytorch re-implementation of PSENet: Shape Robust Text Detection with Progressive Scale Expansion Network
Stars: ✭ 416 (-9.17%)
Mutual labels:  ocr
Handwriting Ocr
OCR software for recognition of handwritten text
Stars: ✭ 411 (-10.26%)
Mutual labels:  ocr

Build Status

Project Introduction

This project is based on CNN+BLSTM+CTC to realize verification code identification. This project is only for deployment models, If you need to train the model, please move to https://github.com/kerlomz/captcha_trainer

Informed

  1. The default requirements.txt will install CPU version, Change "requirements.txt" from "TensorFlow" to "TensorFlow-GPU" to Switch to GPU version, Use the GPU version to install the corresponding CUDA and cuDNN.
  2. demo.py: An example of how to call a prediction method.
  3. The model folder folder is used to store model configuration files such as model.yaml.
  4. The graph folder is used to store compiled models such as model.pb
  5. The deployment service will automatically load all the models in the model configuration. When a new model configuration is added, the corresponding compilation model in the graph folder will be automatically loaded, so if you need to add it, please copy the corresponding compilation model to the graph path first, then add the model configuration.

Start

  1. Install the python 3.7 environment (with pip)
  2. Install virtualenv pip3 install virtualenv
  3. Create a separate virtual environment for the project:
    virtualenv -p /usr/bin/python3 venv # venv is the name of the virtual environment.
    cd venv/ # venv is the name of the virtual environment.
    source bin/activate # to activate the current virtual environment.
    cd captcha_platform # captcha_platform is the project path.
    
  4. pip install -r requirements.txt
  5. Place your trained model.yaml in model folder, and your model.pb in graph folder (create if not exist)
  6. Deploy as follows.

1. Http Version

  1. Linux Deploy (Linux/Mac):

    1. Port: 5000
    pip install gunicorn
    gunicorn -c deploy.conf.py flask_server:app
    
    1. Port: 19951
    python flask_server.py
    
    1. Port: 19952
    python tornado_server.py
    
    1. Port: 19953
    python sanic_server.py
    
  2. Windows Deploy (Windows):

    python xxx_server.py
    
  3. Request

    Request URI Content-Type Payload Type Method
    http://localhost:[Bind-port]/captcha/v1 application/json JSON POST
    Parameter Required Type Description
    image Yes String Base64 encoding binary stream
    model_name No String ModelName, bindable in yaml configuration

    The request is in JSON format, like: {"image": "base64 encoded image binary stream"}

  4. Response

    Parameter Name Type Description
    message String Identify results or error messages
    code String Status Code
    success String Whether to request success

    The return is in JSON format, like: {"message": "xxxx", "code": 0, "success": true}

2. G-RPC Version

Deploy:

python3 grpc_server.py

Port: 50054

Update G-RPC-CODE

python -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. ./grpc.proto

Directory Structure

- captcha_platform
    - grpc_server.py
    - flask_server.py
    - tornado_server.py
    - sanic_server.py
    - demo.py
    - config.yaml
- model
    - model-1.yaml
    - model-2.yaml
    - ...
- graph
    - Model-1.pb
    - ...

Management Model

  1. Load a model
  • Put the trained pb model in the graph folder.
  • Put the trained yaml model configuration file in the model folder.
  1. Unload a model
  • Delete the corresponding yaml configuration file in the model folder.
  • Delete the corresponding pb model file in the graph folder.
  1. Update a model
  • Put the trained pb model in the graph folder.
  • Put the yaml configuration file with "Version" greater than the current version in the model folder.
  • Delete old models and configurations.

License

This project use SATA License (Star And Thank Author License), so you have to star this project before using. Read the license carefully.

Introduction

https://www.jianshu.com/p/80ef04b16efc

Donate

Thank you very much for your support of my project.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].