Wild · Adversarial & Detector-Limit Stress Lab · rtr46/meiki.txt.recognition.v0 · WASM fp32 · 18.59 MB

RGB vs BGR Flip, Blur, Font Scaling & >48-Char Limit Lab

The model card states two sharp engineering boundaries: OpenCV's cv2.imread feeds BGR channels while Canvas 2D produces RGB, and D-FINE allocates a hard ceiling of 48 character detection slots per 960×32 pass. Perturb channel order, Gaussian blur, font height, and line length below to measure real Character Error Rate (CER) on-device.

Character-level alignment diff (ground truth vs live OCR)

Ground truth (18 chars): 東京駅へようこそ。次の電車は三番線。

Initialise meiki.txt.recognition.v0 above to measure live CER and character alignment.
Exact match Substitution Missed / truncated (deletion) Spurious insertion
Detected / GT–
CER %–
Accuracy %–
48-char cap–
Mean conf–
Infer ms–

Perturbation harness ready.

Stress benchmark scoreboard

Live measured CER, accuracy, and 48-slot saturation across channel flip, blur, font height, and overflow
Condition Ch Blur Font Target Detected Cap Hit CER Accuracy Mean Conf Infer ms
Show the code — Levenshtein CER & alignment diff calculator (computeCer)