ppu-indra-ocr 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE-STATUS.md +15 -7
- package/README.md +719 -193
- package/cli/commands.js +2 -2
- package/cli/help.d.ts +1 -1
- package/cli/help.js +3 -2
- package/cli/options.d.ts +3 -0
- package/cli/options.js +1 -1
- package/core/indra-ocr.service.d.ts +19 -7
- package/core/indra-ocr.service.js +1 -1
- package/core/opencv-image-ops.js +1 -1
- package/core/platform.d.ts +2 -0
- package/exports.d.ts +2 -2
- package/exports.js +1 -1
- package/indra/assemble.d.ts +38 -13
- package/indra/assemble.js +2 -2
- package/indra/document.d.ts +4 -3
- package/indra/document.js +1 -1
- package/indra/image.d.ts +2 -2
- package/indra/lines.d.ts +8 -3
- package/indra/lines.js +1 -1
- package/indra/lm.d.ts +51 -0
- package/indra/lm.js +1 -0
- package/indra/npz.d.ts +14 -0
- package/indra/npz.js +1 -0
- package/indra/order-post.d.ts +9 -0
- package/indra/order-post.js +1 -1
- package/indra/pipeline.d.ts +30 -17
- package/indra/pipeline.js +1 -1
- package/indra/rec-preproc.d.ts +14 -2
- package/indra/rec-preproc.js +1 -1
- package/indra/recognize.d.ts +44 -6
- package/indra/recognize.js +1 -1
- package/indra/recognizers.d.ts +45 -0
- package/indra/recognizers.js +1 -0
- package/indra/rtl.d.ts +34 -0
- package/indra/rtl.js +1 -0
- package/indra/text-runs.d.ts +35 -0
- package/indra/text-runs.js +2 -0
- package/indra/textlayer.d.ts +43 -16
- package/indra/textlayer.js +1 -2
- package/indra/ts-image-ops.js +1 -1
- package/indra/types.d.ts +39 -7
- package/indra/unicode-data.d.ts +4 -0
- package/indra/unicode-data.js +1 -0
- package/indra/unicode.d.ts +24 -0
- package/indra/unicode.js +1 -0
- package/indra/upright.d.ts +13 -2
- package/indra/upright.js +1 -1
- package/indra/vocab.d.ts +3 -1
- package/indra/vocab.js +1 -1
- package/interface.d.ts +13 -2
- package/mobile/platform.mobile.d.ts +1 -0
- package/mobile/platform.mobile.js +1 -1
- package/model-catalogue.d.ts +76 -20
- package/model-catalogue.js +1 -1
- package/package.json +1 -1
- package/pdf/index.js +1 -1
- package/pdf/pdfium.d.ts +2 -0
- package/pdf/pdfium.js +1 -1
- package/processor/indra-ocr.service.d.ts +7 -2
- package/processor/indra-ocr.service.js +1 -1
- package/processor/platform.node.d.ts +1 -0
- package/processor/platform.node.js +1 -1
- package/web/platform.web.d.ts +1 -0
- package/web/platform.web.js +1 -1
package/LICENSE-STATUS.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> **Subject to change.** This page records where this project stands on the
|
|
4
4
|
> license of the Indra OCR model weights. It changes when Datalab answers us
|
|
5
|
-
> or when Datalab changes its license. Last updated: 2026-10-
|
|
5
|
+
> or when Datalab changes its license. Last updated: 2026-10-20.
|
|
6
6
|
>
|
|
7
7
|
> This page is not legal advice. Read the license yourself before you use the
|
|
8
8
|
> weights.
|
|
@@ -69,7 +69,7 @@ written answer on four points:
|
|
|
69
69
|
statement that Datalab does not endorse the project?
|
|
70
70
|
4. Does Section 8 apply to the OCR text that users get from the model?
|
|
71
71
|
|
|
72
|
-
As of 2026-10-
|
|
72
|
+
As of 2026-10-20, we have no reply. We do not read silence as permission.
|
|
73
73
|
Datalab has not approved or endorsed this project.
|
|
74
74
|
|
|
75
75
|
## What this project does with the weights
|
|
@@ -77,13 +77,21 @@ Datalab has not approved or endorsed this project.
|
|
|
77
77
|
- **Default download.** The library downloads the weights from Datalab's own
|
|
78
78
|
repository,
|
|
79
79
|
[datalab-to/indra-ocr](https://huggingface.co/datalab-to/indra-ocr),
|
|
80
|
-
pinned to commit `
|
|
80
|
+
pinned to one commit per model preset: `a1283c4b42a273c09480ad50e71461daff50fcc7`
|
|
81
|
+
(tag v1.1.0, Indra OCR 1.1, the default) and
|
|
82
|
+
`d7c839c892bfe4b8993373db64c62f154d05d70b` (tag v3.1, Indra OCR 1.0).
|
|
83
|
+
- **Same license in 1.1.** The license file of tag v1.1.0 is byte for byte
|
|
84
|
+
the license file of tag v3.1 (sha256
|
|
85
|
+
`50c88a018a7ee322e89f6b09401b237beb0cd331685879405b3db48993950a5f`). Indra OCR 1.1
|
|
86
|
+
changed the weights, not the terms.
|
|
81
87
|
- **No weights in the package.** The npm and JSR packages contain the code
|
|
82
88
|
only.
|
|
83
|
-
- **Mirrors.**
|
|
84
|
-
Datalab's license and attribution: [models/](models/)
|
|
85
|
-
and the Hugging Face
|
|
86
|
-
|
|
89
|
+
- **Mirrors.** Unmodified copies of the pinned weights exist, each with
|
|
90
|
+
Datalab's license and attribution: [models/](models/) (v3.1) and
|
|
91
|
+
[models/v1.1/](models/v1.1/) in this repository, and the Hugging Face
|
|
92
|
+
repository
|
|
93
|
+
[snowfluke/ppu-indra-ocr-models](https://huggingface.co/snowfluke/ppu-indra-ocr-models)
|
|
94
|
+
(v3.1 at its root, v1.1 in `v1.1/`).
|
|
87
95
|
The library uses the GitHub copy only when you set
|
|
88
96
|
`PPU_INDRA_OCR_MODEL_MIRROR=1` and Hugging Face fails. It does not use the
|
|
89
97
|
Hugging Face copy.
|