filens-ocr-linux-x64 0.1.0 → 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/README.md +27 -7
- package/THIRD-PARTY-NOTICES.md +13 -2
- package/native/libzima_ncnn_runtime_v7.so +0 -0
- package/native/licenses/pdf-unicode-rust.txt +971 -0
- package/native/licenses/yaml-v3-LICENSE.txt +50 -0
- package/native/runtime.json +24 -131
- package/native/wrapper-build.json +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
|
|
2
|
+
This project is covered by two different licenses: MIT and Apache.
|
|
3
|
+
|
|
4
|
+
#### MIT License ####
|
|
5
|
+
|
|
6
|
+
The following files were ported to Go from C files of libyaml, and thus
|
|
7
|
+
are still covered by their original MIT license, with the additional
|
|
8
|
+
copyright staring in 2011 when the project was ported over:
|
|
9
|
+
|
|
10
|
+
apic.go emitterc.go parserc.go readerc.go scannerc.go
|
|
11
|
+
writerc.go yamlh.go yamlprivateh.go
|
|
12
|
+
|
|
13
|
+
Copyright (c) 2006-2010 Kirill Simonov
|
|
14
|
+
Copyright (c) 2006-2011 Kirill Simonov
|
|
15
|
+
|
|
16
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
17
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
18
|
+
the Software without restriction, including without limitation the rights to
|
|
19
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
20
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
21
|
+
so, subject to the following conditions:
|
|
22
|
+
|
|
23
|
+
The above copyright notice and this permission notice shall be included in all
|
|
24
|
+
copies or substantial portions of the Software.
|
|
25
|
+
|
|
26
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
27
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
28
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
29
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
30
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
31
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
32
|
+
SOFTWARE.
|
|
33
|
+
|
|
34
|
+
### Apache License ###
|
|
35
|
+
|
|
36
|
+
All the remaining project files are covered by the Apache license:
|
|
37
|
+
|
|
38
|
+
Copyright (c) 2011-2019 Canonical Ltd
|
|
39
|
+
|
|
40
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
41
|
+
you may not use this file except in compliance with the License.
|
|
42
|
+
You may obtain a copy of the License at
|
|
43
|
+
|
|
44
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
45
|
+
|
|
46
|
+
Unless required by applicable law or agreed to in writing, software
|
|
47
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
48
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
49
|
+
See the License for the specific language governing permissions and
|
|
50
|
+
limitations under the License.
|
package/native/runtime.json
CHANGED
|
@@ -2,107 +2,6 @@
|
|
|
2
2
|
"version": "2026.10.28.2",
|
|
3
3
|
"platform": "linux-x64",
|
|
4
4
|
"artifacts": [
|
|
5
|
-
{
|
|
6
|
-
"name": "libzima_ncnn_runtime_v7.so",
|
|
7
|
-
"cached": false,
|
|
8
|
-
"sha256": "92f0529d5b78153a1d0ebfcfbacef946d00e175a39682d23744c9f068543483a",
|
|
9
|
-
"events": [
|
|
10
|
-
{
|
|
11
|
-
"type": "probe",
|
|
12
|
-
"source": "modelscope-api",
|
|
13
|
-
"url": "https://modelscope.cn/api/v1/models/orcazhang/ncnn/repo?Revision=31cac59f06413ab474246ad24f9a06ab14090a0f&FilePath=runtime%2Freleases%2Fncnn%2F2026.10.28.2%2Flinux%2Famd64%2Flibzima_ncnn_runtime_v7.so",
|
|
14
|
-
"bytesPerSecond": 688286.8532503311,
|
|
15
|
-
"elapsedMs": 380.86445900000035,
|
|
16
|
-
"rangeSupported": true
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"type": "probe",
|
|
20
|
-
"source": "modelscope",
|
|
21
|
-
"url": "https://modelscope.cn/models/orcazhang/ncnn/resolve/31cac59f06413ab474246ad24f9a06ab14090a0f/runtime/releases/ncnn/2026.10.28.2/linux/amd64/libzima_ncnn_runtime_v7.so",
|
|
22
|
-
"bytesPerSecond": 618608.7145384114,
|
|
23
|
-
"elapsedMs": 423.763833,
|
|
24
|
-
"rangeSupported": true
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"type": "probe",
|
|
28
|
-
"source": "huggingface",
|
|
29
|
-
"url": "https://huggingface.co/orca-zhang/ncnn/resolve/8ffa14f2024c6fe4fbb2b4a0ea88e8f2ab069f96/runtime/releases/ncnn/2026.10.28.2/linux/amd64/libzima_ncnn_runtime_v7.so",
|
|
30
|
-
"error": "fetch failed"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"type": "probe",
|
|
34
|
-
"source": "hf-mirror",
|
|
35
|
-
"url": "https://hf-mirror.com/orca-zhang/ncnn/resolve/8ffa14f2024c6fe4fbb2b4a0ea88e8f2ab069f96/runtime/releases/ncnn/2026.10.28.2/linux/amd64/libzima_ncnn_runtime_v7.so",
|
|
36
|
-
"bytesPerSecond": 10740.979272467823,
|
|
37
|
-
"elapsedMs": 24405.968333999997,
|
|
38
|
-
"rangeSupported": true
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"type": "progress",
|
|
42
|
-
"completed": 1048576,
|
|
43
|
-
"bytes": 8584977,
|
|
44
|
-
"bytesPerSecond": 4559583.644739109
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"type": "progress",
|
|
48
|
-
"completed": 2097152,
|
|
49
|
-
"bytes": 8584977,
|
|
50
|
-
"bytesPerSecond": 7865204.825711313
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"type": "progress",
|
|
54
|
-
"completed": 3145728,
|
|
55
|
-
"bytes": 8584977,
|
|
56
|
-
"bytesPerSecond": 11671123.020692881
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"type": "progress",
|
|
60
|
-
"completed": 4194304,
|
|
61
|
-
"bytes": 8584977,
|
|
62
|
-
"bytesPerSecond": 14713861.740417693
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"type": "progress",
|
|
66
|
-
"completed": 5242880,
|
|
67
|
-
"bytes": 8584977,
|
|
68
|
-
"bytesPerSecond": 17442305.045218136
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"type": "progress",
|
|
72
|
-
"completed": 6291456,
|
|
73
|
-
"bytes": 8584977,
|
|
74
|
-
"bytesPerSecond": 17978501.499608688
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"type": "progress",
|
|
78
|
-
"completed": 7340032,
|
|
79
|
-
"bytes": 8584977,
|
|
80
|
-
"bytesPerSecond": 19846486.474063314
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"type": "progress",
|
|
84
|
-
"completed": 7536401,
|
|
85
|
-
"bytes": 8584977,
|
|
86
|
-
"bytesPerSecond": 18063920.84991299
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"type": "progress",
|
|
90
|
-
"completed": 8584977,
|
|
91
|
-
"bytes": 8584977,
|
|
92
|
-
"bytesPerSecond": 18335329.187850475
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"type": "complete",
|
|
96
|
-
"sources": [
|
|
97
|
-
"modelscope",
|
|
98
|
-
"modelscope-api"
|
|
99
|
-
],
|
|
100
|
-
"bytes": 8584977,
|
|
101
|
-
"elapsedMs": 475.7014580000032,
|
|
102
|
-
"bytesPerSecond": 18046984.83812497
|
|
103
|
-
}
|
|
104
|
-
]
|
|
105
|
-
},
|
|
106
5
|
{
|
|
107
6
|
"name": "libncnn.so",
|
|
108
7
|
"cached": false,
|
|
@@ -110,97 +9,91 @@
|
|
|
110
9
|
"events": [
|
|
111
10
|
{
|
|
112
11
|
"type": "probe",
|
|
113
|
-
"source": "modelscope
|
|
114
|
-
"url": "https://modelscope.cn/
|
|
115
|
-
"bytesPerSecond":
|
|
116
|
-
"elapsedMs":
|
|
12
|
+
"source": "modelscope",
|
|
13
|
+
"url": "https://modelscope.cn/models/orcazhang/ncnn/resolve/31cac59f06413ab474246ad24f9a06ab14090a0f/runtime/releases/ncnn/2026.10.28.2/linux/amd64/libncnn.so",
|
|
14
|
+
"bytesPerSecond": 805246.5864934186,
|
|
15
|
+
"elapsedMs": 325.5450000000001,
|
|
117
16
|
"rangeSupported": true
|
|
118
17
|
},
|
|
119
18
|
{
|
|
120
19
|
"type": "probe",
|
|
121
|
-
"source": "
|
|
122
|
-
"url": "https://
|
|
123
|
-
"bytesPerSecond":
|
|
124
|
-
"elapsedMs":
|
|
20
|
+
"source": "huggingface",
|
|
21
|
+
"url": "https://huggingface.co/orca-zhang/ncnn/resolve/8ffa14f2024c6fe4fbb2b4a0ea88e8f2ab069f96/runtime/releases/ncnn/2026.10.28.2/linux/amd64/libncnn.so",
|
|
22
|
+
"bytesPerSecond": 193199.03319826562,
|
|
23
|
+
"elapsedMs": 1356.859792000001,
|
|
125
24
|
"rangeSupported": true
|
|
126
25
|
},
|
|
127
26
|
{
|
|
128
27
|
"type": "probe",
|
|
129
28
|
"source": "hf-mirror",
|
|
130
29
|
"url": "https://hf-mirror.com/orca-zhang/ncnn/resolve/8ffa14f2024c6fe4fbb2b4a0ea88e8f2ab069f96/runtime/releases/ncnn/2026.10.28.2/linux/amd64/libncnn.so",
|
|
131
|
-
"bytesPerSecond":
|
|
132
|
-
"elapsedMs":
|
|
30
|
+
"bytesPerSecond": 127709.53563623365,
|
|
31
|
+
"elapsedMs": 2052.6579999999994,
|
|
133
32
|
"rangeSupported": true
|
|
134
33
|
},
|
|
135
|
-
{
|
|
136
|
-
"type": "probe",
|
|
137
|
-
"source": "huggingface",
|
|
138
|
-
"url": "https://huggingface.co/orca-zhang/ncnn/resolve/8ffa14f2024c6fe4fbb2b4a0ea88e8f2ab069f96/runtime/releases/ncnn/2026.10.28.2/linux/amd64/libncnn.so",
|
|
139
|
-
"error": "fetch failed"
|
|
140
|
-
},
|
|
141
34
|
{
|
|
142
35
|
"type": "progress",
|
|
143
36
|
"completed": 1048576,
|
|
144
37
|
"bytes": 9123192,
|
|
145
|
-
"bytesPerSecond":
|
|
38
|
+
"bytesPerSecond": 7541575.902509615
|
|
146
39
|
},
|
|
147
40
|
{
|
|
148
41
|
"type": "progress",
|
|
149
42
|
"completed": 2097152,
|
|
150
43
|
"bytes": 9123192,
|
|
151
|
-
"bytesPerSecond":
|
|
44
|
+
"bytesPerSecond": 7885822.409967148
|
|
152
45
|
},
|
|
153
46
|
{
|
|
154
47
|
"type": "progress",
|
|
155
48
|
"completed": 3145728,
|
|
156
49
|
"bytes": 9123192,
|
|
157
|
-
"bytesPerSecond":
|
|
50
|
+
"bytesPerSecond": 8894745.715445988
|
|
158
51
|
},
|
|
159
52
|
{
|
|
160
53
|
"type": "progress",
|
|
161
54
|
"completed": 4194304,
|
|
162
55
|
"bytes": 9123192,
|
|
163
|
-
"bytesPerSecond":
|
|
56
|
+
"bytesPerSecond": 11009727.838490658
|
|
164
57
|
},
|
|
165
58
|
{
|
|
166
59
|
"type": "progress",
|
|
167
60
|
"completed": 5242880,
|
|
168
61
|
"bytes": 9123192,
|
|
169
|
-
"bytesPerSecond":
|
|
62
|
+
"bytesPerSecond": 10994915.285782833
|
|
170
63
|
},
|
|
171
64
|
{
|
|
172
65
|
"type": "progress",
|
|
173
66
|
"completed": 6291456,
|
|
174
67
|
"bytes": 9123192,
|
|
175
|
-
"bytesPerSecond":
|
|
68
|
+
"bytesPerSecond": 13100656.495011069
|
|
176
69
|
},
|
|
177
70
|
{
|
|
178
71
|
"type": "progress",
|
|
179
|
-
"completed":
|
|
72
|
+
"completed": 7026040,
|
|
180
73
|
"bytes": 9123192,
|
|
181
|
-
"bytesPerSecond":
|
|
74
|
+
"bytesPerSecond": 11956034.680981712
|
|
182
75
|
},
|
|
183
76
|
{
|
|
184
77
|
"type": "progress",
|
|
185
78
|
"completed": 8074616,
|
|
186
79
|
"bytes": 9123192,
|
|
187
|
-
"bytesPerSecond":
|
|
80
|
+
"bytesPerSecond": 8180665.368326398
|
|
188
81
|
},
|
|
189
82
|
{
|
|
190
83
|
"type": "progress",
|
|
191
84
|
"completed": 9123192,
|
|
192
85
|
"bytes": 9123192,
|
|
193
|
-
"bytesPerSecond":
|
|
86
|
+
"bytesPerSecond": 6462780.950923691
|
|
194
87
|
},
|
|
195
88
|
{
|
|
196
89
|
"type": "complete",
|
|
197
90
|
"sources": [
|
|
198
|
-
"modelscope
|
|
199
|
-
"
|
|
91
|
+
"modelscope",
|
|
92
|
+
"huggingface"
|
|
200
93
|
],
|
|
201
94
|
"bytes": 9123192,
|
|
202
|
-
"elapsedMs":
|
|
203
|
-
"bytesPerSecond":
|
|
95
|
+
"elapsedMs": 1417.3250420000004,
|
|
96
|
+
"bytesPerSecond": 6436908.77508675
|
|
204
97
|
}
|
|
205
98
|
]
|
|
206
99
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"release": "2026.10.28.2",
|
|
3
|
+
"sourceSHA256": "2c781788bb7eb5d91e0bdb8fcb12b7415d49045e13b32c9b959e740432a833b7",
|
|
4
|
+
"platform": "linux-x64",
|
|
5
|
+
"trimpath": true,
|
|
6
|
+
"minimumGlibc": "2.17",
|
|
7
|
+
"compiler": "zig cc",
|
|
8
|
+
"sha256": "5910c059aa551f435c0e772a5fc448839c7ec380e04f9946a11d58f362590e6d"
|
|
9
|
+
}
|