https://github.com/skotz/cbl-js
CAPTCHA解析,使用純Javascript和HTML5 canvas
元作者的範例 working example
元作者的快速上手 quick start guide
中文函數操作範例 function sample
跟著做中文案例 second start guide zhTW
preprocess: function(img) {
img.removeGray(20);
img.blur(2);
img.binarize(190);
img.colorRegions(40, true);
}
Learn by reviewing dozens of example solutions to common patterns found in CAPTCHAs.
- Exact Character Splitting
- Background Noise Removal
- Disconnected Characters
- Convolution Filters
- Image Preprocessing
- Image Segmentation
- Training and Classification
- Saving a Model
- Simple Example
- Image Distortion
- Conditional Segmentation and Fixed Character Locations
- Exact Character Splitting
- Image Blur Tricks
- Horizontal Line Removal