msluszniak commited on
Commit
86d178a
·
verified ·
1 Parent(s): 442ff84

Re-export under the get_model_schema contract; restructure to the MODEL_SPEC layout

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +24 -0
  2. README.md +32 -16
  3. config.json +3 -0
  4. cyrillic/coreml/config.json +70 -0
  5. cyrillic/coreml/easy_ocr_cyrillic_coreml_int8.pte +3 -0
  6. cyrillic/vulkan/config.json +70 -0
  7. cyrillic/vulkan/easy_ocr_cyrillic_vulkan_fp16.pte +3 -0
  8. cyrillic/xnnpack/config.json +70 -0
  9. cyrillic/xnnpack/easy_ocr_cyrillic_xnnpack_int8.pte +3 -0
  10. english/coreml/config.json +70 -0
  11. english/coreml/easy_ocr_english_coreml_int8.pte +3 -0
  12. english/vulkan/config.json +70 -0
  13. english/vulkan/easy_ocr_english_vulkan_fp16.pte +3 -0
  14. english/xnnpack/config.json +70 -0
  15. english/xnnpack/easy_ocr_english_xnnpack_int8.pte +3 -0
  16. japanese/coreml/config.json +70 -0
  17. japanese/coreml/easy_ocr_japanese_coreml_int8.pte +3 -0
  18. japanese/vulkan/config.json +70 -0
  19. japanese/vulkan/easy_ocr_japanese_vulkan_fp16.pte +3 -0
  20. japanese/xnnpack/config.json +70 -0
  21. japanese/xnnpack/easy_ocr_japanese_xnnpack_int8.pte +3 -0
  22. kannada/coreml/config.json +70 -0
  23. kannada/coreml/easy_ocr_kannada_coreml_int8.pte +3 -0
  24. kannada/vulkan/config.json +70 -0
  25. kannada/vulkan/easy_ocr_kannada_vulkan_fp16.pte +3 -0
  26. kannada/xnnpack/config.json +70 -0
  27. kannada/xnnpack/easy_ocr_kannada_xnnpack_int8.pte +3 -0
  28. korean/coreml/config.json +70 -0
  29. korean/coreml/easy_ocr_korean_coreml_int8.pte +3 -0
  30. korean/vulkan/config.json +70 -0
  31. korean/vulkan/easy_ocr_korean_vulkan_fp16.pte +3 -0
  32. korean/xnnpack/config.json +70 -0
  33. korean/xnnpack/easy_ocr_korean_xnnpack_int8.pte +3 -0
  34. latin/coreml/config.json +70 -0
  35. latin/coreml/easy_ocr_latin_coreml_int8.pte +3 -0
  36. latin/vulkan/config.json +70 -0
  37. latin/vulkan/easy_ocr_latin_vulkan_fp16.pte +3 -0
  38. latin/xnnpack/config.json +70 -0
  39. latin/xnnpack/easy_ocr_latin_xnnpack_int8.pte +3 -0
  40. telugu/coreml/config.json +70 -0
  41. telugu/coreml/easy_ocr_telugu_coreml_int8.pte +3 -0
  42. telugu/vulkan/config.json +70 -0
  43. telugu/vulkan/easy_ocr_telugu_vulkan_fp16.pte +3 -0
  44. telugu/xnnpack/config.json +70 -0
  45. telugu/xnnpack/easy_ocr_telugu_xnnpack_int8.pte +3 -0
  46. zh_sim/coreml/config.json +70 -0
  47. zh_sim/coreml/easy_ocr_zh_sim_coreml_int8.pte +3 -0
  48. zh_sim/vulkan/config.json +70 -0
  49. zh_sim/vulkan/easy_ocr_zh_sim_vulkan_fp16.pte +3 -0
  50. zh_sim/xnnpack/config.json +70 -0
.gitattributes CHANGED
@@ -57,3 +57,27 @@ telugu/EasyOCR_telugu_xnnpack.pte filter=lfs diff=lfs merge=lfs -text
57
  zh_sim/EasyOCR_zh_sim_coreml.pte filter=lfs diff=lfs merge=lfs -text
58
  zh_sim/EasyOCR_zh_sim_vulkan.pte filter=lfs diff=lfs merge=lfs -text
59
  zh_sim/EasyOCR_zh_sim_xnnpack.pte filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  zh_sim/EasyOCR_zh_sim_coreml.pte filter=lfs diff=lfs merge=lfs -text
58
  zh_sim/EasyOCR_zh_sim_vulkan.pte filter=lfs diff=lfs merge=lfs -text
59
  zh_sim/EasyOCR_zh_sim_xnnpack.pte filter=lfs diff=lfs merge=lfs -text
60
+ cyrillic/coreml/easy_ocr_cyrillic_coreml_int8.pte filter=lfs diff=lfs merge=lfs -text
61
+ cyrillic/vulkan/easy_ocr_cyrillic_vulkan_fp16.pte filter=lfs diff=lfs merge=lfs -text
62
+ cyrillic/xnnpack/easy_ocr_cyrillic_xnnpack_int8.pte filter=lfs diff=lfs merge=lfs -text
63
+ english/coreml/easy_ocr_english_coreml_int8.pte filter=lfs diff=lfs merge=lfs -text
64
+ english/vulkan/easy_ocr_english_vulkan_fp16.pte filter=lfs diff=lfs merge=lfs -text
65
+ english/xnnpack/easy_ocr_english_xnnpack_int8.pte filter=lfs diff=lfs merge=lfs -text
66
+ japanese/coreml/easy_ocr_japanese_coreml_int8.pte filter=lfs diff=lfs merge=lfs -text
67
+ japanese/vulkan/easy_ocr_japanese_vulkan_fp16.pte filter=lfs diff=lfs merge=lfs -text
68
+ japanese/xnnpack/easy_ocr_japanese_xnnpack_int8.pte filter=lfs diff=lfs merge=lfs -text
69
+ kannada/coreml/easy_ocr_kannada_coreml_int8.pte filter=lfs diff=lfs merge=lfs -text
70
+ kannada/vulkan/easy_ocr_kannada_vulkan_fp16.pte filter=lfs diff=lfs merge=lfs -text
71
+ kannada/xnnpack/easy_ocr_kannada_xnnpack_int8.pte filter=lfs diff=lfs merge=lfs -text
72
+ korean/coreml/easy_ocr_korean_coreml_int8.pte filter=lfs diff=lfs merge=lfs -text
73
+ korean/vulkan/easy_ocr_korean_vulkan_fp16.pte filter=lfs diff=lfs merge=lfs -text
74
+ korean/xnnpack/easy_ocr_korean_xnnpack_int8.pte filter=lfs diff=lfs merge=lfs -text
75
+ latin/coreml/easy_ocr_latin_coreml_int8.pte filter=lfs diff=lfs merge=lfs -text
76
+ latin/vulkan/easy_ocr_latin_vulkan_fp16.pte filter=lfs diff=lfs merge=lfs -text
77
+ latin/xnnpack/easy_ocr_latin_xnnpack_int8.pte filter=lfs diff=lfs merge=lfs -text
78
+ telugu/coreml/easy_ocr_telugu_coreml_int8.pte filter=lfs diff=lfs merge=lfs -text
79
+ telugu/vulkan/easy_ocr_telugu_vulkan_fp16.pte filter=lfs diff=lfs merge=lfs -text
80
+ telugu/xnnpack/easy_ocr_telugu_xnnpack_int8.pte filter=lfs diff=lfs merge=lfs -text
81
+ zh_sim/coreml/easy_ocr_zh_sim_coreml_int8.pte filter=lfs diff=lfs merge=lfs -text
82
+ zh_sim/vulkan/easy_ocr_zh_sim_vulkan_fp16.pte filter=lfs diff=lfs merge=lfs -text
83
+ zh_sim/xnnpack/easy_ocr_zh_sim_xnnpack_int8.pte filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,6 +1,7 @@
1
  ---
2
  license: mit
3
  ---
 
4
  # Introduction
5
 
6
  This repository hosts the [EasyOCR](https://github.com/JaidedAI/EasyOCR) models — the
@@ -18,6 +19,14 @@ pre/post-processing (resize, normalize, box extraction, crop, CTC decode) is the
18
  and is driven by `config.json`. EasyOCR is the *fallback* pipeline —
19
  [PP-OCRv6](https://huggingface.co/software-mansion/react-native-executorch-pp-ocrv6) is primary.
20
 
 
 
 
 
 
 
 
 
21
  ## Languages
22
 
23
  | code | charset size | code | charset size |
@@ -35,30 +44,34 @@ Charset index `i` maps to logit `i + 1` (logit `0` is the CTC blank).
35
 
36
  | method | input | output |
37
  |---|---|---|
38
- | `detect` (CRAFT) | `[1,3,H,W]` f32 RGB, **ImageNet-normalized by the client**: `(x/255 − mean)/std`, `mean=[0.485,0.456,0.406]`, `std=[0.229,0.224,0.225]` | score `[1,H/2,W/2,2]` (region + affinity, NHWC) and feature `[1,32,H/2,W/2]` |
39
  | `recognize` (CRNN) | `[1,3,64,512]` f32 RGB, client-normalized `(x/255 − 0.5)/0.5` (RGB→gray conv is baked) | `[1,127,V]` probs (softmax baked) |
40
 
41
  **Nothing is baked for input normalization** — the client normalizes before calling, with
42
- *different* norms per method (ImageNet for detect, `0.5/0.5` for recognize).
 
 
43
 
44
- ## Shape discovery (companion methods)
45
 
46
- Every method carries exactly **one** no-arg discovery companion:
 
 
 
 
 
47
 
48
- - `get_dynamic_dims_<method>` dynamic method. One `int32 [rank, 3]` tensor per tensor
49
- input; rows are `[min, max, step]` (static dims `[n, n, 1]`).
50
- - `get_enum_shapes_<method>` — enumerated/fixed method. One `int32 [N, rank]` tensor per
51
- tensor input; each row is a complete legal shape (cross-dimension coupling is exact —
52
- `1280×320` listed does **not** imply `320×1280`). Snap inputs to the nearest row.
53
-
54
- | backend | `detect` | `recognize` |
55
  |---|---|---|
56
- | `xnnpack` | `get_dynamic_dims_detect` → H, W ∈ `[320, 1280]` step 32 | `get_enum_shapes_recognize` `[[1,3,64,512]]` |
57
- | `vulkan` | `get_dynamic_dims_detect` → H ∈ `[800, 1280]`, W `[320, 1280]` step 32 | `get_enum_shapes_recognize` → `[[1,3,64,512]]` |
58
- | `coreml` | `get_enum_shapes_detect` `800²`, `1280²`, `1280×320` | `get_enum_shapes_recognize` `[[1,3,64,512]]` |
59
 
60
- `detect` runs once per image; `recognize` runs once per text line (the client snaps every
61
- crop to width 512 the CRNN's BiLSTM only delegates at a fixed time dimension).
 
 
 
62
 
63
  ## Backends
64
 
@@ -89,3 +102,6 @@ the compatibility note in the
89
  [ExecuTorch GitHub repository](https://github.com/pytorch/executorch/blob/main/runtime/COMPATIBILITY.md).
90
  If you work with React Native ExecuTorch, the library constants guarantee compatibility with the
91
  runtime used behind the scenes.
 
 
 
 
1
  ---
2
  license: mit
3
  ---
4
+
5
  # Introduction
6
 
7
  This repository hosts the [EasyOCR](https://github.com/JaidedAI/EasyOCR) models — the
 
19
  and is driven by `config.json`. EasyOCR is the *fallback* pipeline —
20
  [PP-OCRv6](https://huggingface.co/software-mansion/react-native-executorch-pp-ocrv6) is primary.
21
 
22
+ ## Repository layout
23
+
24
+ ```
25
+ <language>/<backend>/config.json # per-backend spec
26
+ <language>/<backend>/easy_ocr_<language>_<backend>_<precision>.pte
27
+ <language>/charset.txt # charset[i] -> logit i+1, blank = 0
28
+ ```
29
+
30
  ## Languages
31
 
32
  | code | charset size | code | charset size |
 
44
 
45
  | method | input | output |
46
  |---|---|---|
47
+ | `detect` (CRAFT) | `[1,3,H,W]` f32 RGB, **ImageNet-normalized by the client**: `(x/255 − mean)/std`, `mean=[0.485,0.456,0.406]`, `std=[0.229,0.224,0.225]` | score `[1,H/2,W/2,2]` (region + affinity, NHWC) |
48
  | `recognize` (CRNN) | `[1,3,64,512]` f32 RGB, client-normalized `(x/255 − 0.5)/0.5` (RGB→gray conv is baked) | `[1,127,V]` probs (softmax baked) |
49
 
50
  **Nothing is baked for input normalization** — the client normalizes before calling, with
51
+ *different* norms per method (ImageNet for detect, `0.5/0.5` for recognize). `detect` exports
52
+ the detection heatmap only; CRAFT's RefineNet feature map is dropped, as nothing on-device
53
+ consumes it.
54
 
55
+ ## Shape discovery (`get_model_schema`)
56
 
57
+ Every `.pte` exports one no-arg constant method, **`get_model_schema`**, returning a JSON
58
+ `ModelSpec` string: per method, the input and output parameter specs (dtype plus a domain per
59
+ dimension — `constant`, `range` with `{min, max, step}`, or `enum` with explicit `choices`) and
60
+ the runtime constraints the method declares over its dimensions. The older
61
+ `get_dynamic_dims_<m>` / `get_enum_shapes_<m>` companion methods are **gone** — everything they
62
+ carried now lives in this one document.
63
 
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
71
+ constraint** tying its input width to its CTC timestep count: `width = 4 × timesteps + 4`. The
72
+ CRNN crops a trailing timestep, so `512 → 127` is *not* a plain width/timestep ratio — read the
73
+ constraint rather than dividing. `detect` runs once per image; `recognize` runs once per text
74
+ line, with every crop snapped to width 512 (the BiLSTM only delegates at a fixed time dimension).
75
 
76
  ## Backends
77
 
 
102
  [ExecuTorch GitHub repository](https://github.com/pytorch/executorch/blob/main/runtime/COMPATIBILITY.md).
103
  If you work with React Native ExecuTorch, the library constants guarantee compatibility with the
104
  runtime used behind the scenes.
105
+
106
+ These models were exported with ExecuTorch 1.3.1 and **no forward compatibility** is
107
+ guaranteed; older runtimes may not load them.
config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "modelName": "easy-ocr"
3
+ }
cyrillic/coreml/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "easy_ocr",
4
+ "family": "easyocr",
5
+ "size": "cyrillic",
6
+ "capabilities": [
7
+ "text-detection",
8
+ "text-recognition"
9
+ ],
10
+ "backend": "coreml",
11
+ "license": "apache-2.0",
12
+ "variants": [
13
+ {
14
+ "file": "easy_ocr_cyrillic_coreml_int8.pte",
15
+ "precision": "int8",
16
+ "quantized": true,
17
+ "default": true,
18
+ "size_bytes": 26883403,
19
+ "methods": {
20
+ "detect": {
21
+ "inputs": [
22
+ {
23
+ "shape": [
24
+ 1,
25
+ 3,
26
+ -1,
27
+ -1
28
+ ],
29
+ "dtype": "float32"
30
+ }
31
+ ],
32
+ "outputs": [
33
+ {
34
+ "shape": [
35
+ 1,
36
+ -1,
37
+ -1,
38
+ 2
39
+ ],
40
+ "dtype": "float32"
41
+ }
42
+ ]
43
+ },
44
+ "recognize": {
45
+ "inputs": [
46
+ {
47
+ "shape": [
48
+ 1,
49
+ 3,
50
+ 64,
51
+ 512
52
+ ],
53
+ "dtype": "float32"
54
+ }
55
+ ],
56
+ "outputs": [
57
+ {
58
+ "shape": [
59
+ 1,
60
+ 127,
61
+ 208
62
+ ],
63
+ "dtype": "float32"
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ }
69
+ ]
70
+ }
cyrillic/coreml/easy_ocr_cyrillic_coreml_int8.pte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:319fe50cf96112c3ac6d0e235f688d19bef836e3e0780d1750f95cf7e7968c06
3
+ size 26883403
cyrillic/vulkan/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "easy_ocr",
4
+ "family": "easyocr",
5
+ "size": "cyrillic",
6
+ "capabilities": [
7
+ "text-detection",
8
+ "text-recognition"
9
+ ],
10
+ "backend": "vulkan",
11
+ "license": "apache-2.0",
12
+ "variants": [
13
+ {
14
+ "file": "easy_ocr_cyrillic_vulkan_fp16.pte",
15
+ "precision": "fp16",
16
+ "quantized": false,
17
+ "default": true,
18
+ "size_bytes": 53436736,
19
+ "methods": {
20
+ "detect": {
21
+ "inputs": [
22
+ {
23
+ "shape": [
24
+ 1,
25
+ 3,
26
+ -1,
27
+ -1
28
+ ],
29
+ "dtype": "float32"
30
+ }
31
+ ],
32
+ "outputs": [
33
+ {
34
+ "shape": [
35
+ 1,
36
+ -1,
37
+ -1,
38
+ 2
39
+ ],
40
+ "dtype": "float32"
41
+ }
42
+ ]
43
+ },
44
+ "recognize": {
45
+ "inputs": [
46
+ {
47
+ "shape": [
48
+ 1,
49
+ 3,
50
+ 64,
51
+ 512
52
+ ],
53
+ "dtype": "float32"
54
+ }
55
+ ],
56
+ "outputs": [
57
+ {
58
+ "shape": [
59
+ 1,
60
+ 127,
61
+ 208
62
+ ],
63
+ "dtype": "float32"
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ }
69
+ ]
70
+ }
cyrillic/vulkan/easy_ocr_cyrillic_vulkan_fp16.pte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0f2381cafa1643e15e9ac8d6210211871a15535446e2b843ce90f5d9dc6a8ab
3
+ size 53436736
cyrillic/xnnpack/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "easy_ocr",
4
+ "family": "easyocr",
5
+ "size": "cyrillic",
6
+ "capabilities": [
7
+ "text-detection",
8
+ "text-recognition"
9
+ ],
10
+ "backend": "xnnpack",
11
+ "license": "apache-2.0",
12
+ "variants": [
13
+ {
14
+ "file": "easy_ocr_cyrillic_xnnpack_int8.pte",
15
+ "precision": "int8",
16
+ "quantized": true,
17
+ "default": true,
18
+ "size_bytes": 32770880,
19
+ "methods": {
20
+ "detect": {
21
+ "inputs": [
22
+ {
23
+ "shape": [
24
+ 1,
25
+ 3,
26
+ -1,
27
+ -1
28
+ ],
29
+ "dtype": "float32"
30
+ }
31
+ ],
32
+ "outputs": [
33
+ {
34
+ "shape": [
35
+ 1,
36
+ -1,
37
+ -1,
38
+ 2
39
+ ],
40
+ "dtype": "float32"
41
+ }
42
+ ]
43
+ },
44
+ "recognize": {
45
+ "inputs": [
46
+ {
47
+ "shape": [
48
+ 1,
49
+ 3,
50
+ 64,
51
+ 512
52
+ ],
53
+ "dtype": "float32"
54
+ }
55
+ ],
56
+ "outputs": [
57
+ {
58
+ "shape": [
59
+ 1,
60
+ 127,
61
+ 208
62
+ ],
63
+ "dtype": "float32"
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ }
69
+ ]
70
+ }
cyrillic/xnnpack/easy_ocr_cyrillic_xnnpack_int8.pte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38c9180e8dd69897976b85517cfcd14c33484e64b5e4a9219ff69ff8ebb42ec7
3
+ size 32770880
english/coreml/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "easy_ocr",
4
+ "family": "easyocr",
5
+ "size": "english",
6
+ "capabilities": [
7
+ "text-detection",
8
+ "text-recognition"
9
+ ],
10
+ "backend": "coreml",
11
+ "license": "apache-2.0",
12
+ "variants": [
13
+ {
14
+ "file": "easy_ocr_english_coreml_int8.pte",
15
+ "precision": "int8",
16
+ "quantized": true,
17
+ "default": true,
18
+ "size_bytes": 26854562,
19
+ "methods": {
20
+ "detect": {
21
+ "inputs": [
22
+ {
23
+ "shape": [
24
+ 1,
25
+ 3,
26
+ -1,
27
+ -1
28
+ ],
29
+ "dtype": "float32"
30
+ }
31
+ ],
32
+ "outputs": [
33
+ {
34
+ "shape": [
35
+ 1,
36
+ -1,
37
+ -1,
38
+ 2
39
+ ],
40
+ "dtype": "float32"
41
+ }
42
+ ]
43
+ },
44
+ "recognize": {
45
+ "inputs": [
46
+ {
47
+ "shape": [
48
+ 1,
49
+ 3,
50
+ 64,
51
+ 512
52
+ ],
53
+ "dtype": "float32"
54
+ }
55
+ ],
56
+ "outputs": [
57
+ {
58
+ "shape": [
59
+ 1,
60
+ 127,
61
+ 97
62
+ ],
63
+ "dtype": "float32"
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ }
69
+ ]
70
+ }
english/coreml/easy_ocr_english_coreml_int8.pte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40f3ec07936fe5ec64f33bac6e7a3d0fde0e4a6795560871340b6631e17e19d5
3
+ size 26854562
english/vulkan/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "easy_ocr",
4
+ "family": "easyocr",
5
+ "size": "english",
6
+ "capabilities": [
7
+ "text-detection",
8
+ "text-recognition"
9
+ ],
10
+ "backend": "vulkan",
11
+ "license": "apache-2.0",
12
+ "variants": [
13
+ {
14
+ "file": "easy_ocr_english_vulkan_fp16.pte",
15
+ "precision": "fp16",
16
+ "quantized": false,
17
+ "default": true,
18
+ "size_bytes": 53407108,
19
+ "methods": {
20
+ "detect": {
21
+ "inputs": [
22
+ {
23
+ "shape": [
24
+ 1,
25
+ 3,
26
+ -1,
27
+ -1
28
+ ],
29
+ "dtype": "float32"
30
+ }
31
+ ],
32
+ "outputs": [
33
+ {
34
+ "shape": [
35
+ 1,
36
+ -1,
37
+ -1,
38
+ 2
39
+ ],
40
+ "dtype": "float32"
41
+ }
42
+ ]
43
+ },
44
+ "recognize": {
45
+ "inputs": [
46
+ {
47
+ "shape": [
48
+ 1,
49
+ 3,
50
+ 64,
51
+ 512
52
+ ],
53
+ "dtype": "float32"
54
+ }
55
+ ],
56
+ "outputs": [
57
+ {
58
+ "shape": [
59
+ 1,
60
+ 127,
61
+ 97
62
+ ],
63
+ "dtype": "float32"
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ }
69
+ ]
70
+ }
english/vulkan/easy_ocr_english_vulkan_fp16.pte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7aa55f545d171da3d1131a90c888b089a2976fc6b0f41bcf487a0fd022bdc78b
3
+ size 53407108
english/xnnpack/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "easy_ocr",
4
+ "family": "easyocr",
5
+ "size": "english",
6
+ "capabilities": [
7
+ "text-detection",
8
+ "text-recognition"
9
+ ],
10
+ "backend": "xnnpack",
11
+ "license": "apache-2.0",
12
+ "variants": [
13
+ {
14
+ "file": "easy_ocr_english_xnnpack_int8.pte",
15
+ "precision": "int8",
16
+ "quantized": true,
17
+ "default": true,
18
+ "size_bytes": 32741252,
19
+ "methods": {
20
+ "detect": {
21
+ "inputs": [
22
+ {
23
+ "shape": [
24
+ 1,
25
+ 3,
26
+ -1,
27
+ -1
28
+ ],
29
+ "dtype": "float32"
30
+ }
31
+ ],
32
+ "outputs": [
33
+ {
34
+ "shape": [
35
+ 1,
36
+ -1,
37
+ -1,
38
+ 2
39
+ ],
40
+ "dtype": "float32"
41
+ }
42
+ ]
43
+ },
44
+ "recognize": {
45
+ "inputs": [
46
+ {
47
+ "shape": [
48
+ 1,
49
+ 3,
50
+ 64,
51
+ 512
52
+ ],
53
+ "dtype": "float32"
54
+ }
55
+ ],
56
+ "outputs": [
57
+ {
58
+ "shape": [
59
+ 1,
60
+ 127,
61
+ 97
62
+ ],
63
+ "dtype": "float32"
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ }
69
+ ]
70
+ }
english/xnnpack/easy_ocr_english_xnnpack_int8.pte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:429a7d6a64eaab36343b6841bd7747211eda38dfef13d41dc1698945e4a1946b
3
+ size 32741252
japanese/coreml/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "easy_ocr",
4
+ "family": "easyocr",
5
+ "size": "japanese",
6
+ "capabilities": [
7
+ "text-detection",
8
+ "text-recognition"
9
+ ],
10
+ "backend": "coreml",
11
+ "license": "apache-2.0",
12
+ "variants": [
13
+ {
14
+ "file": "easy_ocr_japanese_coreml_int8.pte",
15
+ "precision": "int8",
16
+ "quantized": true,
17
+ "default": true,
18
+ "size_bytes": 27405245,
19
+ "methods": {
20
+ "detect": {
21
+ "inputs": [
22
+ {
23
+ "shape": [
24
+ 1,
25
+ 3,
26
+ -1,
27
+ -1
28
+ ],
29
+ "dtype": "float32"
30
+ }
31
+ ],
32
+ "outputs": [
33
+ {
34
+ "shape": [
35
+ 1,
36
+ -1,
37
+ -1,
38
+ 2
39
+ ],
40
+ "dtype": "float32"
41
+ }
42
+ ]
43
+ },
44
+ "recognize": {
45
+ "inputs": [
46
+ {
47
+ "shape": [
48
+ 1,
49
+ 3,
50
+ 64,
51
+ 512
52
+ ],
53
+ "dtype": "float32"
54
+ }
55
+ ],
56
+ "outputs": [
57
+ {
58
+ "shape": [
59
+ 1,
60
+ 127,
61
+ 2215
62
+ ],
63
+ "dtype": "float32"
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ }
69
+ ]
70
+ }
japanese/coreml/easy_ocr_japanese_coreml_int8.pte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7aab21b9277a8a2442b76edf4a6b268402b05f8b8c8a0cb46c86dc2a2e397984
3
+ size 27405245
japanese/vulkan/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "easy_ocr",
4
+ "family": "easyocr",
5
+ "size": "japanese",
6
+ "capabilities": [
7
+ "text-detection",
8
+ "text-recognition"
9
+ ],
10
+ "backend": "vulkan",
11
+ "license": "apache-2.0",
12
+ "variants": [
13
+ {
14
+ "file": "easy_ocr_japanese_vulkan_fp16.pte",
15
+ "precision": "fp16",
16
+ "quantized": false,
17
+ "default": true,
18
+ "size_bytes": 53974684,
19
+ "methods": {
20
+ "detect": {
21
+ "inputs": [
22
+ {
23
+ "shape": [
24
+ 1,
25
+ 3,
26
+ -1,
27
+ -1
28
+ ],
29
+ "dtype": "float32"
30
+ }
31
+ ],
32
+ "outputs": [
33
+ {
34
+ "shape": [
35
+ 1,
36
+ -1,
37
+ -1,
38
+ 2
39
+ ],
40
+ "dtype": "float32"
41
+ }
42
+ ]
43
+ },
44
+ "recognize": {
45
+ "inputs": [
46
+ {
47
+ "shape": [
48
+ 1,
49
+ 3,
50
+ 64,
51
+ 512
52
+ ],
53
+ "dtype": "float32"
54
+ }
55
+ ],
56
+ "outputs": [
57
+ {
58
+ "shape": [
59
+ 1,
60
+ 127,
61
+ 2215
62
+ ],
63
+ "dtype": "float32"
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ }
69
+ ]
70
+ }
japanese/vulkan/easy_ocr_japanese_vulkan_fp16.pte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f786c4164c6f4d98f691e3aecb77dc9e2012b2db6ce45a8e1d67b24e4cd7186
3
+ size 53974684
japanese/xnnpack/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "easy_ocr",
4
+ "family": "easyocr",
5
+ "size": "japanese",
6
+ "capabilities": [
7
+ "text-detection",
8
+ "text-recognition"
9
+ ],
10
+ "backend": "xnnpack",
11
+ "license": "apache-2.0",
12
+ "variants": [
13
+ {
14
+ "file": "easy_ocr_japanese_xnnpack_int8.pte",
15
+ "precision": "int8",
16
+ "quantized": true,
17
+ "default": true,
18
+ "size_bytes": 33308828,
19
+ "methods": {
20
+ "detect": {
21
+ "inputs": [
22
+ {
23
+ "shape": [
24
+ 1,
25
+ 3,
26
+ -1,
27
+ -1
28
+ ],
29
+ "dtype": "float32"
30
+ }
31
+ ],
32
+ "outputs": [
33
+ {
34
+ "shape": [
35
+ 1,
36
+ -1,
37
+ -1,
38
+ 2
39
+ ],
40
+ "dtype": "float32"
41
+ }
42
+ ]
43
+ },
44
+ "recognize": {
45
+ "inputs": [
46
+ {
47
+ "shape": [
48
+ 1,
49
+ 3,
50
+ 64,
51
+ 512
52
+ ],
53
+ "dtype": "float32"
54
+ }
55
+ ],
56
+ "outputs": [
57
+ {
58
+ "shape": [
59
+ 1,
60
+ 127,
61
+ 2215
62
+ ],
63
+ "dtype": "float32"
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ }
69
+ ]
70
+ }
japanese/xnnpack/easy_ocr_japanese_xnnpack_int8.pte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f4933b2768e4928bea161b3b8d7f8b6e546bf8c8bd42fac7d9f9aaefa78ece7
3
+ size 33308828
kannada/coreml/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "easy_ocr",
4
+ "family": "easyocr",
5
+ "size": "kannada",
6
+ "capabilities": [
7
+ "text-detection",
8
+ "text-recognition"
9
+ ],
10
+ "backend": "coreml",
11
+ "license": "apache-2.0",
12
+ "variants": [
13
+ {
14
+ "file": "easy_ocr_kannada_coreml_int8.pte",
15
+ "precision": "int8",
16
+ "quantized": true,
17
+ "default": true,
18
+ "size_bytes": 26873016,
19
+ "methods": {
20
+ "detect": {
21
+ "inputs": [
22
+ {
23
+ "shape": [
24
+ 1,
25
+ 3,
26
+ -1,
27
+ -1
28
+ ],
29
+ "dtype": "float32"
30
+ }
31
+ ],
32
+ "outputs": [
33
+ {
34
+ "shape": [
35
+ 1,
36
+ -1,
37
+ -1,
38
+ 2
39
+ ],
40
+ "dtype": "float32"
41
+ }
42
+ ]
43
+ },
44
+ "recognize": {
45
+ "inputs": [
46
+ {
47
+ "shape": [
48
+ 1,
49
+ 3,
50
+ 64,
51
+ 512
52
+ ],
53
+ "dtype": "float32"
54
+ }
55
+ ],
56
+ "outputs": [
57
+ {
58
+ "shape": [
59
+ 1,
60
+ 127,
61
+ 168
62
+ ],
63
+ "dtype": "float32"
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ }
69
+ ]
70
+ }
kannada/coreml/easy_ocr_kannada_coreml_int8.pte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be3cf4a7e48174086835162b01fdd29d02c0b554486c39cdfcf617b658226980
3
+ size 26873016
kannada/vulkan/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "easy_ocr",
4
+ "family": "easyocr",
5
+ "size": "kannada",
6
+ "capabilities": [
7
+ "text-detection",
8
+ "text-recognition"
9
+ ],
10
+ "backend": "vulkan",
11
+ "license": "apache-2.0",
12
+ "variants": [
13
+ {
14
+ "file": "easy_ocr_kannada_vulkan_fp16.pte",
15
+ "precision": "fp16",
16
+ "quantized": false,
17
+ "default": true,
18
+ "size_bytes": 53426080,
19
+ "methods": {
20
+ "detect": {
21
+ "inputs": [
22
+ {
23
+ "shape": [
24
+ 1,
25
+ 3,
26
+ -1,
27
+ -1
28
+ ],
29
+ "dtype": "float32"
30
+ }
31
+ ],
32
+ "outputs": [
33
+ {
34
+ "shape": [
35
+ 1,
36
+ -1,
37
+ -1,
38
+ 2
39
+ ],
40
+ "dtype": "float32"
41
+ }
42
+ ]
43
+ },
44
+ "recognize": {
45
+ "inputs": [
46
+ {
47
+ "shape": [
48
+ 1,
49
+ 3,
50
+ 64,
51
+ 512
52
+ ],
53
+ "dtype": "float32"
54
+ }
55
+ ],
56
+ "outputs": [
57
+ {
58
+ "shape": [
59
+ 1,
60
+ 127,
61
+ 168
62
+ ],
63
+ "dtype": "float32"
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ }
69
+ ]
70
+ }
kannada/vulkan/easy_ocr_kannada_vulkan_fp16.pte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ff96aa753e5119416557a47d29eb187e92a0400d870c4b4b4f0ee408117a5f9
3
+ size 53426080
kannada/xnnpack/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "easy_ocr",
4
+ "family": "easyocr",
5
+ "size": "kannada",
6
+ "capabilities": [
7
+ "text-detection",
8
+ "text-recognition"
9
+ ],
10
+ "backend": "xnnpack",
11
+ "license": "apache-2.0",
12
+ "variants": [
13
+ {
14
+ "file": "easy_ocr_kannada_xnnpack_int8.pte",
15
+ "precision": "int8",
16
+ "quantized": true,
17
+ "default": true,
18
+ "size_bytes": 32760224,
19
+ "methods": {
20
+ "detect": {
21
+ "inputs": [
22
+ {
23
+ "shape": [
24
+ 1,
25
+ 3,
26
+ -1,
27
+ -1
28
+ ],
29
+ "dtype": "float32"
30
+ }
31
+ ],
32
+ "outputs": [
33
+ {
34
+ "shape": [
35
+ 1,
36
+ -1,
37
+ -1,
38
+ 2
39
+ ],
40
+ "dtype": "float32"
41
+ }
42
+ ]
43
+ },
44
+ "recognize": {
45
+ "inputs": [
46
+ {
47
+ "shape": [
48
+ 1,
49
+ 3,
50
+ 64,
51
+ 512
52
+ ],
53
+ "dtype": "float32"
54
+ }
55
+ ],
56
+ "outputs": [
57
+ {
58
+ "shape": [
59
+ 1,
60
+ 127,
61
+ 168
62
+ ],
63
+ "dtype": "float32"
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ }
69
+ ]
70
+ }
kannada/xnnpack/easy_ocr_kannada_xnnpack_int8.pte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa7211ba2d20941f821c9928483ca4c184cac49ee51ea5041b0a523a7317532b
3
+ size 32760224
korean/coreml/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "easy_ocr",
4
+ "family": "easyocr",
5
+ "size": "korean",
6
+ "capabilities": [
7
+ "text-detection",
8
+ "text-recognition"
9
+ ],
10
+ "backend": "coreml",
11
+ "license": "apache-2.0",
12
+ "variants": [
13
+ {
14
+ "file": "easy_ocr_korean_coreml_int8.pte",
15
+ "precision": "int8",
16
+ "quantized": true,
17
+ "default": true,
18
+ "size_bytes": 27091667,
19
+ "methods": {
20
+ "detect": {
21
+ "inputs": [
22
+ {
23
+ "shape": [
24
+ 1,
25
+ 3,
26
+ -1,
27
+ -1
28
+ ],
29
+ "dtype": "float32"
30
+ }
31
+ ],
32
+ "outputs": [
33
+ {
34
+ "shape": [
35
+ 1,
36
+ -1,
37
+ -1,
38
+ 2
39
+ ],
40
+ "dtype": "float32"
41
+ }
42
+ ]
43
+ },
44
+ "recognize": {
45
+ "inputs": [
46
+ {
47
+ "shape": [
48
+ 1,
49
+ 3,
50
+ 64,
51
+ 512
52
+ ],
53
+ "dtype": "float32"
54
+ }
55
+ ],
56
+ "outputs": [
57
+ {
58
+ "shape": [
59
+ 1,
60
+ 127,
61
+ 1009
62
+ ],
63
+ "dtype": "float32"
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ }
69
+ ]
70
+ }
korean/coreml/easy_ocr_korean_coreml_int8.pte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb95be4d1171b9eb47ce6259e9bd5937799657282603e07702d79fbfa2346a89
3
+ size 27091667
korean/vulkan/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "easy_ocr",
4
+ "family": "easyocr",
5
+ "size": "korean",
6
+ "capabilities": [
7
+ "text-detection",
8
+ "text-recognition"
9
+ ],
10
+ "backend": "vulkan",
11
+ "license": "apache-2.0",
12
+ "variants": [
13
+ {
14
+ "file": "easy_ocr_korean_vulkan_fp16.pte",
15
+ "precision": "fp16",
16
+ "quantized": false,
17
+ "default": true,
18
+ "size_bytes": 53651396,
19
+ "methods": {
20
+ "detect": {
21
+ "inputs": [
22
+ {
23
+ "shape": [
24
+ 1,
25
+ 3,
26
+ -1,
27
+ -1
28
+ ],
29
+ "dtype": "float32"
30
+ }
31
+ ],
32
+ "outputs": [
33
+ {
34
+ "shape": [
35
+ 1,
36
+ -1,
37
+ -1,
38
+ 2
39
+ ],
40
+ "dtype": "float32"
41
+ }
42
+ ]
43
+ },
44
+ "recognize": {
45
+ "inputs": [
46
+ {
47
+ "shape": [
48
+ 1,
49
+ 3,
50
+ 64,
51
+ 512
52
+ ],
53
+ "dtype": "float32"
54
+ }
55
+ ],
56
+ "outputs": [
57
+ {
58
+ "shape": [
59
+ 1,
60
+ 127,
61
+ 1009
62
+ ],
63
+ "dtype": "float32"
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ }
69
+ ]
70
+ }
korean/vulkan/easy_ocr_korean_vulkan_fp16.pte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d98c34a047d5dfe69bf5e7a63b6db944c33494e4db2f5cbf83f791d5de864a1e
3
+ size 53651396
korean/xnnpack/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "easy_ocr",
4
+ "family": "easyocr",
5
+ "size": "korean",
6
+ "capabilities": [
7
+ "text-detection",
8
+ "text-recognition"
9
+ ],
10
+ "backend": "xnnpack",
11
+ "license": "apache-2.0",
12
+ "variants": [
13
+ {
14
+ "file": "easy_ocr_korean_xnnpack_int8.pte",
15
+ "precision": "int8",
16
+ "quantized": true,
17
+ "default": true,
18
+ "size_bytes": 32985540,
19
+ "methods": {
20
+ "detect": {
21
+ "inputs": [
22
+ {
23
+ "shape": [
24
+ 1,
25
+ 3,
26
+ -1,
27
+ -1
28
+ ],
29
+ "dtype": "float32"
30
+ }
31
+ ],
32
+ "outputs": [
33
+ {
34
+ "shape": [
35
+ 1,
36
+ -1,
37
+ -1,
38
+ 2
39
+ ],
40
+ "dtype": "float32"
41
+ }
42
+ ]
43
+ },
44
+ "recognize": {
45
+ "inputs": [
46
+ {
47
+ "shape": [
48
+ 1,
49
+ 3,
50
+ 64,
51
+ 512
52
+ ],
53
+ "dtype": "float32"
54
+ }
55
+ ],
56
+ "outputs": [
57
+ {
58
+ "shape": [
59
+ 1,
60
+ 127,
61
+ 1009
62
+ ],
63
+ "dtype": "float32"
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ }
69
+ ]
70
+ }
korean/xnnpack/easy_ocr_korean_xnnpack_int8.pte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66a9db9d2c557956fc3081e59c9f118ead31d101de3716c69973de1011c93d4e
3
+ size 32985540
latin/coreml/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "easy_ocr",
4
+ "family": "easyocr",
5
+ "size": "latin",
6
+ "capabilities": [
7
+ "text-detection",
8
+ "text-recognition"
9
+ ],
10
+ "backend": "coreml",
11
+ "license": "apache-2.0",
12
+ "variants": [
13
+ {
14
+ "file": "easy_ocr_latin_coreml_int8.pte",
15
+ "precision": "int8",
16
+ "quantized": true,
17
+ "default": true,
18
+ "size_bytes": 26920810,
19
+ "methods": {
20
+ "detect": {
21
+ "inputs": [
22
+ {
23
+ "shape": [
24
+ 1,
25
+ 3,
26
+ -1,
27
+ -1
28
+ ],
29
+ "dtype": "float32"
30
+ }
31
+ ],
32
+ "outputs": [
33
+ {
34
+ "shape": [
35
+ 1,
36
+ -1,
37
+ -1,
38
+ 2
39
+ ],
40
+ "dtype": "float32"
41
+ }
42
+ ]
43
+ },
44
+ "recognize": {
45
+ "inputs": [
46
+ {
47
+ "shape": [
48
+ 1,
49
+ 3,
50
+ 64,
51
+ 512
52
+ ],
53
+ "dtype": "float32"
54
+ }
55
+ ],
56
+ "outputs": [
57
+ {
58
+ "shape": [
59
+ 1,
60
+ 127,
61
+ 352
62
+ ],
63
+ "dtype": "float32"
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ }
69
+ ]
70
+ }
latin/coreml/easy_ocr_latin_coreml_int8.pte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48dd1de0cbc5d33a0f87994bbcdb35505ceeeb598b7c131d113fefa1a6c60763
3
+ size 26920810
latin/vulkan/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "easy_ocr",
4
+ "family": "easyocr",
5
+ "size": "latin",
6
+ "capabilities": [
7
+ "text-detection",
8
+ "text-recognition"
9
+ ],
10
+ "backend": "vulkan",
11
+ "license": "apache-2.0",
12
+ "variants": [
13
+ {
14
+ "file": "easy_ocr_latin_vulkan_fp16.pte",
15
+ "precision": "fp16",
16
+ "quantized": false,
17
+ "default": true,
18
+ "size_bytes": 53475200,
19
+ "methods": {
20
+ "detect": {
21
+ "inputs": [
22
+ {
23
+ "shape": [
24
+ 1,
25
+ 3,
26
+ -1,
27
+ -1
28
+ ],
29
+ "dtype": "float32"
30
+ }
31
+ ],
32
+ "outputs": [
33
+ {
34
+ "shape": [
35
+ 1,
36
+ -1,
37
+ -1,
38
+ 2
39
+ ],
40
+ "dtype": "float32"
41
+ }
42
+ ]
43
+ },
44
+ "recognize": {
45
+ "inputs": [
46
+ {
47
+ "shape": [
48
+ 1,
49
+ 3,
50
+ 64,
51
+ 512
52
+ ],
53
+ "dtype": "float32"
54
+ }
55
+ ],
56
+ "outputs": [
57
+ {
58
+ "shape": [
59
+ 1,
60
+ 127,
61
+ 352
62
+ ],
63
+ "dtype": "float32"
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ }
69
+ ]
70
+ }
latin/vulkan/easy_ocr_latin_vulkan_fp16.pte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe09d9c135657c3b9963ea39277f580bd52801001a508de051a3f3f06ff6be5f
3
+ size 53475200
latin/xnnpack/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "easy_ocr",
4
+ "family": "easyocr",
5
+ "size": "latin",
6
+ "capabilities": [
7
+ "text-detection",
8
+ "text-recognition"
9
+ ],
10
+ "backend": "xnnpack",
11
+ "license": "apache-2.0",
12
+ "variants": [
13
+ {
14
+ "file": "easy_ocr_latin_xnnpack_int8.pte",
15
+ "precision": "int8",
16
+ "quantized": true,
17
+ "default": true,
18
+ "size_bytes": 32809344,
19
+ "methods": {
20
+ "detect": {
21
+ "inputs": [
22
+ {
23
+ "shape": [
24
+ 1,
25
+ 3,
26
+ -1,
27
+ -1
28
+ ],
29
+ "dtype": "float32"
30
+ }
31
+ ],
32
+ "outputs": [
33
+ {
34
+ "shape": [
35
+ 1,
36
+ -1,
37
+ -1,
38
+ 2
39
+ ],
40
+ "dtype": "float32"
41
+ }
42
+ ]
43
+ },
44
+ "recognize": {
45
+ "inputs": [
46
+ {
47
+ "shape": [
48
+ 1,
49
+ 3,
50
+ 64,
51
+ 512
52
+ ],
53
+ "dtype": "float32"
54
+ }
55
+ ],
56
+ "outputs": [
57
+ {
58
+ "shape": [
59
+ 1,
60
+ 127,
61
+ 352
62
+ ],
63
+ "dtype": "float32"
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ }
69
+ ]
70
+ }
latin/xnnpack/easy_ocr_latin_xnnpack_int8.pte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21c5708ce42c1d4ccf96e6297be96e0298e8d9bb18a9e705242d5193e543a9db
3
+ size 32809344
telugu/coreml/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "easy_ocr",
4
+ "family": "easyocr",
5
+ "size": "telugu",
6
+ "capabilities": [
7
+ "text-detection",
8
+ "text-recognition"
9
+ ],
10
+ "backend": "coreml",
11
+ "license": "apache-2.0",
12
+ "variants": [
13
+ {
14
+ "file": "easy_ocr_telugu_coreml_int8.pte",
15
+ "precision": "int8",
16
+ "quantized": true,
17
+ "default": true,
18
+ "size_bytes": 26872498,
19
+ "methods": {
20
+ "detect": {
21
+ "inputs": [
22
+ {
23
+ "shape": [
24
+ 1,
25
+ 3,
26
+ -1,
27
+ -1
28
+ ],
29
+ "dtype": "float32"
30
+ }
31
+ ],
32
+ "outputs": [
33
+ {
34
+ "shape": [
35
+ 1,
36
+ -1,
37
+ -1,
38
+ 2
39
+ ],
40
+ "dtype": "float32"
41
+ }
42
+ ]
43
+ },
44
+ "recognize": {
45
+ "inputs": [
46
+ {
47
+ "shape": [
48
+ 1,
49
+ 3,
50
+ 64,
51
+ 512
52
+ ],
53
+ "dtype": "float32"
54
+ }
55
+ ],
56
+ "outputs": [
57
+ {
58
+ "shape": [
59
+ 1,
60
+ 127,
61
+ 166
62
+ ],
63
+ "dtype": "float32"
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ }
69
+ ]
70
+ }
telugu/coreml/easy_ocr_telugu_coreml_int8.pte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d41d24177ff6dbddb73b464ca9c4ad8df61d0099410e5fb26e3858d871c74da
3
+ size 26872498
telugu/vulkan/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "easy_ocr",
4
+ "family": "easyocr",
5
+ "size": "telugu",
6
+ "capabilities": [
7
+ "text-detection",
8
+ "text-recognition"
9
+ ],
10
+ "backend": "vulkan",
11
+ "license": "apache-2.0",
12
+ "variants": [
13
+ {
14
+ "file": "easy_ocr_telugu_vulkan_fp16.pte",
15
+ "precision": "fp16",
16
+ "quantized": false,
17
+ "default": true,
18
+ "size_bytes": 53425560,
19
+ "methods": {
20
+ "detect": {
21
+ "inputs": [
22
+ {
23
+ "shape": [
24
+ 1,
25
+ 3,
26
+ -1,
27
+ -1
28
+ ],
29
+ "dtype": "float32"
30
+ }
31
+ ],
32
+ "outputs": [
33
+ {
34
+ "shape": [
35
+ 1,
36
+ -1,
37
+ -1,
38
+ 2
39
+ ],
40
+ "dtype": "float32"
41
+ }
42
+ ]
43
+ },
44
+ "recognize": {
45
+ "inputs": [
46
+ {
47
+ "shape": [
48
+ 1,
49
+ 3,
50
+ 64,
51
+ 512
52
+ ],
53
+ "dtype": "float32"
54
+ }
55
+ ],
56
+ "outputs": [
57
+ {
58
+ "shape": [
59
+ 1,
60
+ 127,
61
+ 166
62
+ ],
63
+ "dtype": "float32"
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ }
69
+ ]
70
+ }
telugu/vulkan/easy_ocr_telugu_vulkan_fp16.pte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d3dbc219f828b1fdf6228c3cb18a3a3879f4e6703afa67ff8a7d60d700b36e2
3
+ size 53425560
telugu/xnnpack/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "easy_ocr",
4
+ "family": "easyocr",
5
+ "size": "telugu",
6
+ "capabilities": [
7
+ "text-detection",
8
+ "text-recognition"
9
+ ],
10
+ "backend": "xnnpack",
11
+ "license": "apache-2.0",
12
+ "variants": [
13
+ {
14
+ "file": "easy_ocr_telugu_xnnpack_int8.pte",
15
+ "precision": "int8",
16
+ "quantized": true,
17
+ "default": true,
18
+ "size_bytes": 32759704,
19
+ "methods": {
20
+ "detect": {
21
+ "inputs": [
22
+ {
23
+ "shape": [
24
+ 1,
25
+ 3,
26
+ -1,
27
+ -1
28
+ ],
29
+ "dtype": "float32"
30
+ }
31
+ ],
32
+ "outputs": [
33
+ {
34
+ "shape": [
35
+ 1,
36
+ -1,
37
+ -1,
38
+ 2
39
+ ],
40
+ "dtype": "float32"
41
+ }
42
+ ]
43
+ },
44
+ "recognize": {
45
+ "inputs": [
46
+ {
47
+ "shape": [
48
+ 1,
49
+ 3,
50
+ 64,
51
+ 512
52
+ ],
53
+ "dtype": "float32"
54
+ }
55
+ ],
56
+ "outputs": [
57
+ {
58
+ "shape": [
59
+ 1,
60
+ 127,
61
+ 166
62
+ ],
63
+ "dtype": "float32"
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ }
69
+ ]
70
+ }
telugu/xnnpack/easy_ocr_telugu_xnnpack_int8.pte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9b7f6031cd83fbe5754c227e85fa46aaee9f50632ca668f5ec1e17cce5f5de0
3
+ size 32759704
zh_sim/coreml/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "easy_ocr",
4
+ "family": "easyocr",
5
+ "size": "zh_sim",
6
+ "capabilities": [
7
+ "text-detection",
8
+ "text-recognition"
9
+ ],
10
+ "backend": "coreml",
11
+ "license": "apache-2.0",
12
+ "variants": [
13
+ {
14
+ "file": "easy_ocr_zh_sim_coreml_int8.pte",
15
+ "precision": "int8",
16
+ "quantized": true,
17
+ "default": true,
18
+ "size_bytes": 28576239,
19
+ "methods": {
20
+ "detect": {
21
+ "inputs": [
22
+ {
23
+ "shape": [
24
+ 1,
25
+ 3,
26
+ -1,
27
+ -1
28
+ ],
29
+ "dtype": "float32"
30
+ }
31
+ ],
32
+ "outputs": [
33
+ {
34
+ "shape": [
35
+ 1,
36
+ -1,
37
+ -1,
38
+ 2
39
+ ],
40
+ "dtype": "float32"
41
+ }
42
+ ]
43
+ },
44
+ "recognize": {
45
+ "inputs": [
46
+ {
47
+ "shape": [
48
+ 1,
49
+ 3,
50
+ 64,
51
+ 512
52
+ ],
53
+ "dtype": "float32"
54
+ }
55
+ ],
56
+ "outputs": [
57
+ {
58
+ "shape": [
59
+ 1,
60
+ 127,
61
+ 6719
62
+ ],
63
+ "dtype": "float32"
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ }
69
+ ]
70
+ }
zh_sim/coreml/easy_ocr_zh_sim_coreml_int8.pte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0b388f4af2318dbb9d5220fd25b37cf51d446dfd9f421c95f318ec3b5b23e5d
3
+ size 28576239
zh_sim/vulkan/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "easy_ocr",
4
+ "family": "easyocr",
5
+ "size": "zh_sim",
6
+ "capabilities": [
7
+ "text-detection",
8
+ "text-recognition"
9
+ ],
10
+ "backend": "vulkan",
11
+ "license": "apache-2.0",
12
+ "variants": [
13
+ {
14
+ "file": "easy_ocr_zh_sim_vulkan_fp16.pte",
15
+ "precision": "fp16",
16
+ "quantized": false,
17
+ "default": true,
18
+ "size_bytes": 55181564,
19
+ "methods": {
20
+ "detect": {
21
+ "inputs": [
22
+ {
23
+ "shape": [
24
+ 1,
25
+ 3,
26
+ -1,
27
+ -1
28
+ ],
29
+ "dtype": "float32"
30
+ }
31
+ ],
32
+ "outputs": [
33
+ {
34
+ "shape": [
35
+ 1,
36
+ -1,
37
+ -1,
38
+ 2
39
+ ],
40
+ "dtype": "float32"
41
+ }
42
+ ]
43
+ },
44
+ "recognize": {
45
+ "inputs": [
46
+ {
47
+ "shape": [
48
+ 1,
49
+ 3,
50
+ 64,
51
+ 512
52
+ ],
53
+ "dtype": "float32"
54
+ }
55
+ ],
56
+ "outputs": [
57
+ {
58
+ "shape": [
59
+ 1,
60
+ 127,
61
+ 6719
62
+ ],
63
+ "dtype": "float32"
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ }
69
+ ]
70
+ }
zh_sim/vulkan/easy_ocr_zh_sim_vulkan_fp16.pte ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16bb2a312fc5126113b856d877ce1c1924c95b77b8bb4df17c0d0fbfa4853d7b
3
+ size 55181564
zh_sim/xnnpack/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://huggingface.co/software-mansion/react-native-executorch-spec/resolve/main/config.schema.json",
3
+ "model": "easy_ocr",
4
+ "family": "easyocr",
5
+ "size": "zh_sim",
6
+ "capabilities": [
7
+ "text-detection",
8
+ "text-recognition"
9
+ ],
10
+ "backend": "xnnpack",
11
+ "license": "apache-2.0",
12
+ "variants": [
13
+ {
14
+ "file": "easy_ocr_zh_sim_xnnpack_int8.pte",
15
+ "precision": "int8",
16
+ "quantized": true,
17
+ "default": true,
18
+ "size_bytes": 34515708,
19
+ "methods": {
20
+ "detect": {
21
+ "inputs": [
22
+ {
23
+ "shape": [
24
+ 1,
25
+ 3,
26
+ -1,
27
+ -1
28
+ ],
29
+ "dtype": "float32"
30
+ }
31
+ ],
32
+ "outputs": [
33
+ {
34
+ "shape": [
35
+ 1,
36
+ -1,
37
+ -1,
38
+ 2
39
+ ],
40
+ "dtype": "float32"
41
+ }
42
+ ]
43
+ },
44
+ "recognize": {
45
+ "inputs": [
46
+ {
47
+ "shape": [
48
+ 1,
49
+ 3,
50
+ 64,
51
+ 512
52
+ ],
53
+ "dtype": "float32"
54
+ }
55
+ ],
56
+ "outputs": [
57
+ {
58
+ "shape": [
59
+ 1,
60
+ 127,
61
+ 6719
62
+ ],
63
+ "dtype": "float32"
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ }
69
+ ]
70
+ }