@3sln/emon-ppocr 0.3.0-preview.3 → 0.3.0-preview.4
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/emon.wasm +0 -0
- package/package.json +2 -2
- package/ppocr.js +1 -1
package/emon.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@3sln/emon-ppocr",
|
|
3
|
-
"version": "0.3.0-preview.
|
|
3
|
+
"version": "0.3.0-preview.4",
|
|
4
4
|
"description": "Experimental opt-in PP-OCR adapter; caller-provided pinned ORT Web and model URLs",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": { "type": "git", "url": "git+https://github.com/3sln/emon.git", "directory": "release/pkg/ppocr" },
|
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
"files": ["*.js", "*.d.ts", "emon.wasm", "LICENSE", "THIRD_PARTY_NOTICES.md", "README.md"],
|
|
16
16
|
"sideEffects": false,
|
|
17
17
|
"publishConfig": { "access": "public" },
|
|
18
|
-
"peerDependencies": { "@3sln/emon": "^0.3.0-preview.
|
|
18
|
+
"peerDependencies": { "@3sln/emon": "^0.3.0-preview.4" },
|
|
19
19
|
"engines": { "node": ">=22" }
|
|
20
20
|
}
|
package/ppocr.js
CHANGED
|
@@ -157,7 +157,7 @@ export function ppocrAdapter({ wasm, loadOrt, wasmPaths, ortWasm, models, lexico
|
|
|
157
157
|
*/
|
|
158
158
|
export function ppocrEngine(options) {
|
|
159
159
|
const read = ppocrAdapter(options);
|
|
160
|
-
const producer = { 'ocr-model': 'ppocr5-en-
|
|
160
|
+
const producer = { 'ocr-model': 'ppocr5-en-05f1bcb2f39c6055ec7f64b38c01f8a6e90b4a2d4c50214d15aecc4d5827e4b5',
|
|
161
161
|
'pp-lexicon': 'tessdata_fast/eng sha256=7d4322bd2a7749724879683fc3912cb542f19906c83bcc1a52132556427170b2',
|
|
162
162
|
'onnxruntime': '1.22.0 WASM fixed SIMD sequential threads=1 graph=all', host: 'host/js/src/ppocr.js' };
|
|
163
163
|
return {
|