Commit History

feat: OCR scoring, adaptive fallback, NIK region fallback, relaxed rejection
3f0bee0

muhammadhabibna commited on

fix: Use fix_nik_string (no digit-to-digit conversion), add Nama fallback spatial, fix berlakuHingga mapping
ab63de3

muhammadhabibna commited on

refactor: Replace spatial sequence with label-pattern regex extraction (comprehensive)
40cb5f9

muhammadhabibna commited on

fix: Add Keyword Guard to spatial sequence extraction to prevent Nama and Alamat mix-ups
1b89394

muhammadhabibna commited on

Fix duplicate code and implement spatial Y-coordinate layout parsing
8d19698

muhammadhabibna commited on

Major OCR pipeline upgrade: dual-pipeline, deskew, fuzzy matching, confidence scoring, quality gate
6cf6031

muhammadhabibna commited on

Enhance sequence logic using RT/RW as anchor for full address block
fd746a0

muhammadhabibna commited on

Revert cv2.findContours crop, implement robust sequence fallback for NIK, Nama, Alamat
11f7b94

muhammadhabibna commited on

Add auto-crop using cv2.findContours and update gallery upload note
25c3fbc

muhammadhabibna commited on

Cleanup stray punctuation like dots and commas in OCR output
fc7a3e7

muhammadhabibna commited on

Fix address regex: SINDUJOYONO.8 -> SINDUJOYO NO. 8
90fcb5d

muhammadhabibna commited on

Fix address regex, scanNext returns to same input, bulk queue engine
2767bcd

muhammadhabibna commited on

Fix critical OCR bugs: remove global char replacement, revert preprocessing, fix berlakuHingga
36f3b60

muhammadhabibna commited on

Refine regex for JK, Goldarah, Kewarganegaraan and Agama robust parsing
b50cf0d

muhammadhabibna commited on

Implement Hybrid Regex Engine (Value-Based + Sequence-Based Heuristics)
0067cc6

muhammadhabibna commited on

Fix invalid regex character range causing re.error
b9ec511

muhammadhabibna commited on

Enhance OCR accuracy with image upscaling and extract exhaustive KTP fields
af03d00

muhammadhabibna commited on

Pin paddleocr to stable version 2.9.1 and restore cls parameter
e43b1c0

muhammadhabibna commited on

Downgrade paddlepaddle to 2.6.2 to fix OneDNN backend crash on CPU
a69bf0c

muhammadhabibna commited on

Remove deprecated cls parameter from ocr.ocr call
21aa218

muhammadhabibna commited on

Fix HF Docker user permissions and add traceback to error response
390b0e8

muhammadhabibna commited on

Convert grayscale image back to BGR for PaddleOCR compatibility
46d5a22

muhammadhabibna commited on

Fix libgl1 package name for newer Debian versions
426dac3

muhammadhabibna commited on

Restore HF Space configuration files
8e6d87b

muhammadhabibna commited on

Fix OpenCV libGL error and update OCR logic
fe084ce

muhammadhabibna commited on