@scoriiu/fenshot 0.1.7 → 0.1.8
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/README.md +2 -2
- package/package.json +2 -12
package/README.md
CHANGED
|
@@ -92,8 +92,8 @@ Compose a full analyzable FEN from a bare placement. Castling rights are inferre
|
|
|
92
92
|
`@scoriiu/fenshot/reader` opens a chess book (PDF) in the browser, finds and reads every diagram in it, and puts
|
|
93
93
|
the one the reader clicks on a board beside the page. The book stays on the device (IndexedDB). It runs
|
|
94
94
|
[fenshot.com/read](https://fenshot.com/read/) and [kibitzo.com/read](https://kibitzo.com/read); each site gives
|
|
95
|
-
its own words and board through `ReaderHost`. It needs `react` and `pdfjs-dist` (
|
|
96
|
-
alone
|
|
95
|
+
its own words and board through `ReaderHost`. It needs `react` (18 or later) and `pdfjs-dist` (5 or later)
|
|
96
|
+
in your project; the recognizer alone needs neither, and installing this package never asks for them.
|
|
97
97
|
|
|
98
98
|
```tsx
|
|
99
99
|
import { createRecognizer } from "@scoriiu/fenshot";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scoriiu/fenshot",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "Screenshot in, FEN out. Chessboard recognition in the browser: detects the board in any screenshot or book diagram and reads the position with a CNN tile classifier. With a chess-book reader for React (@scoriiu/fenshot/reader).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -33,9 +33,7 @@
|
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"onnxruntime-web": ">=1.17.0"
|
|
37
|
-
"pdfjs-dist": ">=5",
|
|
38
|
-
"react": ">=18"
|
|
36
|
+
"onnxruntime-web": ">=1.17.0"
|
|
39
37
|
},
|
|
40
38
|
"devDependencies": {
|
|
41
39
|
"@types/pngjs": "^6.0.5",
|
|
@@ -68,13 +66,5 @@
|
|
|
68
66
|
"homepage": "https://github.com/scoriiu/fenshot#readme",
|
|
69
67
|
"bugs": {
|
|
70
68
|
"url": "https://github.com/scoriiu/fenshot/issues"
|
|
71
|
-
},
|
|
72
|
-
"peerDependenciesMeta": {
|
|
73
|
-
"pdfjs-dist": {
|
|
74
|
-
"optional": true
|
|
75
|
-
},
|
|
76
|
-
"react": {
|
|
77
|
-
"optional": true
|
|
78
|
-
}
|
|
79
69
|
}
|
|
80
70
|
}
|