ocr / ocr_server.py

Commit History

  1. Upload ocr_server.py Running

    Verified signature
    f21d1bb

  1. Upload ocr_server.py

    Verified signature
    e0eb37d

  1. Upload 2 files

    Verified signature
    80e2665
  2. Upload 2 files

    Verified signature
    e63c164
  3. Upload ocr_server.py

    Verified signature
    3eff11c

  1. debug: expose model_load_error in health

    Michael Yeung
    a65da15
  2. debug: add model diagnostics to health endpoint

    Michael Yeung
    59e1cca
  3. fix: make onnxruntime import resilient, handle model load errors

    Michael Yeung
    5a8d34b
  4. feat: add custom trained ONNX model (75% acc) with ddddocr fallback

    Michael Yeung
    e5e7c66
  5. Fix: remove local file storage, upload directly to HF repo (disk space fix)

    Michael Yeung
    9d08b87

  1. Strict 6-char scoring: heavily penalize wrong length results

    Michael Yeung
    e2d89fa
  2. Fix: Interpark CAPTCHA is letters-only, convert digits to letters

    Michael Yeung
    87419a7
  3. Trim to 8 strategies for faster inference (~2s vs ~4s)

    Michael Yeung
    9c3fa2b
  4. Add median filter + morphological cleanup + consensus scoring (12 strategies)

    Michael Yeung
    9b5390c
  5. Persist training data to HF Dataset repo (moterial/captcha-training)

    Michael Yeung
    8ddec14
  6. Add /feedback endpoint for training data collection

    Michael Yeung
    66c77f3
  7. Multi-strategy OCR: 7 strategies, pick best 6-char result

    Michael Yeung
    78b28e6
  8. Add image preprocessing + beta model for better accuracy

    Michael Yeung
    fd2c92f
  9. Add ddddocr CAPTCHA server

    Michael Yeung
    2abb870