Code Monkey home page Code Monkey logo

cnn_ntust_captcha's Introduction

NTUST Captcha

對應選課系統及校務(學生)系統

2份辨識基本上是一份檔案,只差在crop不同,還有需要resize

後續使用裝置是行動平台,附上tflite

版本為tensorflow 2.1.0

選課系統

選課系統Captcha圖片

simple 300~500張並沒有差別太多accuracy 0.88

預處理過程

crop((5, 3, 66, 17)) 裁切61x14

校務系統

校務系統Captcha圖片

simple 200張accuracy 0.99

可直接OCR,基本維持9成

預處理過程

crop((10, 10, 124, 36)) 裁切114x26

resize((57,13)) resize一半


這份code沒有爬蟲的部分

校務系統可以配合OCR來製作dataset

選課系統PIL簡單處理後OCR後也能到6~7成

給要做生成器的朋友

圖片參數:

​ font:arial bold italic

​ font size: 15pt

可以嘗試使用這範圍的文字漸層

(25, 0, 200)~(100, 10, 70)

參考:

https://notes.andywu.tw/2019/%e7%94%a8tensorflowkeras%e8%a8%93%e7%b7%b4%e8%be%a8%e8%ad%98%e9%a9%97%e8%ad%89%e7%a2%bc%e7%9a%84cnn%e6%a8%a1%e5%9e%8b/

cnn_ntust_captcha's People

Contributors

takidog avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.