CoolFace
Modelpublic

langningchen/luogu-captcha-model

sourceHugging Facemitupdated 9d agoView on Hugging Face
2likes54downloads
Model Card

Luogu CAPTCHA Recognition Model (Validated Best Edition)

Lightweight CNN model trained on `langningchen/luogu-captcha-dataset` to recognize 4-character Luogu CAPTCHAs.

Model Performance

  • Validation Captcha Accuracy (Whole Sequence): 94.26% (FP16/FP32) / 94.34% (INT8 Quantized)
  • Character Level Accuracy: ~98.5%
  • Input Dimensions: 35x90x3 (Normalized to [0, 1])
  • Alphabet: abcdefghijklmnopqrstuvwxyz123456789 (Length: 35)

Available Formats & File Sizes

FormatFile PathSizeDescription
ONNX (INT8)onnx/luogu-captcha-int8.onnx1.70 MBRecommended for CPU inference: static quantized, ~75% smaller with no accuracy loss (94.34%).
ONNX (FP16)onnx/luogu-captcha-fp16.onnx3.15 MBRecommended for GPU/DirectML/WebGPU: native half-precision (94.26%).
ONNX (FP32)onnx/luogu-captcha-fp32.onnx6.22 MBClean standard single-precision graph for maximum platform compatibility.
TF.js (uint8)tfjs/~720 KBQuantized layers format for zero-dependency in-browser recognition.
Keras H5luogu-captcha-mobile.h5~6.5 MBStandard Keras model file.