msluszniak commited on
Commit
41e16f8
·
verified ·
1 Parent(s): 7d5083d

EasyOCR: Vulkan detect band lowered to H,W in [320,1280]

Browse files

The H floor of 800 was inherited from the legacy bucket set, not a Vulkan
limit, and forced short pages to run at ~1.9x the pixels they needed on the
slowest detect in the family. Re-exported all 8 languages; XNNPACK and
CoreML artifacts are unchanged.

README.md CHANGED
@@ -64,7 +64,7 @@ carried now lives in this one document.
64
  | backend | `detect` H | `detect` W |
65
  |---|---|---|
66
  | `xnnpack` | `range` `[320, 1280]` step 32 | `range` `[320, 1280]` step 32 |
67
- | `vulkan` | `range` `[800, 1280]` step 32 | `range` `[320, 1280]` step 32 |
68
  | `coreml` | `enum` `320, 800, 1280` | `enum` `320, 800, 1280` |
69
 
70
  `recognize` is fixed at `[1,3,64,512]` on every backend and declares a **linear runtime
@@ -85,7 +85,9 @@ line, with every crop snapped to width 512 (the BiLSTM only delegates at a fixed
85
  > (its accurate operating band). Larger inputs up to 1280 are accepted but **best-effort** —
86
  > static-activation int8 is not stable at ≥ 960 px (this was equally true, though unmeasured,
87
  > of the previous per-bucket builds). Prefer resizing pages to ≤ 800 on CPU; the Vulkan and
88
- > CoreML detectors are accurate over their full advertised ranges.
 
 
89
 
90
  ## CoreML notes (iOS)
91
 
 
64
  | backend | `detect` H | `detect` W |
65
  |---|---|---|
66
  | `xnnpack` | `range` `[320, 1280]` step 32 | `range` `[320, 1280]` step 32 |
67
+ | `vulkan` | `range` `[320, 1280]` step 32 | `range` `[320, 1280]` step 32 |
68
  | `coreml` | `enum` `320, 800, 1280` | `enum` `320, 800, 1280` |
69
 
70
  `recognize` is fixed at `[1,3,64,512]` on every backend and declares a **linear runtime
 
85
  > (its accurate operating band). Larger inputs up to 1280 are accepted but **best-effort** —
86
  > static-activation int8 is not stable at ≥ 960 px (this was equally true, though unmeasured,
87
  > of the previous per-bucket builds). Prefer resizing pages to ≤ 800 on CPU; the Vulkan and
88
+ > CoreML detectors are accurate over their full advertised ranges. The Vulkan detector's lower
89
+ > bound was 800 px until 2026-08 and is now 320, matching its width bound; that lower stretch is
90
+ > fp16 like the rest of the range but has not been parity-checked.
91
 
92
  ## CoreML notes (iOS)
93
 
cyrillic/vulkan/easy_ocr_cyrillic_vulkan_fp16.pte CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e0f2381cafa1643e15e9ac8d6210211871a15535446e2b843ce90f5d9dc6a8ab
3
  size 53436736
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f61d576058a0dfca4fe63ab8fabdfab47d4ff72477ffbbfb255127f2139c65bc
3
  size 53436736
english/vulkan/easy_ocr_english_vulkan_fp16.pte CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7aa55f545d171da3d1131a90c888b089a2976fc6b0f41bcf487a0fd022bdc78b
3
  size 53407108
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2415835fcca50a72607ea134cbf59b70f8043a110dc8020780f1d90a90b6c12
3
  size 53407108
japanese/vulkan/easy_ocr_japanese_vulkan_fp16.pte CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8f786c4164c6f4d98f691e3aecb77dc9e2012b2db6ce45a8e1d67b24e4cd7186
3
  size 53974684
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:085259d333f7526ee7e55aabb068c6f218b2eb996a5d56e1dd6686be158b0688
3
  size 53974684
kannada/vulkan/easy_ocr_kannada_vulkan_fp16.pte CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9ff96aa753e5119416557a47d29eb187e92a0400d870c4b4b4f0ee408117a5f9
3
  size 53426080
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0872a36d213687b9e7cfd921ea54247dc686aa44a546470f2defaa70d3a09dea
3
  size 53426080
korean/vulkan/easy_ocr_korean_vulkan_fp16.pte CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d98c34a047d5dfe69bf5e7a63b6db944c33494e4db2f5cbf83f791d5de864a1e
3
  size 53651396
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8f80d50e5aa0c89c868fb17b5816892b675dc66f1e9b4a198090f42123921da
3
  size 53651396
latin/vulkan/easy_ocr_latin_vulkan_fp16.pte CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fe09d9c135657c3b9963ea39277f580bd52801001a508de051a3f3f06ff6be5f
3
  size 53475200
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eaeb9f7d44c425e78ed0bced3e1770e99f282a4247c9eeb7d05ce75b41c78f33
3
  size 53475200
telugu/vulkan/easy_ocr_telugu_vulkan_fp16.pte CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7d3dbc219f828b1fdf6228c3cb18a3a3879f4e6703afa67ff8a7d60d700b36e2
3
  size 53425560
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:670f04cd04d7f94e873a32ed2ed166de811ca685e0622985cb8d1eed9a60d75f
3
  size 53425560
zh_sim/vulkan/easy_ocr_zh_sim_vulkan_fp16.pte CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:16bb2a312fc5126113b856d877ce1c1924c95b77b8bb4df17c0d0fbfa4853d7b
3
  size 55181564
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1bed3dff5b7e62b0ea99dabad2474072338ee46ab99a525ab7458ba5c56ed090
3
  size 55181564