@3sln/emon-ppocr 0.3.0-preview.3 → 0.3.0-preview.5

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.
Files changed (3) hide show
  1. package/emon.wasm +0 -0
  2. package/package.json +2 -2
  3. 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",
3
+ "version": "0.3.0-preview.5",
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.3" },
18
+ "peerDependencies": { "@3sln/emon": "^0.3.0-preview.5" },
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-0420cd75efc786ba37d1e028a4c9396d2f17a3b4264880f1296a7f186faced7f',
160
+ const producer = { 'ocr-model': 'ppocr5-en-ef9e8861b652448ad2cb3d1277cd8d6f7341f384afb49b1e2c6da5107287113b',
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 {