dimcode-windows-x64
Advanced tools
| { | ||
| "files": [ | ||
| { | ||
| "bytes": 11358, | ||
| "path": "LICENSE", | ||
| "sha256": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30" | ||
| }, | ||
| { | ||
| "bytes": 258, | ||
| "path": "NOTICE", | ||
| "sha256": "24cb7b29285527efc05b8b85c3086fa589e06078dc3ad0075fb51546aa85f547" | ||
| }, | ||
| { | ||
| "bytes": 318, | ||
| "path": "README.md", | ||
| "sha256": "1a77350f674a9a4c9c5f2f934230f0c64364eeae2e6539338c935d509c981c0e" | ||
| }, | ||
| { | ||
| "bytes": 1943, | ||
| "path": "license-inventory.json", | ||
| "sha256": "ce1abdf55a19aff5d27a1a2f78b4ac5aec5d4b8eec688596af4391ea00c62622" | ||
| }, | ||
| { | ||
| "bytes": 11376, | ||
| "path": "licenses/PP-OCRv6-Apache-2.0.txt", | ||
| "sha256": "3840c5c0c61c294264d2dd77b8777be6ddd90121ef4e0e64abcd22edea581d6e" | ||
| }, | ||
| { | ||
| "bytes": 312, | ||
| "path": "licenses/PP-OCRv6-MODEL-NOTICE.md", | ||
| "sha256": "381c555aebec730789e4f7a60583024ba7d7c026a5a223ac938c91767e4e91ff" | ||
| }, | ||
| { | ||
| "bytes": 1110, | ||
| "path": "licenses/clipper-BSL-1.0.txt", | ||
| "sha256": "32ee7398e3123736fd14e9f08287edc2d97ace102ab54d8dc4edc8d31c651fa8" | ||
| }, | ||
| { | ||
| "bytes": 1076, | ||
| "path": "licenses/nlohmann-json-MIT.txt", | ||
| "sha256": "86b998c792894ccb911a1cb7994f7a9652894e7a094c0b5e45be2f553f45cf14" | ||
| }, | ||
| { | ||
| "bytes": 1094, | ||
| "path": "licenses/onnxruntime-MIT.txt", | ||
| "sha256": "c250d6278f0b47a6439fb7592b08b58a55eb9f535aa49a1db63211c3f982b674" | ||
| }, | ||
| { | ||
| "bytes": 331175, | ||
| "path": "licenses/onnxruntime-ThirdPartyNotices.txt", | ||
| "sha256": "fb0af774b4d7cffc5b9d046f2aaeade2f37df2f80abf8033c95dfffcc77a8866" | ||
| }, | ||
| { | ||
| "bytes": 1094, | ||
| "path": "licenses/onnxruntime-webgpu-MIT.txt", | ||
| "sha256": "c250d6278f0b47a6439fb7592b08b58a55eb9f535aa49a1db63211c3f982b674" | ||
| }, | ||
| { | ||
| "bytes": 331175, | ||
| "path": "licenses/onnxruntime-webgpu-ThirdPartyNotices.txt", | ||
| "sha256": "fb0af774b4d7cffc5b9d046f2aaeade2f37df2f80abf8033c95dfffcc77a8866" | ||
| }, | ||
| { | ||
| "bytes": 11358, | ||
| "path": "licenses/opencv-Apache-2.0.txt", | ||
| "sha256": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30" | ||
| }, | ||
| { | ||
| "bytes": 733, | ||
| "path": "licenses/opencv-COPYRIGHT.txt", | ||
| "sha256": "bba849c98da85a2b27b86113284a90812c959b1c1fc4ed67de9355475d1e6831" | ||
| }, | ||
| { | ||
| "bytes": 2048, | ||
| "path": "licenses/opencv-carotene-BSD-3-Clause.txt", | ||
| "sha256": "0bccc9a19466df14bd38c8722cc1a692327f5db8f7a0f75f4162620e0e3be59a" | ||
| }, | ||
| { | ||
| "bytes": 1002, | ||
| "path": "licenses/opencv-zlib.txt", | ||
| "sha256": "845efc77857d485d91fb3e0b884aaa929368c717ae8186b66fe1ed2495753243" | ||
| }, | ||
| { | ||
| "bytes": 2510, | ||
| "path": "licenses/stb-MIT-or-Unlicense.txt", | ||
| "sha256": "bebfe904b14301657e4e5d655c811d51fd31b97c455b9cc2d8600d6bac6cff63" | ||
| }, | ||
| { | ||
| "bytes": 17986360, | ||
| "path": "native/dxcompiler.dll", | ||
| "sha256": "2cec74ef87a1171e4502c7d735169756bf4c528676ea354bfde24b01394965f0" | ||
| }, | ||
| { | ||
| "bytes": 1508664, | ||
| "path": "native/dxil.dll", | ||
| "sha256": "0767448abeade590821e88e56c471e0f2dfe89ec9a7642d08adc3dc94f14ab92" | ||
| }, | ||
| { | ||
| "bytes": 3851264, | ||
| "path": "native/light_ocr_node.node", | ||
| "sha256": "d7cd250f01a49f44be30fead97bbc373b4bf83b6e941ba2fe81858440f30fddc" | ||
| }, | ||
| { | ||
| "bytes": 14203464, | ||
| "path": "native/onnxruntime.dll", | ||
| "sha256": "b95efb2113b603bbbf3f191061c5516a871ed546893c820e4f3b7b6c358dbf2a" | ||
| }, | ||
| { | ||
| "bytes": 8807264, | ||
| "path": "native/onnxruntime_providers_webgpu.dll", | ||
| "sha256": "591e286a211b133e3c4e5c833febf2d594b7b548433a2490407b11b906a9271b" | ||
| }, | ||
| { | ||
| "bytes": 2730, | ||
| "path": "native/runtime-descriptor.json", | ||
| "sha256": "8ffa2e235de103284424fbc2c503d2d2dc0fa766068b6ac9b2887fca58209097" | ||
| }, | ||
| { | ||
| "bytes": 860, | ||
| "path": "package.json", | ||
| "sha256": "b2821c3ee7572cc0d47fa5426def9cc229d4398f5974c38f2c1aa7cefc3d9d3f" | ||
| }, | ||
| { | ||
| "bytes": 5672, | ||
| "path": "sbom.spdx.json", | ||
| "sha256": "5d3670590f788808f28eb42983950fae1084198660f65e25cba1c466f0778aa7" | ||
| } | ||
| ], | ||
| "package": "@arcships/light-ocr-win32-x64", | ||
| "schemaVersion": "1.0", | ||
| "version": "0.3.0" | ||
| } |
| Apache License | ||
| Version 2.0, January 2004 | ||
| http://www.apache.org/licenses/ | ||
| TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | ||
| 1. Definitions. | ||
| "License" shall mean the terms and conditions for use, reproduction, | ||
| and distribution as defined by Sections 1 through 9 of this document. | ||
| "Licensor" shall mean the copyright owner or entity authorized by | ||
| the copyright owner that is granting the License. | ||
| "Legal Entity" shall mean the union of the acting entity and all | ||
| other entities that control, are controlled by, or are under common | ||
| control with that entity. For the purposes of this definition, | ||
| "control" means (i) the power, direct or indirect, to cause the | ||
| direction or management of such entity, whether by contract or | ||
| otherwise, or (ii) ownership of fifty percent (50%) or more of the | ||
| outstanding shares, or (iii) beneficial ownership of such entity. | ||
| "You" (or "Your") shall mean an individual or Legal Entity | ||
| exercising permissions granted by this License. | ||
| "Source" form shall mean the preferred form for making modifications, | ||
| including but not limited to software source code, documentation | ||
| source, and configuration files. | ||
| "Object" form shall mean any form resulting from mechanical | ||
| transformation or translation of a Source form, including but | ||
| not limited to compiled object code, generated documentation, | ||
| and conversions to other media types. | ||
| "Work" shall mean the work of authorship, whether in Source or | ||
| Object form, made available under the License, as indicated by a | ||
| copyright notice that is included in or attached to the work | ||
| (an example is provided in the Appendix below). | ||
| "Derivative Works" shall mean any work, whether in Source or Object | ||
| form, that is based on (or derived from) the Work and for which the | ||
| editorial revisions, annotations, elaborations, or other modifications | ||
| represent, as a whole, an original work of authorship. For the purposes | ||
| of this License, Derivative Works shall not include works that remain | ||
| separable from, or merely link (or bind by name) to the interfaces of, | ||
| the Work and Derivative Works thereof. | ||
| "Contribution" shall mean any work of authorship, including | ||
| the original version of the Work and any modifications or additions | ||
| to that Work or Derivative Works thereof, that is intentionally | ||
| submitted to Licensor for inclusion in the Work by the copyright owner | ||
| or by an individual or Legal Entity authorized to submit on behalf of | ||
| the copyright owner. For the purposes of this definition, "submitted" | ||
| means any form of electronic, verbal, or written communication sent | ||
| to the Licensor or its representatives, including but not limited to | ||
| communication on electronic mailing lists, source code control systems, | ||
| and issue tracking systems that are managed by, or on behalf of, the | ||
| Licensor for the purpose of discussing and improving the Work, but | ||
| excluding communication that is conspicuously marked or otherwise | ||
| designated in writing by the copyright owner as "Not a Contribution." | ||
| "Contributor" shall mean Licensor and any individual or Legal Entity | ||
| on behalf of whom a Contribution has been received by Licensor and | ||
| subsequently incorporated within the Work. | ||
| 2. Grant of Copyright License. Subject to the terms and conditions of | ||
| this License, each Contributor hereby grants to You a perpetual, | ||
| worldwide, non-exclusive, no-charge, royalty-free, irrevocable | ||
| copyright license to reproduce, prepare Derivative Works of, | ||
| publicly display, publicly perform, sublicense, and distribute the | ||
| Work and such Derivative Works in Source or Object form. | ||
| 3. Grant of Patent License. Subject to the terms and conditions of | ||
| this License, each Contributor hereby grants to You a perpetual, | ||
| worldwide, non-exclusive, no-charge, royalty-free, irrevocable | ||
| (except as stated in this section) patent license to make, have made, | ||
| use, offer to sell, sell, import, and otherwise transfer the Work, | ||
| where such license applies only to those patent claims licensable | ||
| by such Contributor that are necessarily infringed by their | ||
| Contribution(s) alone or by combination of their Contribution(s) | ||
| with the Work to which such Contribution(s) was submitted. If You | ||
| institute patent litigation against any entity (including a | ||
| cross-claim or counterclaim in a lawsuit) alleging that the Work | ||
| or a Contribution incorporated within the Work constitutes direct | ||
| or contributory patent infringement, then any patent licenses | ||
| granted to You under this License for that Work shall terminate | ||
| as of the date such litigation is filed. | ||
| 4. Redistribution. You may reproduce and distribute copies of the | ||
| Work or Derivative Works thereof in any medium, with or without | ||
| modifications, and in Source or Object form, provided that You | ||
| meet the following conditions: | ||
| (a) You must give any other recipients of the Work or | ||
| Derivative Works a copy of this License; and | ||
| (b) You must cause any modified files to carry prominent notices | ||
| stating that You changed the files; and | ||
| (c) You must retain, in the Source form of any Derivative Works | ||
| that You distribute, all copyright, patent, trademark, and | ||
| attribution notices from the Source form of the Work, | ||
| excluding those notices that do not pertain to any part of | ||
| the Derivative Works; and | ||
| (d) If the Work includes a "NOTICE" text file as part of its | ||
| distribution, then any Derivative Works that You distribute must | ||
| include a readable copy of the attribution notices contained | ||
| within such NOTICE file, excluding those notices that do not | ||
| pertain to any part of the Derivative Works, in at least one | ||
| of the following places: within a NOTICE text file distributed | ||
| as part of the Derivative Works; within the Source form or | ||
| documentation, if provided along with the Derivative Works; or, | ||
| within a display generated by the Derivative Works, if and | ||
| wherever such third-party notices normally appear. The contents | ||
| of the NOTICE file are for informational purposes only and | ||
| do not modify the License. You may add Your own attribution | ||
| notices within Derivative Works that You distribute, alongside | ||
| or as an addendum to the NOTICE text from the Work, provided | ||
| that such additional attribution notices cannot be construed | ||
| as modifying the License. | ||
| You may add Your own copyright statement to Your modifications and | ||
| may provide additional or different license terms and conditions | ||
| for use, reproduction, or distribution of Your modifications, or | ||
| for any such Derivative Works as a whole, provided Your use, | ||
| reproduction, and distribution of the Work otherwise complies with | ||
| the conditions stated in this License. | ||
| 5. Submission of Contributions. Unless You explicitly state otherwise, | ||
| any Contribution intentionally submitted for inclusion in the Work | ||
| by You to the Licensor shall be under the terms and conditions of | ||
| this License, without any additional terms or conditions. | ||
| Notwithstanding the above, nothing herein shall supersede or modify | ||
| the terms of any separate license agreement you may have executed | ||
| with Licensor regarding such Contributions. | ||
| 6. Trademarks. This License does not grant permission to use the trade | ||
| names, trademarks, service marks, or product names of the Licensor, | ||
| except as required for reasonable and customary use in describing the | ||
| origin of the Work and reproducing the content of the NOTICE file. | ||
| 7. Disclaimer of Warranty. Unless required by applicable law or | ||
| agreed to in writing, Licensor provides the Work (and each | ||
| Contributor provides its Contributions) on an "AS IS" BASIS, | ||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | ||
| implied, including, without limitation, any warranties or conditions | ||
| of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A | ||
| PARTICULAR PURPOSE. You are solely responsible for determining the | ||
| appropriateness of using or redistributing the Work and assume any | ||
| risks associated with Your exercise of permissions under this License. | ||
| 8. Limitation of Liability. In no event and under no legal theory, | ||
| whether in tort (including negligence), contract, or otherwise, | ||
| unless required by applicable law (such as deliberate and grossly | ||
| negligent acts) or agreed to in writing, shall any Contributor be | ||
| liable to You for damages, including any direct, indirect, special, | ||
| incidental, or consequential damages of any character arising as a | ||
| result of this License or out of the use or inability to use the | ||
| Work (including but not limited to damages for loss of goodwill, | ||
| work stoppage, computer failure or malfunction, or any and all | ||
| other commercial damages or losses), even if such Contributor | ||
| has been advised of the possibility of such damages. | ||
| 9. Accepting Warranty or Additional Liability. While redistributing | ||
| the Work or Derivative Works thereof, You may choose to offer, | ||
| and charge a fee for, acceptance of support, warranty, indemnity, | ||
| or other liability obligations and/or rights consistent with this | ||
| License. However, in accepting such obligations, You may act only | ||
| on Your own behalf and on Your sole responsibility, not on behalf | ||
| of any other Contributor, and only if You agree to indemnify, | ||
| defend, and hold each Contributor harmless for any liability | ||
| incurred by, or claims asserted against, such Contributor by reason | ||
| of your accepting any such warranty or additional liability. | ||
| END OF TERMS AND CONDITIONS | ||
| APPENDIX: How to apply the Apache License to your work. | ||
| To apply the Apache License to your work, attach the following | ||
| boilerplate notice, with the fields enclosed by brackets "[]" | ||
| replaced with your own identifying information. (Don't include | ||
| the brackets!) The text should be enclosed in the appropriate | ||
| comment syntax for the file format. We also recommend that a | ||
| file or class name and description of purpose be included on the | ||
| same "printed page" as the copyright notice for easier | ||
| identification within third-party archives. | ||
| Copyright [yyyy] [name of copyright owner] | ||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||
| you may not use this file except in compliance with the License. | ||
| You may obtain a copy of the License at | ||
| http://www.apache.org/licenses/LICENSE-2.0 | ||
| Unless required by applicable law or agreed to in writing, software | ||
| distributed under the License is distributed on an "AS IS" BASIS, | ||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| See the License for the specific language governing permissions and | ||
| limitations under the License. |
| {"files":[{"component":"opencv","file":"licenses/opencv-Apache-2.0.txt","sha256":"cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30"},{"component":"opencv","file":"licenses/opencv-COPYRIGHT.txt","sha256":"bba849c98da85a2b27b86113284a90812c959b1c1fc4ed67de9355475d1e6831"},{"component":"zlib","file":"licenses/opencv-zlib.txt","sha256":"845efc77857d485d91fb3e0b884aaa929368c717ae8186b66fe1ed2495753243"},{"component":"clipper","file":"licenses/clipper-BSL-1.0.txt","sha256":"32ee7398e3123736fd14e9f08287edc2d97ace102ab54d8dc4edc8d31c651fa8"},{"component":"nlohmann-json","file":"licenses/nlohmann-json-MIT.txt","sha256":"86b998c792894ccb911a1cb7994f7a9652894e7a094c0b5e45be2f553f45cf14"},{"component":"onnxruntime","file":"licenses/onnxruntime-MIT.txt","sha256":"c250d6278f0b47a6439fb7592b08b58a55eb9f535aa49a1db63211c3f982b674"},{"component":"onnxruntime","file":"licenses/onnxruntime-ThirdPartyNotices.txt","sha256":"fb0af774b4d7cffc5b9d046f2aaeade2f37df2f80abf8033c95dfffcc77a8866"},{"component":"onnxruntime-webgpu","file":"licenses/onnxruntime-webgpu-MIT.txt","sha256":"c250d6278f0b47a6439fb7592b08b58a55eb9f535aa49a1db63211c3f982b674"},{"component":"onnxruntime-webgpu","file":"licenses/onnxruntime-webgpu-ThirdPartyNotices.txt","sha256":"fb0af774b4d7cffc5b9d046f2aaeade2f37df2f80abf8033c95dfffcc77a8866"},{"component":"stb","file":"licenses/stb-MIT-or-Unlicense.txt","sha256":"bebfe904b14301657e4e5d655c811d51fd31b97c455b9cc2d8600d6bac6cff63"},{"component":"PP-OCRv6-models","file":"licenses/PP-OCRv6-Apache-2.0.txt","sha256":"3840c5c0c61c294264d2dd77b8777be6ddd90121ef4e0e64abcd22edea581d6e"},{"component":"PP-OCRv6-models","file":"licenses/PP-OCRv6-MODEL-NOTICE.md","sha256":"381c555aebec730789e4f7a60583024ba7d7c026a5a223ac938c91767e4e91ff"},{"component":"carotene","file":"licenses/opencv-carotene-BSD-3-Clause.txt","sha256":"0bccc9a19466df14bd38c8722cc1a692327f5db8f7a0f75f4162620e0e3be59a"}],"schemaVersion":"1.0"} |
| The MIT License (MIT) | ||
| Copyright (c) 2015 Gregor Ratajc, Lukas Treyer, Maxime Chalton | ||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of this software and associated documentation files (the "Software"), to deal | ||
| in the Software without restriction, including without limitation the rights | ||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| copies of the Software, and to permit persons to whom the Software is | ||
| furnished to do so, subject to the following conditions: | ||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| SOFTWARE. |
| MIT License | ||
| Copyright (c) 2013-2022 Niels Lohmann | ||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of this software and associated documentation files (the "Software"), to deal | ||
| in the Software without restriction, including without limitation the rights | ||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| copies of the Software, and to permit persons to whom the Software is | ||
| furnished to do so, subject to the following conditions: | ||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| SOFTWARE. |
| MIT License | ||
| Copyright (c) Microsoft Corporation | ||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of this software and associated documentation files (the "Software"), to deal | ||
| in the Software without restriction, including without limitation the rights | ||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| copies of the Software, and to permit persons to whom the Software is | ||
| furnished to do so, subject to the following conditions: | ||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| SOFTWARE. |
Sorry, the diff of this file is too big to display
| MIT License | ||
| Copyright (c) Microsoft Corporation | ||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of this software and associated documentation files (the "Software"), to deal | ||
| in the Software without restriction, including without limitation the rights | ||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| copies of the Software, and to permit persons to whom the Software is | ||
| furnished to do so, subject to the following conditions: | ||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| SOFTWARE. |
Sorry, the diff of this file is too big to display
| Apache License | ||
| Version 2.0, January 2004 | ||
| http://www.apache.org/licenses/ | ||
| TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | ||
| 1. Definitions. | ||
| "License" shall mean the terms and conditions for use, reproduction, | ||
| and distribution as defined by Sections 1 through 9 of this document. | ||
| "Licensor" shall mean the copyright owner or entity authorized by | ||
| the copyright owner that is granting the License. | ||
| "Legal Entity" shall mean the union of the acting entity and all | ||
| other entities that control, are controlled by, or are under common | ||
| control with that entity. For the purposes of this definition, | ||
| "control" means (i) the power, direct or indirect, to cause the | ||
| direction or management of such entity, whether by contract or | ||
| otherwise, or (ii) ownership of fifty percent (50%) or more of the | ||
| outstanding shares, or (iii) beneficial ownership of such entity. | ||
| "You" (or "Your") shall mean an individual or Legal Entity | ||
| exercising permissions granted by this License. | ||
| "Source" form shall mean the preferred form for making modifications, | ||
| including but not limited to software source code, documentation | ||
| source, and configuration files. | ||
| "Object" form shall mean any form resulting from mechanical | ||
| transformation or translation of a Source form, including but | ||
| not limited to compiled object code, generated documentation, | ||
| and conversions to other media types. | ||
| "Work" shall mean the work of authorship, whether in Source or | ||
| Object form, made available under the License, as indicated by a | ||
| copyright notice that is included in or attached to the work | ||
| (an example is provided in the Appendix below). | ||
| "Derivative Works" shall mean any work, whether in Source or Object | ||
| form, that is based on (or derived from) the Work and for which the | ||
| editorial revisions, annotations, elaborations, or other modifications | ||
| represent, as a whole, an original work of authorship. For the purposes | ||
| of this License, Derivative Works shall not include works that remain | ||
| separable from, or merely link (or bind by name) to the interfaces of, | ||
| the Work and Derivative Works thereof. | ||
| "Contribution" shall mean any work of authorship, including | ||
| the original version of the Work and any modifications or additions | ||
| to that Work or Derivative Works thereof, that is intentionally | ||
| submitted to Licensor for inclusion in the Work by the copyright owner | ||
| or by an individual or Legal Entity authorized to submit on behalf of | ||
| the copyright owner. For the purposes of this definition, "submitted" | ||
| means any form of electronic, verbal, or written communication sent | ||
| to the Licensor or its representatives, including but not limited to | ||
| communication on electronic mailing lists, source code control systems, | ||
| and issue tracking systems that are managed by, or on behalf of, the | ||
| Licensor for the purpose of discussing and improving the Work, but | ||
| excluding communication that is conspicuously marked or otherwise | ||
| designated in writing by the copyright owner as "Not a Contribution." | ||
| "Contributor" shall mean Licensor and any individual or Legal Entity | ||
| on behalf of whom a Contribution has been received by Licensor and | ||
| subsequently incorporated within the Work. | ||
| 2. Grant of Copyright License. Subject to the terms and conditions of | ||
| this License, each Contributor hereby grants to You a perpetual, | ||
| worldwide, non-exclusive, no-charge, royalty-free, irrevocable | ||
| copyright license to reproduce, prepare Derivative Works of, | ||
| publicly display, publicly perform, sublicense, and distribute the | ||
| Work and such Derivative Works in Source or Object form. | ||
| 3. Grant of Patent License. Subject to the terms and conditions of | ||
| this License, each Contributor hereby grants to You a perpetual, | ||
| worldwide, non-exclusive, no-charge, royalty-free, irrevocable | ||
| (except as stated in this section) patent license to make, have made, | ||
| use, offer to sell, sell, import, and otherwise transfer the Work, | ||
| where such license applies only to those patent claims licensable | ||
| by such Contributor that are necessarily infringed by their | ||
| Contribution(s) alone or by combination of their Contribution(s) | ||
| with the Work to which such Contribution(s) was submitted. If You | ||
| institute patent litigation against any entity (including a | ||
| cross-claim or counterclaim in a lawsuit) alleging that the Work | ||
| or a Contribution incorporated within the Work constitutes direct | ||
| or contributory patent infringement, then any patent licenses | ||
| granted to You under this License for that Work shall terminate | ||
| as of the date such litigation is filed. | ||
| 4. Redistribution. You may reproduce and distribute copies of the | ||
| Work or Derivative Works thereof in any medium, with or without | ||
| modifications, and in Source or Object form, provided that You | ||
| meet the following conditions: | ||
| (a) You must give any other recipients of the Work or | ||
| Derivative Works a copy of this License; and | ||
| (b) You must cause any modified files to carry prominent notices | ||
| stating that You changed the files; and | ||
| (c) You must retain, in the Source form of any Derivative Works | ||
| that You distribute, all copyright, patent, trademark, and | ||
| attribution notices from the Source form of the Work, | ||
| excluding those notices that do not pertain to any part of | ||
| the Derivative Works; and | ||
| (d) If the Work includes a "NOTICE" text file as part of its | ||
| distribution, then any Derivative Works that You distribute must | ||
| include a readable copy of the attribution notices contained | ||
| within such NOTICE file, excluding those notices that do not | ||
| pertain to any part of the Derivative Works, in at least one | ||
| of the following places: within a NOTICE text file distributed | ||
| as part of the Derivative Works; within the Source form or | ||
| documentation, if provided along with the Derivative Works; or, | ||
| within a display generated by the Derivative Works, if and | ||
| wherever such third-party notices normally appear. The contents | ||
| of the NOTICE file are for informational purposes only and | ||
| do not modify the License. You may add Your own attribution | ||
| notices within Derivative Works that You distribute, alongside | ||
| or as an addendum to the NOTICE text from the Work, provided | ||
| that such additional attribution notices cannot be construed | ||
| as modifying the License. | ||
| You may add Your own copyright statement to Your modifications and | ||
| may provide additional or different license terms and conditions | ||
| for use, reproduction, or distribution of Your modifications, or | ||
| for any such Derivative Works as a whole, provided Your use, | ||
| reproduction, and distribution of the Work otherwise complies with | ||
| the conditions stated in this License. | ||
| 5. Submission of Contributions. Unless You explicitly state otherwise, | ||
| any Contribution intentionally submitted for inclusion in the Work | ||
| by You to the Licensor shall be under the terms and conditions of | ||
| this License, without any additional terms or conditions. | ||
| Notwithstanding the above, nothing herein shall supersede or modify | ||
| the terms of any separate license agreement you may have executed | ||
| with Licensor regarding such Contributions. | ||
| 6. Trademarks. This License does not grant permission to use the trade | ||
| names, trademarks, service marks, or product names of the Licensor, | ||
| except as required for reasonable and customary use in describing the | ||
| origin of the Work and reproducing the content of the NOTICE file. | ||
| 7. Disclaimer of Warranty. Unless required by applicable law or | ||
| agreed to in writing, Licensor provides the Work (and each | ||
| Contributor provides its Contributions) on an "AS IS" BASIS, | ||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | ||
| implied, including, without limitation, any warranties or conditions | ||
| of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A | ||
| PARTICULAR PURPOSE. You are solely responsible for determining the | ||
| appropriateness of using or redistributing the Work and assume any | ||
| risks associated with Your exercise of permissions under this License. | ||
| 8. Limitation of Liability. In no event and under no legal theory, | ||
| whether in tort (including negligence), contract, or otherwise, | ||
| unless required by applicable law (such as deliberate and grossly | ||
| negligent acts) or agreed to in writing, shall any Contributor be | ||
| liable to You for damages, including any direct, indirect, special, | ||
| incidental, or consequential damages of any character arising as a | ||
| result of this License or out of the use or inability to use the | ||
| Work (including but not limited to damages for loss of goodwill, | ||
| work stoppage, computer failure or malfunction, or any and all | ||
| other commercial damages or losses), even if such Contributor | ||
| has been advised of the possibility of such damages. | ||
| 9. Accepting Warranty or Additional Liability. While redistributing | ||
| the Work or Derivative Works thereof, You may choose to offer, | ||
| and charge a fee for, acceptance of support, warranty, indemnity, | ||
| or other liability obligations and/or rights consistent with this | ||
| License. However, in accepting such obligations, You may act only | ||
| on Your own behalf and on Your sole responsibility, not on behalf | ||
| of any other Contributor, and only if You agree to indemnify, | ||
| defend, and hold each Contributor harmless for any liability | ||
| incurred by, or claims asserted against, such Contributor by reason | ||
| of your accepting any such warranty or additional liability. | ||
| END OF TERMS AND CONDITIONS | ||
| APPENDIX: How to apply the Apache License to your work. | ||
| To apply the Apache License to your work, attach the following | ||
| boilerplate notice, with the fields enclosed by brackets "[]" | ||
| replaced with your own identifying information. (Don't include | ||
| the brackets!) The text should be enclosed in the appropriate | ||
| comment syntax for the file format. We also recommend that a | ||
| file or class name and description of purpose be included on the | ||
| same "printed page" as the copyright notice for easier | ||
| identification within third-party archives. | ||
| Copyright [yyyy] [name of copyright owner] | ||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||
| you may not use this file except in compliance with the License. | ||
| You may obtain a copy of the License at | ||
| http://www.apache.org/licenses/LICENSE-2.0 | ||
| Unless required by applicable law or agreed to in writing, software | ||
| distributed under the License is distributed on an "AS IS" BASIS, | ||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| See the License for the specific language governing permissions and | ||
| limitations under the License. |
| /* | ||
| * By downloading, copying, installing or using the software you agree to this license. | ||
| * If you do not agree to this license, do not download, install, | ||
| * copy or use the software. | ||
| * | ||
| * | ||
| * License Agreement | ||
| * For Open Source Computer Vision Library | ||
| * (3-clause BSD License) | ||
| * | ||
| * Copyright (C) 2014-2015, NVIDIA Corporation, all rights reserved. | ||
| * Third party copyrights are property of their respective owners. | ||
| * | ||
| * Redistribution and use in source and binary forms, with or without modification, | ||
| * are permitted provided that the following conditions are met: | ||
| * | ||
| * * Redistributions of source code must retain the above copyright notice, | ||
| * this list of conditions and the following disclaimer. | ||
| * | ||
| * * Redistributions in binary form must reproduce the above copyright notice, | ||
| * this list of conditions and the following disclaimer in the documentation | ||
| * and/or other materials provided with the distribution. | ||
| * | ||
| * * Neither the names of the copyright holders nor the names of the contributors | ||
| * may be used to endorse or promote products derived from this software | ||
| * without specific prior written permission. | ||
| * | ||
| * This software is provided by the copyright holders and contributors "as is" and | ||
| * any express or implied warranties, including, but not limited to, the implied | ||
| * warranties of merchantability and fitness for a particular purpose are disclaimed. | ||
| * In no event shall copyright holders or contributors be liable for any direct, | ||
| * indirect, incidental, special, exemplary, or consequential damages | ||
| * (including, but not limited to, procurement of substitute goods or services; | ||
| * loss of use, data, or profits; or business interruption) however caused | ||
| * and on any theory of liability, whether in contract, strict liability, | ||
| * or tort (including negligence or otherwise) arising in any way out of | ||
| * the use of this software, even if advised of the possibility of such damage. | ||
| */ |
| Copyright (C) 2000-2022, Intel Corporation, all rights reserved. | ||
| Copyright (C) 2009-2011, Willow Garage Inc., all rights reserved. | ||
| Copyright (C) 2009-2016, NVIDIA Corporation, all rights reserved. | ||
| Copyright (C) 2010-2013, Advanced Micro Devices, Inc., all rights reserved. | ||
| Copyright (C) 2015-2023, OpenCV Foundation, all rights reserved. | ||
| Copyright (C) 2008-2016, Itseez Inc., all rights reserved. | ||
| Copyright (C) 2019-2023, Xperience AI, all rights reserved. | ||
| Copyright (C) 2019-2022, Shenzhen Institute of Artificial Intelligence and Robotics for Society, all rights reserved. | ||
| Copyright (C) 2022-2023, Southern University of Science And Technology, all rights reserved. | ||
| Third party copyrights are property of their respective owners. |
| Copyright notice: | ||
| (C) 1995-2022 Jean-loup Gailly and Mark Adler | ||
| This software is provided 'as-is', without any express or implied | ||
| warranty. In no event will the authors be held liable for any damages | ||
| arising from the use of this software. | ||
| Permission is granted to anyone to use this software for any purpose, | ||
| including commercial applications, and to alter it and redistribute it | ||
| freely, subject to the following restrictions: | ||
| 1. The origin of this software must not be misrepresented; you must not | ||
| claim that you wrote the original software. If you use this software | ||
| in a product, an acknowledgment in the product documentation would be | ||
| appreciated but is not required. | ||
| 2. Altered source versions must be plainly marked as such, and must not be | ||
| misrepresented as being the original software. | ||
| 3. This notice may not be removed or altered from any source distribution. | ||
| Jean-loup Gailly Mark Adler | ||
| jloup@gzip.org madler@alumni.caltech.edu |
| Apache License | ||
| Version 2.0, January 2004 | ||
| http://www.apache.org/licenses/ | ||
| TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | ||
| 1. Definitions. | ||
| "License" shall mean the terms and conditions for use, reproduction, | ||
| and distribution as defined by Sections 1 through 9 of this document. | ||
| "Licensor" shall mean the copyright owner or entity authorized by | ||
| the copyright owner that is granting the License. | ||
| "Legal Entity" shall mean the union of the acting entity and all | ||
| other entities that control, are controlled by, or are under common | ||
| control with that entity. For the purposes of this definition, | ||
| "control" means (i) the power, direct or indirect, to cause the | ||
| direction or management of such entity, whether by contract or | ||
| otherwise, or (ii) ownership of fifty percent (50%) or more of the | ||
| outstanding shares, or (iii) beneficial ownership of such entity. | ||
| "You" (or "Your") shall mean an individual or Legal Entity | ||
| exercising permissions granted by this License. | ||
| "Source" form shall mean the preferred form for making modifications, | ||
| including but not limited to software source code, documentation | ||
| source, and configuration files. | ||
| "Object" form shall mean any form resulting from mechanical | ||
| transformation or translation of a Source form, including but | ||
| not limited to compiled object code, generated documentation, | ||
| and conversions to other media types. | ||
| "Work" shall mean the work of authorship, whether in Source or | ||
| Object form, made available under the License, as indicated by a | ||
| copyright notice that is included in or attached to the work | ||
| (an example is provided in the Appendix below). | ||
| "Derivative Works" shall mean any work, whether in Source or Object | ||
| form, that is based on (or derived from) the Work and for which the | ||
| editorial revisions, annotations, elaborations, or other modifications | ||
| represent, as a whole, an original work of authorship. For the purposes | ||
| of this License, Derivative Works shall not include works that remain | ||
| separable from, or merely link (or bind by name) to the interfaces of, | ||
| the Work and Derivative Works thereof. | ||
| "Contribution" shall mean any work of authorship, including | ||
| the original version of the Work and any modifications or additions | ||
| to that Work or Derivative Works thereof, that is intentionally | ||
| submitted to Licensor for inclusion in the Work by the copyright owner | ||
| or by an individual or Legal Entity authorized to submit on behalf of | ||
| the copyright owner. For the purposes of this definition, "submitted" | ||
| means any form of electronic, verbal, or written communication sent | ||
| to the Licensor or its representatives, including but not limited to | ||
| communication on electronic mailing lists, source code control systems, | ||
| and issue tracking systems that are managed by, or on behalf of, the | ||
| Licensor for the purpose of discussing and improving the Work, but | ||
| excluding communication that is conspicuously marked or otherwise | ||
| designated in writing by the copyright owner as "Not a Contribution." | ||
| "Contributor" shall mean Licensor and any individual or Legal Entity | ||
| on behalf of whom a Contribution has been received by Licensor and | ||
| subsequently incorporated within the Work. | ||
| 2. Grant of Copyright License. Subject to the terms and conditions of | ||
| this License, each Contributor hereby grants to You a perpetual, | ||
| worldwide, non-exclusive, no-charge, royalty-free, irrevocable | ||
| copyright license to reproduce, prepare Derivative Works of, | ||
| publicly display, publicly perform, sublicense, and distribute the | ||
| Work and such Derivative Works in Source or Object form. | ||
| 3. Grant of Patent License. Subject to the terms and conditions of | ||
| this License, each Contributor hereby grants to You a perpetual, | ||
| worldwide, non-exclusive, no-charge, royalty-free, irrevocable | ||
| (except as stated in this section) patent license to make, have made, | ||
| use, offer to sell, sell, import, and otherwise transfer the Work, | ||
| where such license applies only to those patent claims licensable | ||
| by such Contributor that are necessarily infringed by their | ||
| Contribution(s) alone or by combination of their Contribution(s) | ||
| with the Work to which such Contribution(s) was submitted. If You | ||
| institute patent litigation against any entity (including a | ||
| cross-claim or counterclaim in a lawsuit) alleging that the Work | ||
| or a Contribution incorporated within the Work constitutes direct | ||
| or contributory patent infringement, then any patent licenses | ||
| granted to You under this License for that Work shall terminate | ||
| as of the date such litigation is filed. | ||
| 4. Redistribution. You may reproduce and distribute copies of the | ||
| Work or Derivative Works thereof in any medium, with or without | ||
| modifications, and in Source or Object form, provided that You | ||
| meet the following conditions: | ||
| (a) You must give any other recipients of the Work or | ||
| Derivative Works a copy of this License; and | ||
| (b) You must cause any modified files to carry prominent notices | ||
| stating that You changed the files; and | ||
| (c) You must retain, in the Source form of any Derivative Works | ||
| that You distribute, all copyright, patent, trademark, and | ||
| attribution notices from the Source form of the Work, | ||
| excluding those notices that do not pertain to any part of | ||
| the Derivative Works; and | ||
| (d) If the Work includes a "NOTICE" text file as part of its | ||
| distribution, then any Derivative Works that You distribute must | ||
| include a readable copy of the attribution notices contained | ||
| within such NOTICE file, excluding those notices that do not | ||
| pertain to any part of the Derivative Works, in at least one | ||
| of the following places: within a NOTICE text file distributed | ||
| as part of the Derivative Works; within the Source form or | ||
| documentation, if provided along with the Derivative Works; or, | ||
| within a display generated by the Derivative Works, if and | ||
| wherever such third-party notices normally appear. The contents | ||
| of the NOTICE file are for informational purposes only and | ||
| do not modify the License. You may add Your own attribution | ||
| notices within Derivative Works that You distribute, alongside | ||
| or as an addendum to the NOTICE text from the Work, provided | ||
| that such additional attribution notices cannot be construed | ||
| as modifying the License. | ||
| You may add Your own copyright statement to Your modifications and | ||
| may provide additional or different license terms and conditions | ||
| for use, reproduction, or distribution of Your modifications, or | ||
| for any such Derivative Works as a whole, provided Your use, | ||
| reproduction, and distribution of the Work otherwise complies with | ||
| the conditions stated in this License. | ||
| 5. Submission of Contributions. Unless You explicitly state otherwise, | ||
| any Contribution intentionally submitted for inclusion in the Work | ||
| by You to the Licensor shall be under the terms and conditions of | ||
| this License, without any additional terms or conditions. | ||
| Notwithstanding the above, nothing herein shall supersede or modify | ||
| the terms of any separate license agreement you may have executed | ||
| with Licensor regarding such Contributions. | ||
| 6. Trademarks. This License does not grant permission to use the trade | ||
| names, trademarks, service marks, or product names of the Licensor, | ||
| except as required for reasonable and customary use in describing the | ||
| origin of the Work and reproducing the content of the NOTICE file. | ||
| 7. Disclaimer of Warranty. Unless required by applicable law or | ||
| agreed to in writing, Licensor provides the Work (and each | ||
| Contributor provides its Contributions) on an "AS IS" BASIS, | ||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | ||
| implied, including, without limitation, any warranties or conditions | ||
| of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A | ||
| PARTICULAR PURPOSE. You are solely responsible for determining the | ||
| appropriateness of using or redistributing the Work and assume any | ||
| risks associated with Your exercise of permissions under this License. | ||
| 8. Limitation of Liability. In no event and under no legal theory, | ||
| whether in tort (including negligence), contract, or otherwise, | ||
| unless required by applicable law (such as deliberate and grossly | ||
| negligent acts) or agreed to in writing, shall any Contributor be | ||
| liable to You for damages, including any direct, indirect, special, | ||
| incidental, or consequential damages of any character arising as a | ||
| result of this License or out of the use or inability to use the | ||
| Work (including but not limited to damages for loss of goodwill, | ||
| work stoppage, computer failure or malfunction, or any and all | ||
| other commercial damages or losses), even if such Contributor | ||
| has been advised of the possibility of such damages. | ||
| 9. Accepting Warranty or Additional Liability. While redistributing | ||
| the Work or Derivative Works thereof, You may choose to offer, | ||
| and charge a fee for, acceptance of support, warranty, indemnity, | ||
| or other liability obligations and/or rights consistent with this | ||
| License. However, in accepting such obligations, You may act only | ||
| on Your own behalf and on Your sole responsibility, not on behalf | ||
| of any other Contributor, and only if You agree to indemnify, | ||
| defend, and hold each Contributor harmless for any liability | ||
| incurred by, or claims asserted against, such Contributor by reason | ||
| of your accepting any such warranty or additional liability. | ||
| END OF TERMS AND CONDITIONS | ||
| APPENDIX: How to apply the Apache License to your work. | ||
| To apply the Apache License to your work, attach the following | ||
| boilerplate notice, with the fields enclosed by brackets "[]" | ||
| replaced with your own identifying information. (Don't include | ||
| the brackets!) The text should be enclosed in the appropriate | ||
| comment syntax for the file format. We also recommend that a | ||
| file or class name and description of purpose be included on the | ||
| same "printed page" as the copyright notice for easier | ||
| identification within third-party archives. | ||
| Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved. | ||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||
| you may not use this file except in compliance with the License. | ||
| You may obtain a copy of the License at | ||
| http://www.apache.org/licenses/LICENSE-2.0 | ||
| Unless required by applicable law or agreed to in writing, software | ||
| distributed under the License is distributed on an "AS IS" BASIS, | ||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| See the License for the specific language governing permissions and | ||
| limitations under the License. |
| PP-OCRv6 small ONNX model bundle | ||
| PaddleOCR revision: b03f46425e8ff4442b268ce449e3eef758146cd4 | ||
| Detection model revision: 28fe5895c24fd108c19eb3e8479f4ab385fbfc62 | ||
| Recognition model revision: b8f84f0b80c529de40b4fbb3544b84fa7233a513 | ||
| Sources: official PaddlePaddle model ecology archives listed in bundles.lock.json |
| This software is available under 2 licenses -- choose whichever you prefer. | ||
| ------------------------------------------------------------------------------ | ||
| ALTERNATIVE A - MIT License | ||
| Copyright (c) 2017 Sean Barrett | ||
| Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
| this software and associated documentation files (the "Software"), to deal in | ||
| the Software without restriction, including without limitation the rights to | ||
| use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | ||
| of the Software, and to permit persons to whom the Software is furnished to do | ||
| so, subject to the following conditions: | ||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| SOFTWARE. | ||
| ------------------------------------------------------------------------------ | ||
| ALTERNATIVE B - Public Domain (www.unlicense.org) | ||
| This is free and unencumbered software released into the public domain. | ||
| Anyone is free to copy, modify, publish, use, compile, sell, or distribute this | ||
| software, either in source code form or as a compiled binary, for any purpose, | ||
| commercial or non-commercial, and by any means. | ||
| In jurisdictions that recognize copyright laws, the author or authors of this | ||
| software dedicate any and all copyright interest in the software to the public | ||
| domain. We make this dedication for the benefit of the public at large and to | ||
| the detriment of our heirs and successors. We intend this dedication to be an | ||
| overt act of relinquishment in perpetuity of all present and future rights to | ||
| this software under copyright law. | ||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
| ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
| WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
| { | ||
| "addon": { | ||
| "bytes": 3851264, | ||
| "path": "native/light_ocr_node.node", | ||
| "sha256": "d7cd250f01a49f44be30fead97bbc373b4bf83b6e941ba2fe81858440f30fddc" | ||
| }, | ||
| "autoPolicy": { | ||
| "id": "windows-x64-v1", | ||
| "providers": [ | ||
| "webgpu", | ||
| "cpu" | ||
| ], | ||
| "version": 1 | ||
| }, | ||
| "platform": { | ||
| "architecture": "x86_64", | ||
| "id": "windows-x64", | ||
| "os": "win32" | ||
| }, | ||
| "providers": { | ||
| "cpu": { | ||
| "artifacts": [ | ||
| { | ||
| "bytes": 14203464, | ||
| "path": "native/onnxruntime.dll", | ||
| "sha256": "b95efb2113b603bbbf3f191061c5516a871ed546893c820e4f3b7b6c358dbf2a" | ||
| } | ||
| ], | ||
| "qualificationId": "cpu-baseline-v1", | ||
| "runtimeProvider": "CPUExecutionProvider" | ||
| }, | ||
| "webgpu": { | ||
| "artifacts": [ | ||
| { | ||
| "bytes": 8807264, | ||
| "path": "native/onnxruntime_providers_webgpu.dll", | ||
| "sha256": "591e286a211b133e3c4e5c833febf2d594b7b548433a2490407b11b906a9271b" | ||
| }, | ||
| { | ||
| "bytes": 17986360, | ||
| "path": "native/dxcompiler.dll", | ||
| "sha256": "2cec74ef87a1171e4502c7d735169756bf4c528676ea354bfde24b01394965f0" | ||
| }, | ||
| { | ||
| "bytes": 1508664, | ||
| "path": "native/dxil.dll", | ||
| "sha256": "0767448abeade590821e88e56c471e0f2dfe89ec9a7642d08adc3dc94f14ab92" | ||
| } | ||
| ], | ||
| "providerLibrary": { | ||
| "bytes": 8807264, | ||
| "path": "native/onnxruntime_providers_webgpu.dll", | ||
| "sha256": "591e286a211b133e3c4e5c833febf2d594b7b548433a2490407b11b906a9271b" | ||
| }, | ||
| "providerVersion": "0.1.0", | ||
| "qualificationId": "native-webgpu-plugin-0.1.0-ort-1.24.4-dev2", | ||
| "runtimeProvider": "WebGpuExecutionProvider" | ||
| } | ||
| }, | ||
| "qualificationOnly": false, | ||
| "released": true, | ||
| "runtime": { | ||
| "abi": "onnxruntime-c-api-24-plugin-ep-0.1", | ||
| "artifacts": [ | ||
| { | ||
| "bytes": 14203464, | ||
| "path": "native/onnxruntime.dll", | ||
| "sha256": "b95efb2113b603bbbf3f191061c5516a871ed546893c820e4f3b7b6c358dbf2a" | ||
| }, | ||
| { | ||
| "bytes": 8807264, | ||
| "path": "native/onnxruntime_providers_webgpu.dll", | ||
| "sha256": "591e286a211b133e3c4e5c833febf2d594b7b548433a2490407b11b906a9271b" | ||
| }, | ||
| { | ||
| "bytes": 17986360, | ||
| "path": "native/dxcompiler.dll", | ||
| "sha256": "2cec74ef87a1171e4502c7d735169756bf4c528676ea354bfde24b01394965f0" | ||
| }, | ||
| { | ||
| "bytes": 1508664, | ||
| "path": "native/dxil.dll", | ||
| "sha256": "0767448abeade590821e88e56c471e0f2dfe89ec9a7642d08adc3dc94f14ab92" | ||
| } | ||
| ], | ||
| "flavor": "webgpu", | ||
| "kind": "onnxruntime-plugin-webgpu", | ||
| "version": "1.24.4" | ||
| }, | ||
| "schemaVersion": "2.0" | ||
| } |
| light-ocr | ||
| Copyright 2026 light-ocr contributors | ||
| This product includes software developed by the light-ocr contributors. | ||
| Third-party licenses and notices for packaged dependencies and model | ||
| artifacts are distributed with their respective release artifacts. |
| { | ||
| "bugs": { | ||
| "url": "https://github.com/arcships/light-ocr/issues" | ||
| }, | ||
| "cpu": [ | ||
| "x64" | ||
| ], | ||
| "description": "Native windows-x64 runtime for @arcships/light-ocr", | ||
| "engines": { | ||
| "node": "^22.0.0 || ^24.0.0" | ||
| }, | ||
| "exports": { | ||
| ".": "./native/light_ocr_node.node" | ||
| }, | ||
| "files": [ | ||
| "native/", | ||
| "licenses/", | ||
| "license-inventory.json", | ||
| "sbom.spdx.json", | ||
| "artifact-hashes.json", | ||
| "README.md", | ||
| "LICENSE", | ||
| "NOTICE" | ||
| ], | ||
| "homepage": "https://github.com/arcships/light-ocr#readme", | ||
| "license": "Apache-2.0", | ||
| "main": "./native/light_ocr_node.node", | ||
| "name": "@arcships/light-ocr-win32-x64", | ||
| "os": [ | ||
| "win32" | ||
| ], | ||
| "publishConfig": { | ||
| "access": "public", | ||
| "provenance": true | ||
| }, | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "git+https://github.com/arcships/light-ocr.git" | ||
| }, | ||
| "version": "0.3.0" | ||
| } |
| # @arcships/light-ocr-win32-x64 | ||
| The prebuilt windows-x64 native runtime for `@arcships/light-ocr`. | ||
| This is an internal distribution package for `@arcships/light-ocr`. Install | ||
| the facade package instead of depending on this package directly. | ||
| Documentation: https://github.com/arcships/light-ocr | ||
| License: Apache-2.0 |
| {"SPDXID":"SPDXRef-DOCUMENT","creationInfo":{"created":"2026-07-19T16:28:35Z","creators":["Tool: light-ocr-generate-release-metadata/1.0"]},"dataLicense":"CC0-1.0","documentDescribes":["SPDXRef-Package-light-ocr-core"],"documentNamespace":"https://light-ocr.invalid/spdx/766e587012563c72c05419b07c590fe7669732cddd52859f7c21bb7afa5d5b92","name":"light-ocr-core-windows-x64","packages":[{"SPDXID":"SPDXRef-Package-light-ocr-core","copyrightText":"Copyright 2026 light-ocr contributors","downloadLocation":"NOASSERTION","filesAnalyzed":false,"licenseConcluded":"Apache-2.0","licenseDeclared":"Apache-2.0","name":"light-ocr-core","versionInfo":"0.1.0"},{"SPDXID":"SPDXRef-Package-opencv","checksums":[{"algorithm":"SHA256","checksumValue":"b2171af5be6b26f7a06b1229948bbb2bdaa74fcf5cd097e0af6378fce50a6eb9"}],"copyrightText":"NOASSERTION","downloadLocation":"https://codeload.github.com/opencv/opencv/tar.gz/refs/tags/4.10.0","filesAnalyzed":false,"licenseConcluded":"Apache-2.0","licenseDeclared":"Apache-2.0","name":"opencv","versionInfo":"4.10.0"},{"SPDXID":"SPDXRef-Package-opencv-zlib","copyrightText":"NOASSERTION","downloadLocation":"https://codeload.github.com/opencv/opencv/tar.gz/refs/tags/4.10.0","filesAnalyzed":false,"licenseConcluded":"Zlib","licenseDeclared":"Zlib","name":"zlib","versionInfo":"1.3.1"},{"SPDXID":"SPDXRef-Package-opencv-carotene","copyrightText":"NOASSERTION","downloadLocation":"https://codeload.github.com/opencv/opencv/tar.gz/refs/tags/4.10.0","filesAnalyzed":false,"licenseConcluded":"BSD-3-Clause","licenseDeclared":"BSD-3-Clause","name":"carotene","versionInfo":"0.0.1"},{"SPDXID":"SPDXRef-Package-clipper","checksums":[{"algorithm":"SHA256","checksumValue":"2be14496a1609fa8602d9d3672c83ee95d5ef44a08b765a60e65b93a68882ff6"}],"copyrightText":"NOASSERTION","downloadLocation":"https://codeload.github.com/fonttools/pyclipper/tar.gz/refs/tags/1.3.0.post6","filesAnalyzed":false,"licenseConcluded":"BSL-1.0","licenseDeclared":"BSL-1.0","name":"clipper","versionInfo":"6.4.2-pyclipper-1.3.0.post6"},{"SPDXID":"SPDXRef-Package-stb","checksums":[{"algorithm":"SHA256","checksumValue":"e4e3bba9c572a4a4148373a914d88ea0f0d11de8cc2c66739926e7eca0223319"}],"copyrightText":"NOASSERTION","downloadLocation":"https://codeload.github.com/nothings/stb/tar.gz/31c1ad37456438565541f4919958214b6e762fb4","filesAnalyzed":false,"licenseConcluded":"MIT OR Unlicense","licenseDeclared":"MIT OR Unlicense","name":"stb","versionInfo":"31c1ad37456438565541f4919958214b6e762fb4"},{"SPDXID":"SPDXRef-Package-nlohmann-json","checksums":[{"algorithm":"SHA256","checksumValue":"0d8ef5af7f9794e3263480193c491549b2ba6cc74bb018906202ada498a79406"}],"copyrightText":"NOASSERTION","downloadLocation":"https://codeload.github.com/nlohmann/json/tar.gz/refs/tags/v3.11.3","filesAnalyzed":false,"licenseConcluded":"MIT","licenseDeclared":"MIT","name":"nlohmann-json","versionInfo":"3.11.3"},{"SPDXID":"SPDXRef-Package-onnxruntime","checksums":[{"algorithm":"SHA512","checksumValue":"f5dd415dfcafcb3a7461f10a08f0337ea22c1ba8f8af81316daabf7496075add181aecb0de3cabebebdb9f5da3afbe507480aaf34b76e1189409088ccc5c2eac"}],"copyrightText":"NOASSERTION","downloadLocation":"https://api.nuget.org/v3-flatcontainer/microsoft.ml.onnxruntime/1.24.4/microsoft.ml.onnxruntime.1.24.4.nupkg","filesAnalyzed":false,"licenseConcluded":"MIT","licenseDeclared":"MIT","name":"Microsoft.ML.OnnxRuntime","versionInfo":"1.24.4"},{"SPDXID":"SPDXRef-Package-webgpu","checksums":[{"algorithm":"SHA512","checksumValue":"d048cfb4a687d82547338cdf36649c95dfac0a254a752e2e53b5f2faeccfacf4e7b2ed3125e03e5f58bc1c23c6c7cbe356fa513c99b3ad217f491ac1c80bb92a"}],"copyrightText":"NOASSERTION","downloadLocation":"https://api.nuget.org/v3-flatcontainer/microsoft.ml.onnxruntime.ep.webgpu/0.1.0/microsoft.ml.onnxruntime.ep.webgpu.0.1.0.nupkg","filesAnalyzed":false,"licenseConcluded":"MIT","licenseDeclared":"MIT","name":"Microsoft.ML.OnnxRuntime.EP.WebGpu","versionInfo":"0.1.0"},{"SPDXID":"SPDXRef-Package-PP-OCRv6-small-models","checksums":[{"algorithm":"SHA256","checksumValue":"e543b93bc4882f35b1564a71961e5bc55439ede6c2f33b4166acc15e6348712f"}],"copyrightText":"NOASSERTION","downloadLocation":"https://paddle-model-ecology.bj.bcebos.com/paddlex/official_inference_model/paddle3.0.0/PP-OCRv6_small_det_onnx_infer.tar","filesAnalyzed":false,"licenseConcluded":"Apache-2.0","licenseDeclared":"Apache-2.0","name":"PP-OCRv6-small-ONNX-models","versionInfo":"ppocrv6-small-onnx-20260714.2"}],"relationships":[{"relatedSpdxElement":"SPDXRef-Package-opencv","relationshipType":"DEPENDS_ON","spdxElementId":"SPDXRef-Package-light-ocr-core"},{"relatedSpdxElement":"SPDXRef-Package-opencv-zlib","relationshipType":"CONTAINS","spdxElementId":"SPDXRef-Package-opencv"},{"relatedSpdxElement":"SPDXRef-Package-opencv-carotene","relationshipType":"CONTAINS","spdxElementId":"SPDXRef-Package-opencv"},{"relatedSpdxElement":"SPDXRef-Package-clipper","relationshipType":"DEPENDS_ON","spdxElementId":"SPDXRef-Package-light-ocr-core"},{"relatedSpdxElement":"SPDXRef-Package-stb","relationshipType":"DEPENDS_ON","spdxElementId":"SPDXRef-Package-light-ocr-core"},{"relatedSpdxElement":"SPDXRef-Package-nlohmann-json","relationshipType":"DEPENDS_ON","spdxElementId":"SPDXRef-Package-light-ocr-core"},{"relatedSpdxElement":"SPDXRef-Package-onnxruntime","relationshipType":"DEPENDS_ON","spdxElementId":"SPDXRef-Package-light-ocr-core"},{"relatedSpdxElement":"SPDXRef-Package-webgpu","relationshipType":"DEPENDS_ON","spdxElementId":"SPDXRef-Package-light-ocr-core"},{"relatedSpdxElement":"SPDXRef-Package-PP-OCRv6-small-models","relationshipType":"DEPENDS_ON","spdxElementId":"SPDXRef-Package-light-ocr-core"}],"spdxVersion":"SPDX-2.3"} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
| { | ||
| "fileFormatVersion": "1.0.0", | ||
| "itemInfoEntries": { | ||
| "4C7BFFE9-49CB-5331-B8A4-17D71E6C1876": { | ||
| "author": "com.apple.CoreML", | ||
| "description": "CoreML Model Specification", | ||
| "name": "model.mlmodel", | ||
| "path": "com.apple.CoreML/model.mlmodel" | ||
| }, | ||
| "736C932B-3BC1-582F-B930-BD3B464D1CC3": { | ||
| "author": "com.apple.CoreML", | ||
| "description": "CoreML Model Weights", | ||
| "name": "weights", | ||
| "path": "com.apple.CoreML/weights" | ||
| } | ||
| }, | ||
| "rootModelIdentifier": "4C7BFFE9-49CB-5331-B8A4-17D71E6C1876" | ||
| } |
| { | ||
| "artifactId": "apple-fp16-20260715.1", | ||
| "conversion": { | ||
| "coremltools": "9.0", | ||
| "minimumMacOS": "15.0", | ||
| "onnx": "1.18.0", | ||
| "onnx2torch": "1.5.15", | ||
| "precision": "fp16", | ||
| "torch": "2.7.0" | ||
| }, | ||
| "detection": { | ||
| "inputName": "x", | ||
| "modelId": "PP-OCRv6_small_det_coreml_fp16_range_v1", | ||
| "outputName": "var_1524", | ||
| "package": "detector-fp16.mlpackage", | ||
| "packageSha256": "2097bd785947c6bc239bfcb27599362c48ec78bab72f439583e41a585b727f76", | ||
| "shapePolicy": "nchw-bounded-range-32-960-v1" | ||
| }, | ||
| "recognition": { | ||
| "functionFormat": "w%04u", | ||
| "inputName": "x", | ||
| "modelId": "PP-OCRv6_small_rec_coreml_fp16_w32_v1", | ||
| "outputName": "var_2113", | ||
| "package": "recognizer-fp16.mlpackage", | ||
| "packageSha256": "c54a0719cbde2d93e65eb40dd01fff5b78373b5aaaaa648fee614d3ef3615f4b", | ||
| "shapePolicy": "nchw-static-width-multiple-32-v1", | ||
| "widths": [ | ||
| 320, | ||
| 352, | ||
| 384, | ||
| 416, | ||
| 448, | ||
| 480, | ||
| 512, | ||
| 544, | ||
| 576, | ||
| 608, | ||
| 640, | ||
| 672, | ||
| 704, | ||
| 736, | ||
| 768, | ||
| 800, | ||
| 832, | ||
| 864, | ||
| 896, | ||
| 928, | ||
| 960, | ||
| 992, | ||
| 1024, | ||
| 1056, | ||
| 1088, | ||
| 1120, | ||
| 1152, | ||
| 1184, | ||
| 1216, | ||
| 1248, | ||
| 1280, | ||
| 1312, | ||
| 1344, | ||
| 1376, | ||
| 1408, | ||
| 1440, | ||
| 1472, | ||
| 1504, | ||
| 1536, | ||
| 1568, | ||
| 1600, | ||
| 1632, | ||
| 1664, | ||
| 1696, | ||
| 1728, | ||
| 1760, | ||
| 1792, | ||
| 1824, | ||
| 1856, | ||
| 1888, | ||
| 1920, | ||
| 1952, | ||
| 1984, | ||
| 2016, | ||
| 2048, | ||
| 2080, | ||
| 2112, | ||
| 2144, | ||
| 2176, | ||
| 2208, | ||
| 2240, | ||
| 2272, | ||
| 2304, | ||
| 2336, | ||
| 2368, | ||
| 2400, | ||
| 2432, | ||
| 2464, | ||
| 2496, | ||
| 2528, | ||
| 2560, | ||
| 2592, | ||
| 2624, | ||
| 2656, | ||
| 2688, | ||
| 2720, | ||
| 2752, | ||
| 2784, | ||
| 2816, | ||
| 2848, | ||
| 2880, | ||
| 2912, | ||
| 2944, | ||
| 2976, | ||
| 3008, | ||
| 3040, | ||
| 3072, | ||
| 3104, | ||
| 3136, | ||
| 3168, | ||
| 3200 | ||
| ] | ||
| }, | ||
| "schemaVersion": "1.0", | ||
| "source": { | ||
| "bundleId": "ppocrv6-small-onnx-20260714.2", | ||
| "detectionSha256": "d73e0058b7a8086bbd57f3d10b8bcd4ff95363f67e06e2762b5e814fe9c9410e", | ||
| "recognitionSha256": "5435fd747c9e0efe15a96d0b378d5bd157e9492ed8fd80edf08f30d02fa24634" | ||
| } | ||
| } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
| { | ||
| "fileFormatVersion": "1.0.0", | ||
| "itemInfoEntries": { | ||
| "4C7BFFE9-49CB-5331-B8A4-17D71E6C1876": { | ||
| "author": "com.apple.CoreML", | ||
| "description": "CoreML Model Specification", | ||
| "name": "model.mlmodel", | ||
| "path": "com.apple.CoreML/model.mlmodel" | ||
| }, | ||
| "736C932B-3BC1-582F-B930-BD3B464D1CC3": { | ||
| "author": "com.apple.CoreML", | ||
| "description": "CoreML Model Weights", | ||
| "name": "weights", | ||
| "path": "com.apple.CoreML/weights" | ||
| } | ||
| }, | ||
| "rootModelIdentifier": "4C7BFFE9-49CB-5331-B8A4-17D71E6C1876" | ||
| } |
Sorry, the diff of this file is not supported yet
| {"artifactId":"webgpu-fp16-20260719.1","conversionId":"onnxruntime-float16-1.24.4-20260719.1","converter":{"disableShapeInfer":false,"forceFp16Initializers":false,"keepIoTypes":false,"maxFiniteValue":65504.0,"minPositiveValue":5.96e-08,"name":"onnxruntime.transformers.float16.convert_float_to_float16","onnxVersion":"1.18.0","onnxruntimeVersion":"1.24.4","opBlockList":["ArrayFeatureExtractor","Binarizer","CastMap","CategoryMapper","DictVectorizer","FeatureVectorizer","Imputer","LabelEncoder","LinearClassifier","LinearRegressor","Normalizer","OneHotEncoder","RandomUniformLike","SVMClassifier","SVMRegressor","Scaler","TreeEnsembleClassifier","TreeEnsembleRegressor","TreeEnsemble","ZipMap","NonMaxSuppression","TopK","RoiAlign","Range","CumSum","Min","Max","Upsample"]},"models":{"detection":{"graphInputs":["x"],"graphIoType":"float16","graphOutputs":["fetch_name_0"],"initializerTypes":{"float":3,"float16":166},"nodes":242,"output":{"bytes":4973761,"path":"det/inference.onnx","sha256":"2f0463ba51af55a9f49cae1f18cf905c578d4752236c30456325c817d8e47a1b"},"source":{"bytes":9880512,"path":"det/inference.onnx","sha256":"d73e0058b7a8086bbd57f3d10b8bcd4ff95363f67e06e2762b5e814fe9c9410e"}},"recognition":{"graphInputs":["x"],"graphIoType":"float16","graphOutputs":["fetch_name_0"],"initializerTypes":{"float16":202,"int64":39},"nodes":481,"output":{"bytes":10624002,"path":"rec/inference.onnx","sha256":"f6ee9c86013fdd02cf9dfdf311813e1f2fe56e83d2b5f12994617dfa05d3b9cb"},"source":{"bytes":21159378,"path":"rec/inference.onnx","sha256":"5435fd747c9e0efe15a96d0b378d5bd157e9492ed8fd80edf08f30d02fa24634"}}},"runtimeContract":{"cpuPartition":"allow-required","graphOptimizationLevel":"extended","precision":"fp16","requiredCpuOperators":["Concat","Gather","Slice"]},"schemaVersion":"1.0"} |
Sorry, the diff of this file is not supported yet
| MIT License | ||
| Copyright (c) Microsoft Corporation | ||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of this software and associated documentation files (the "Software"), to deal | ||
| in the Software without restriction, including without limitation the rights | ||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| copies of the Software, and to permit persons to whom the Software is | ||
| furnished to do so, subject to the following conditions: | ||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| SOFTWARE. |
Sorry, the diff of this file is too big to display
| This software is available under 2 licenses -- choose whichever you prefer. | ||
| ------------------------------------------------------------------------------ | ||
| ALTERNATIVE A - MIT License | ||
| Copyright (c) 2017 Sean Barrett | ||
| Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
| this software and associated documentation files (the "Software"), to deal in | ||
| the Software without restriction, including without limitation the rights to | ||
| use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | ||
| of the Software, and to permit persons to whom the Software is furnished to do | ||
| so, subject to the following conditions: | ||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| SOFTWARE. | ||
| ------------------------------------------------------------------------------ | ||
| ALTERNATIVE B - Public Domain (www.unlicense.org) | ||
| This is free and unencumbered software released into the public domain. | ||
| Anyone is free to copy, modify, publish, use, compile, sell, or distribute this | ||
| software, either in source code form or as a compiled binary, for any purpose, | ||
| commercial or non-commercial, and by any means. | ||
| In jurisdictions that recognize copyright laws, the author or authors of this | ||
| software dedicate any and all copyright interest in the software to the public | ||
| domain. We make this dedication for the benefit of the public at large and to | ||
| the detriment of our heirs and successors. We intend this dedication to be an | ||
| overt act of relinquishment in perpetuity of all present and future rights to | ||
| this software under copyright law. | ||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
| ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
| WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
@@ -10,3 +10,6 @@ 'use strict'; | ||
| const MODEL_PACKAGE = '@arcships/light-ocr-model-ppocrv6-small'; | ||
| const EXPECTED_BUNDLE_ID = 'ppocrv6-small-onnx-20260714.1'; | ||
| const CPU_BUNDLE_ID = 'ppocrv6-small-onnx-20260714.2'; | ||
| const APPLE_BUNDLE_ID = 'ppocrv6-small-apple-20260715.1'; | ||
| const WEBGPU_BUNDLE_ID = 'ppocrv6-small-webgpu-20260719.1'; | ||
| const NATIVE_BUNDLE_ID = 'ppocrv6-small-native-20260719.1'; | ||
@@ -53,3 +56,3 @@ class OcrError extends Error { | ||
| function resolveBuiltInBundle(model) { | ||
| function resolveBuiltInBundle(model, requireApple) { | ||
| if (model !== DEFAULT_MODEL) { | ||
@@ -81,7 +84,10 @@ throw new OcrError( | ||
| } | ||
| if (manifest.bundleId !== EXPECTED_BUNDLE_ID) { | ||
| const compatibleBundleIds = requireApple | ||
| ? [APPLE_BUNDLE_ID, NATIVE_BUNDLE_ID] | ||
| : [CPU_BUNDLE_ID, APPLE_BUNDLE_ID, WEBGPU_BUNDLE_ID, NATIVE_BUNDLE_ID]; | ||
| if (!compatibleBundleIds.includes(manifest.bundleId)) { | ||
| throw new OcrError( | ||
| 'package_load_failed', | ||
| 'The installed model package is incompatible with this light-ocr release', | ||
| `expected ${EXPECTED_BUNDLE_ID}, received ${String(manifest.bundleId)}`, | ||
| `expected ${compatibleBundleIds.join(' or ')}, received ${String(manifest.bundleId)}`, | ||
| ); | ||
@@ -107,3 +113,4 @@ } | ||
| const model = hasModel ? options.model : DEFAULT_MODEL; | ||
| const resolved = { ...options, bundlePath: resolveBuiltInBundle(model) }; | ||
| const requireApple = options.execution?.provider === 'apple'; | ||
| const resolved = { ...options, bundlePath: resolveBuiltInBundle(model, requireApple) }; | ||
| delete resolved.model; | ||
@@ -124,2 +131,10 @@ return resolved; | ||
| recognize(image, options = {}) { | ||
| return this.#recognize('recognize', image, options); | ||
| } | ||
| recognizeEncoded(data, options = {}) { | ||
| return this.#recognize('recognizeEncoded', data, options); | ||
| } | ||
| #recognize(nativeMethod, image, options) { | ||
| let signal; | ||
@@ -144,3 +159,3 @@ let nativeOptions; | ||
| try { | ||
| operation = this.#native.recognize(image, nativeOptions); | ||
| operation = this.#native[nativeMethod](image, nativeOptions); | ||
| } catch (error) { | ||
@@ -197,3 +212,3 @@ return Promise.reject(normalizeNativeError(error)); | ||
| let binding; | ||
| let nativeRuntime; | ||
@@ -203,4 +218,7 @@ async function createEngine(options) { | ||
| const resolvedOptions = resolveCreateOptions(options); | ||
| if (!binding) binding = loadNative(); | ||
| const nativeEngine = await binding.createEngine(resolvedOptions); | ||
| if (!nativeRuntime) nativeRuntime = loadNative(); | ||
| const nativeEngine = await nativeRuntime.binding.createEngine( | ||
| resolvedOptions, | ||
| nativeRuntime.runtimePolicy, | ||
| ); | ||
| return new OcrEngineImpl(nativeEngine); | ||
@@ -207,0 +225,0 @@ } catch (error) { |
| /// <reference types="node" /> | ||
| export type PixelFormat = 'gray8' | 'rgb8' | 'bgr8' | 'rgba8'; | ||
| export type DetectionStrategy = 'bounded' | 'upstreamExact'; | ||
| export type DetectionStrategy = 'bounded' | 'tiled' | 'upstreamExact'; | ||
| export type BuiltInModel = 'ppocrv6-small'; | ||
| export type ExecutionProvider = 'auto' | 'cpu' | 'apple' | 'webgpu'; | ||
| export type SessionFallback = 'error' | 'cpu'; | ||
| export type CpuPartition = 'allow' | 'forbid'; | ||
| export type PerformanceHint = 'latency' | 'throughput'; | ||
| /** WebGPU accepts auto/fp32; fp16 is reserved for the Apple provider. */ | ||
| export type Precision = 'auto' | 'fp32' | 'fp16'; | ||
@@ -12,2 +18,12 @@ export interface DetectionOptions { | ||
| export interface ExecutionOptions { | ||
| /** Only providers shipped and qualified by this release appear in this union. */ | ||
| readonly provider?: ExecutionProvider; | ||
| readonly sessionFallback?: SessionFallback; | ||
| readonly cpuPartition?: CpuPartition; | ||
| readonly deviceId?: number; | ||
| readonly performanceHint?: PerformanceHint; | ||
| readonly precision?: Precision; | ||
| } | ||
| export interface RawImage { | ||
@@ -27,2 +43,3 @@ readonly data: Uint8Array; | ||
| readonly maxDetectionCandidates: number; | ||
| readonly maxDetectionTiles: number; | ||
| readonly maxRecognitionBatchSize: number; | ||
@@ -40,6 +57,10 @@ readonly maxRecognitionWidth: number; | ||
| readonly recognitionBatchSize?: number; | ||
| readonly reducedLimits?: ResourceLimits; | ||
| readonly reducedLimits?: Omit<ResourceLimits, 'maxDetectionTiles'> & { | ||
| /** Omission preserves the 0.1 reducedLimits source shape. */ | ||
| readonly maxDetectionTiles?: number; | ||
| }; | ||
| readonly queueCapacity?: number; | ||
| readonly maxPendingInputBytes?: number; | ||
| readonly detection?: DetectionOptions; | ||
| readonly execution?: ExecutionOptions; | ||
| } | ||
@@ -69,3 +90,17 @@ | ||
| readonly width: number; | ||
| readonly computeUnit: 'cpu' | 'ane' | 'gpu'; | ||
| readonly modelId: string; | ||
| readonly shapeBucket: string; | ||
| } | ||
| export interface DetectionPassShape { | ||
| readonly tileOrdinal: number; | ||
| readonly x: number; | ||
| readonly y: number; | ||
| readonly width: number; | ||
| readonly height: number; | ||
| readonly tensorWidth: number; | ||
| readonly tensorHeight: number; | ||
| readonly contourCandidates: number; | ||
| readonly rawCandidates: number; | ||
| } | ||
| export interface Diagnostics { | ||
@@ -78,2 +113,6 @@ readonly rejectedLines: readonly RejectedLine[]; | ||
| readonly detectionInputHeight: number; | ||
| readonly rawDetectionBoxes: number; | ||
| readonly suppressedDuplicateBoxes: number; | ||
| readonly maxLiveDetectionPassBuffers: number; | ||
| readonly detectionPasses: readonly DetectionPassShape[]; | ||
| readonly recognitionBatchShapes: readonly RecognitionBatchShape[]; | ||
@@ -83,2 +122,3 @@ } | ||
| readonly total: number; | ||
| readonly decode: number; | ||
| readonly inputValidation: number; | ||
@@ -88,2 +128,3 @@ readonly detectionPreprocess: number; | ||
| readonly detectionPostprocess: number; | ||
| readonly detectionMerge: number; | ||
| readonly cropAndSort: number; | ||
@@ -102,2 +143,71 @@ readonly recognitionPreprocess: number; | ||
| } | ||
| export interface TiledDetectionInfo { | ||
| readonly contractVersion: 'tiled-v1'; | ||
| readonly tileSide: 1280; | ||
| readonly minimumOverlap: 128; | ||
| readonly artificialBoundaryMargin: 32; | ||
| readonly mergeIouThreshold: 0.5; | ||
| readonly mergeIosThreshold: 0.8; | ||
| } | ||
| export interface ProviderCapabilityInfo { | ||
| readonly provider: string; | ||
| readonly packageIncluded: boolean; | ||
| readonly deviceAvailable: boolean; | ||
| /** True only when this exact hardware family has reviewed qualification evidence. */ | ||
| readonly deviceValidated: boolean; | ||
| } | ||
| export interface SessionExecutionInfo { | ||
| readonly requestedProvider: string; | ||
| readonly actualProviderChain: readonly string[]; | ||
| readonly device: string; | ||
| readonly deviceFamily: string; | ||
| readonly operatingSystem: string; | ||
| readonly precision: string; | ||
| readonly shapePolicy: string; | ||
| readonly modelId: string; | ||
| readonly modelSha256: string; | ||
| readonly runtime: string; | ||
| readonly runtimeVersion: string; | ||
| readonly providerVersion: string; | ||
| readonly modelCacheStatus: string; | ||
| readonly qualificationId: string; | ||
| /** False means the open macOS compatibility path is experimental on this device. */ | ||
| readonly deviceValidated: boolean; | ||
| readonly sessionFallback: boolean; | ||
| readonly fallbackReason?: string; | ||
| } | ||
| export type CreationReason = | ||
| | 'adapter_unavailable' | 'model_compute_unsupported' | ||
| | 'device_memory_insufficient' | 'driver_version_unsupported' | ||
| | 'package_corrupt' | 'artifact_hash_mismatch' | 'provider_abi_mismatch' | ||
| | 'internal_assertion_failed' | 'unrecoverable_load_failed'; | ||
| export type CreationAttemptStatus = 'selected' | 'skipped' | 'fatal'; | ||
| export interface CreationAttempt { | ||
| readonly provider: string; | ||
| readonly status: CreationAttemptStatus; | ||
| readonly creationReason?: CreationReason; | ||
| readonly errorCode?: CoreErrorCode; | ||
| } | ||
| export interface CreationTrace { | ||
| readonly requestedProvider: string; | ||
| readonly policyId?: string; | ||
| readonly policyVersion?: number; | ||
| readonly orderedCandidates: readonly string[]; | ||
| readonly attempts: readonly CreationAttempt[]; | ||
| readonly selectedProvider?: string; | ||
| } | ||
| export interface ExecutionInfo { | ||
| readonly requestedProvider: ExecutionProvider; | ||
| readonly sessionFallback: SessionFallback; | ||
| readonly cpuPartition: CpuPartition; | ||
| readonly deviceId?: number; | ||
| readonly performanceHint: PerformanceHint; | ||
| readonly requestedPrecision: Precision; | ||
| readonly providerCapabilities: readonly ProviderCapabilityInfo[]; | ||
| readonly selectionTrace: CreationTrace; | ||
| readonly sessions: { | ||
| readonly detection: SessionExecutionInfo; | ||
| readonly recognition: SessionExecutionInfo; | ||
| }; | ||
| } | ||
| export interface EngineInfo { | ||
@@ -107,4 +217,7 @@ readonly coreVersion: string; | ||
| readonly modelBundleSchemaVersion: string; | ||
| readonly normalizedConfigSchemaVersion: string; | ||
| readonly backend: string; | ||
| /** @deprecated Use execution.sessions for stage-specific provider details. */ | ||
| readonly executionProvider: string; | ||
| readonly execution: ExecutionInfo; | ||
| readonly capabilities: { | ||
@@ -114,2 +227,3 @@ readonly detection: boolean; | ||
| readonly textlineOrientation: boolean; | ||
| readonly tiledDetection: boolean; | ||
| }; | ||
@@ -122,2 +236,3 @@ readonly concurrencyMode: 'serialized_reject_when_busy'; | ||
| readonly detectionMaxSide: number; | ||
| readonly tiledDetection?: TiledDetectionInfo; | ||
| readonly defaultRecognitionScoreThreshold: number; | ||
@@ -148,2 +263,3 @@ readonly defaultRecognitionBatchSize: number; | ||
| readonly detail?: string; | ||
| readonly creationTrace?: CreationTrace; | ||
| } | ||
@@ -154,2 +270,3 @@ | ||
| recognize(image: RawImage, options?: RecognizeOptions): Promise<OcrResult>; | ||
| recognizeEncoded(data: Uint8Array, options?: RecognizeOptions): Promise<OcrResult>; | ||
| close(): Promise<void>; | ||
@@ -156,0 +273,0 @@ } |
| 'use strict'; | ||
| const crypto = require('node:crypto'); | ||
| const fs = require('node:fs'); | ||
| const path = require('node:path'); | ||
| function candidatePaths() { | ||
| const candidates = []; | ||
| if (process.env.LIGHT_OCR_NODE_BINARY) { | ||
| candidates.push(path.resolve(process.env.LIGHT_OCR_NODE_BINARY)); | ||
| } | ||
| candidates.push(path.join(__dirname, 'native', 'light_ocr_node.node')); | ||
| candidates.push( | ||
| path.join( | ||
| __dirname, | ||
| '..', | ||
| 'prebuilds', | ||
| `${process.platform}-${process.arch}`, | ||
| 'light_ocr_node.node', | ||
| ), | ||
| ); | ||
| return candidates; | ||
| } | ||
| function adapterError(code, message, detail, cause) { | ||
@@ -32,8 +15,8 @@ const error = new Error(message, cause === undefined ? undefined : { cause }); | ||
| function platformPackage() { | ||
| function platformIdentity() { | ||
| const key = `${process.platform}-${process.arch}`; | ||
| const packages = { | ||
| 'darwin-arm64': '@arcships/light-ocr-darwin-arm64', | ||
| 'darwin-x64': '@arcships/light-ocr-darwin-x64', | ||
| 'win32-x64': '@arcships/light-ocr-win32-x64', | ||
| const identities = { | ||
| 'darwin-arm64': { id: 'macos-arm64', os: 'darwin', architecture: 'arm64' }, | ||
| 'darwin-x64': { id: 'macos-x64', os: 'darwin', architecture: 'x86_64' }, | ||
| 'win32-x64': { id: 'windows-x64', os: 'win32', architecture: 'x86_64' }, | ||
| }; | ||
@@ -43,3 +26,3 @@ if (key === 'linux-x64') { | ||
| if (report?.header?.glibcVersionRuntime) { | ||
| return '@arcships/light-ocr-linux-x64-gnu'; | ||
| return { id: 'linux-x64', os: 'linux', architecture: 'x86_64', libc: 'glibc' }; | ||
| } | ||
@@ -49,35 +32,457 @@ throw adapterError( | ||
| 'light-ocr currently supports Linux x64 with glibc only', | ||
| `${process.platform}-${process.arch}`, | ||
| ); | ||
| } | ||
| const packageName = packages[key]; | ||
| if (!packageName) { | ||
| throw adapterError( | ||
| 'unsupported_platform', | ||
| `light-ocr does not support ${key}`, | ||
| key, | ||
| ); | ||
| } | ||
| return packageName; | ||
| const identity = identities[key]; | ||
| if (!identity) { | ||
| throw adapterError('unsupported_platform', `light-ocr does not support ${key}`, key); | ||
| } | ||
| return identity; | ||
| } | ||
| function loadNative() { | ||
| const candidates = candidatePaths(); | ||
| const binary = candidates.find((candidate) => fs.existsSync(candidate)); | ||
| if (binary) return require(binary); | ||
| function platformPackage() { | ||
| const packages = { | ||
| 'macos-arm64': '@arcships/light-ocr-darwin-arm64', | ||
| 'macos-x64': '@arcships/light-ocr-darwin-x64', | ||
| 'windows-x64': '@arcships/light-ocr-win32-x64', | ||
| 'linux-x64': '@arcships/light-ocr-linux-x64-gnu', | ||
| }; | ||
| return packages[platformIdentity().id]; | ||
| } | ||
| const packageName = platformPackage(); | ||
| function exactKeys(value, expected, field) { | ||
| if (!value || typeof value !== 'object' || Array.isArray(value)) { | ||
| throw adapterError('package_load_failed', `${field} must be an object`); | ||
| } | ||
| const actual = Object.keys(value).sort(); | ||
| const wanted = [...expected].sort(); | ||
| if (actual.length !== wanted.length || actual.some((key, index) => key !== wanted[index])) { | ||
| throw adapterError('package_load_failed', `${field} fields are invalid`); | ||
| } | ||
| } | ||
| function safeArtifactPath(root, value, field) { | ||
| if (typeof value !== 'string' || value === '' || value.includes('\0')) { | ||
| throw adapterError('package_load_failed', `${field} must be a package-relative path`); | ||
| } | ||
| const normalized = value.replaceAll('\\', '/'); | ||
| if ( | ||
| path.posix.isAbsolute(normalized) || | ||
| /^[A-Za-z]:/.test(normalized) || | ||
| normalized.split('/').some((part) => part === '..' || part === '' || part === '.') | ||
| ) { | ||
| throw adapterError('package_load_failed', `${field} escapes the native package`, value); | ||
| } | ||
| const resolved = path.resolve(root, ...normalized.split('/')); | ||
| const relative = path.relative(path.resolve(root), resolved); | ||
| if (relative.startsWith('..') || path.isAbsolute(relative)) { | ||
| throw adapterError('package_load_failed', `${field} escapes the native package`, value); | ||
| } | ||
| return resolved; | ||
| } | ||
| function sha256(filename) { | ||
| return crypto.createHash('sha256').update(fs.readFileSync(filename)).digest('hex'); | ||
| } | ||
| function verifyArtifact(root, artifact, field) { | ||
| exactKeys(artifact, ['path', 'bytes', 'sha256'], field); | ||
| const filename = safeArtifactPath(root, artifact.path, `${field}.path`); | ||
| let stats; | ||
| try { | ||
| return require(packageName); | ||
| stats = fs.lstatSync(filename); | ||
| } catch (cause) { | ||
| throw adapterError('package_load_failed', 'Descriptor artifact is missing', artifact.path, cause); | ||
| } | ||
| if (!stats.isFile() || stats.isSymbolicLink()) { | ||
| throw adapterError('package_load_failed', 'Descriptor artifact is not a regular file', artifact.path); | ||
| } | ||
| if (!Number.isSafeInteger(artifact.bytes) || artifact.bytes < 1 || stats.size !== artifact.bytes) { | ||
| throw adapterError('package_load_failed', 'Descriptor artifact byte count mismatch', artifact.path); | ||
| } | ||
| if (!/^[a-f0-9]{64}$/.test(artifact.sha256 || '') || sha256(filename) !== artifact.sha256) { | ||
| throw adapterError('package_load_failed', 'Descriptor artifact hash mismatch', artifact.path); | ||
| } | ||
| return filename; | ||
| } | ||
| function sameArtifact(left, right) { | ||
| return left?.path === right?.path && left?.bytes === right?.bytes && | ||
| left?.sha256 === right?.sha256; | ||
| } | ||
| function validateRuntimeDescriptor(descriptorPath) { | ||
| const absoluteDescriptor = path.resolve(descriptorPath); | ||
| const nativeDirectory = path.dirname(absoluteDescriptor); | ||
| if ( | ||
| path.basename(absoluteDescriptor) !== 'runtime-descriptor.json' || | ||
| path.basename(nativeDirectory) !== 'native' | ||
| ) { | ||
| throw adapterError( | ||
| 'package_load_failed', | ||
| `Unable to load ${packageName}`, | ||
| 'Reinstall @arcships/light-ocr without --omit=optional and verify that the ' + | ||
| 'current platform is supported.', | ||
| 'Native runtime descriptor must use the package native/runtime-descriptor.json path', | ||
| absoluteDescriptor, | ||
| ); | ||
| } | ||
| let descriptor; | ||
| try { | ||
| const nativeStats = fs.lstatSync(nativeDirectory); | ||
| if (!nativeStats.isDirectory() || nativeStats.isSymbolicLink()) { | ||
| throw new Error('native payload root is not a regular directory'); | ||
| } | ||
| const stats = fs.lstatSync(absoluteDescriptor); | ||
| if (!stats.isFile() || stats.isSymbolicLink()) throw new Error('not a regular file'); | ||
| descriptor = JSON.parse(fs.readFileSync(absoluteDescriptor, 'utf8')); | ||
| } catch (cause) { | ||
| throw adapterError( | ||
| 'package_load_failed', | ||
| 'Unable to read the native runtime descriptor', | ||
| absoluteDescriptor, | ||
| cause, | ||
| ); | ||
| } | ||
| exactKeys( | ||
| descriptor, | ||
| ['schemaVersion', 'platform', 'runtime', 'qualificationOnly', 'released', | ||
| 'autoPolicy', 'providers', 'addon'], | ||
| 'runtime descriptor', | ||
| ); | ||
| if (descriptor.schemaVersion !== '2.0') { | ||
| throw adapterError('package_load_failed', 'Unsupported native runtime descriptor schema'); | ||
| } | ||
| const root = path.dirname(path.dirname(absoluteDescriptor)); | ||
| const expected = platformIdentity(); | ||
| const expectedPlatformKeys = expected.libc | ||
| ? ['id', 'os', 'architecture', 'libc'] | ||
| : ['id', 'os', 'architecture']; | ||
| exactKeys(descriptor.platform, expectedPlatformKeys, 'platform'); | ||
| const actual = descriptor.platform; | ||
| if ( | ||
| actual.id !== expected.id || | ||
| actual.os !== expected.os || | ||
| actual.architecture !== expected.architecture || | ||
| (expected.libc && actual.libc !== expected.libc) | ||
| ) { | ||
| throw adapterError('package_load_failed', 'Native runtime descriptor platform mismatch'); | ||
| } | ||
| if ( | ||
| typeof descriptor.released !== 'boolean' || | ||
| typeof descriptor.qualificationOnly !== 'boolean' || | ||
| descriptor.qualificationOnly === descriptor.released | ||
| ) { | ||
| throw adapterError('package_load_failed', 'Native runtime descriptor release flags are invalid'); | ||
| } | ||
| exactKeys(descriptor.autoPolicy, ['id', 'version', 'providers'], 'autoPolicy'); | ||
| const policy = descriptor.autoPolicy; | ||
| if ( | ||
| typeof policy.id !== 'string' || policy.id === '' || | ||
| !Number.isSafeInteger(policy.version) || policy.version < 1 || policy.version > 0xffffffff || | ||
| !Array.isArray(policy.providers) || policy.providers.length === 0 || | ||
| policy.providers.length > 3 || policy.providers.at(-1) !== 'cpu' || | ||
| new Set(policy.providers).size !== policy.providers.length | ||
| ) { | ||
| throw adapterError('package_load_failed', 'Native runtime descriptor Auto policy is invalid'); | ||
| } | ||
| exactKeys(descriptor.runtime, ['flavor', 'kind', 'version', 'abi', 'artifacts'], 'runtime'); | ||
| const runtime = descriptor.runtime; | ||
| const expectedRuntimes = { | ||
| cpu: { kind: 'onnxruntime-cpu', version: '1.22.0', abi: 'onnxruntime-c-api-22' }, | ||
| webgpu: { | ||
| kind: 'onnxruntime-plugin-webgpu', | ||
| version: '1.24.4', | ||
| abi: 'onnxruntime-c-api-24-plugin-ep-0.1', | ||
| }, | ||
| }; | ||
| const expectedRuntime = expectedRuntimes[runtime.flavor]; | ||
| if ( | ||
| !expectedRuntime || runtime.kind !== expectedRuntime.kind || | ||
| runtime.version !== expectedRuntime.version || runtime.abi !== expectedRuntime.abi || | ||
| !Array.isArray(runtime.artifacts) || runtime.artifacts.length === 0 | ||
| ) { | ||
| throw adapterError('package_load_failed', 'Native runtime descriptor ABI identity is invalid'); | ||
| } | ||
| if (runtime.flavor === 'webgpu' && !['linux', 'win32'].includes(actual.os)) { | ||
| throw adapterError('package_load_failed', 'WebGPU runtime is not supported on this platform'); | ||
| } | ||
| if (runtime.flavor !== 'webgpu' && descriptor.qualificationOnly) { | ||
| throw adapterError('package_load_failed', 'CPU runtime cannot be qualification-only'); | ||
| } | ||
| const addon = verifyArtifact(root, descriptor.addon, 'addon'); | ||
| const runtimePaths = new Set(); | ||
| const verifiedRuntime = new Map(); | ||
| runtime.artifacts.forEach((artifact, index) => { | ||
| const filename = verifyArtifact(root, artifact, `runtime.artifacts[${index}]`); | ||
| if (runtimePaths.has(artifact.path)) { | ||
| throw adapterError('package_load_failed', 'Runtime artifact inventory contains a duplicate path'); | ||
| } | ||
| runtimePaths.add(artifact.path); | ||
| verifiedRuntime.set(artifact.path, filename); | ||
| }); | ||
| exactKeys(descriptor.providers, Object.keys(descriptor.providers), 'providers'); | ||
| const availableProviders = Object.keys(descriptor.providers); | ||
| if ( | ||
| availableProviders.length === 0 || | ||
| new Set(availableProviders).size !== availableProviders.length || | ||
| availableProviders.some((provider) => !['cpu', 'apple', 'webgpu'].includes(provider)) || | ||
| !descriptor.providers.cpu | ||
| ) { | ||
| throw adapterError('package_load_failed', 'Native runtime descriptor provider policy is invalid'); | ||
| } | ||
| let webgpuLibrary = ''; | ||
| let webgpuProviderBytes = 0; | ||
| let webgpuProviderSha256 = ''; | ||
| for (const [providerId, provider] of Object.entries(descriptor.providers)) { | ||
| const expectedKeys = providerId === 'webgpu' | ||
| ? ['runtimeProvider', 'providerVersion', 'qualificationId', 'providerLibrary', 'artifacts'] | ||
| : ['runtimeProvider', 'qualificationId', 'artifacts']; | ||
| exactKeys(provider, expectedKeys, `providers.${providerId}`); | ||
| if ( | ||
| typeof provider.qualificationId !== 'string' || provider.qualificationId === '' || | ||
| !Array.isArray(provider.artifacts) || provider.artifacts.length === 0 | ||
| ) { | ||
| throw adapterError('package_load_failed', `Provider ${providerId} identity is invalid`); | ||
| } | ||
| const expectedProviderName = { | ||
| cpu: 'CPUExecutionProvider', | ||
| apple: 'CoreML', | ||
| webgpu: 'WebGpuExecutionProvider', | ||
| }[providerId]; | ||
| if (provider.runtimeProvider !== expectedProviderName) { | ||
| throw adapterError('package_load_failed', `Provider ${providerId} runtime identity is invalid`); | ||
| } | ||
| const providerPaths = new Set(); | ||
| provider.artifacts.forEach((artifact, index) => { | ||
| verifyArtifact(root, artifact, `providers.${providerId}.artifacts[${index}]`); | ||
| if (providerPaths.has(artifact.path)) { | ||
| throw adapterError('package_load_failed', `Provider ${providerId} has duplicate artifacts`); | ||
| } | ||
| providerPaths.add(artifact.path); | ||
| if (providerId !== 'apple' && !runtimePaths.has(artifact.path)) { | ||
| throw adapterError('package_load_failed', `Provider ${providerId} artifact is outside runtime inventory`); | ||
| } | ||
| if (providerId === 'apple' && artifact.path !== descriptor.addon.path) { | ||
| throw adapterError('package_load_failed', 'Apple provider artifact must be the native addon'); | ||
| } | ||
| }); | ||
| if (providerId === 'webgpu') { | ||
| if (provider.providerVersion !== '0.1.0') { | ||
| throw adapterError('package_load_failed', 'WebGPU provider version is invalid'); | ||
| } | ||
| webgpuLibrary = verifyArtifact(root, provider.providerLibrary, 'providers.webgpu.providerLibrary'); | ||
| const declared = provider.artifacts.find( | ||
| (artifact) => artifact.path === provider.providerLibrary.path, | ||
| ); | ||
| const expectedBasename = actual.os === 'win32' | ||
| ? 'onnxruntime_providers_webgpu.dll' | ||
| : 'libonnxruntime_providers_webgpu.so'; | ||
| if ( | ||
| !declared || !sameArtifact(declared, provider.providerLibrary) || | ||
| path.basename(webgpuLibrary) !== expectedBasename | ||
| ) { | ||
| throw adapterError('package_load_failed', 'WebGPU provider library contract is invalid'); | ||
| } | ||
| webgpuProviderBytes = provider.providerLibrary.bytes; | ||
| webgpuProviderSha256 = provider.providerLibrary.sha256; | ||
| } | ||
| } | ||
| const coreName = actual.os === 'win32' | ||
| ? 'onnxruntime.dll' | ||
| : actual.os === 'darwin' | ||
| ? 'libonnxruntime.1.22.0.dylib' | ||
| : 'libonnxruntime.so.1'; | ||
| const runtimeNames = [...verifiedRuntime.values()].map((filename) => path.basename(filename)).sort(); | ||
| const expectedRuntimeNames = runtime.flavor === 'webgpu' | ||
| ? actual.os === 'win32' | ||
| ? ['dxcompiler.dll', 'dxil.dll', 'onnxruntime.dll', 'onnxruntime_providers_webgpu.dll'] | ||
| : ['libonnxruntime.so.1', 'libonnxruntime_providers_webgpu.so'] | ||
| : [coreName]; | ||
| if ( | ||
| runtimeNames.length !== expectedRuntimeNames.length || | ||
| runtimeNames.some((name, index) => name !== expectedRuntimeNames[index]) | ||
| ) { | ||
| throw adapterError('package_load_failed', 'Native runtime artifact set is incomplete'); | ||
| } | ||
| const cpuArtifacts = descriptor.providers.cpu.artifacts; | ||
| if ( | ||
| cpuArtifacts.length !== 1 || | ||
| path.basename(safeArtifactPath(root, cpuArtifacts[0].path, 'CPU artifact path')) !== coreName | ||
| ) { | ||
| throw adapterError('package_load_failed', 'CPU provider does not reference the core runtime'); | ||
| } | ||
| const actualPayload = new Set(); | ||
| const inventory = (directory, relativeDirectory) => { | ||
| for (const entry of fs.readdirSync(directory, { withFileTypes: true })) { | ||
| const relative = `${relativeDirectory}/${entry.name}`; | ||
| const filename = path.join(directory, entry.name); | ||
| if (entry.isSymbolicLink()) { | ||
| throw adapterError('package_load_failed', 'Native runtime payload contains a symlink', relative); | ||
| } | ||
| if (entry.isDirectory()) { | ||
| inventory(filename, relative); | ||
| } else if (entry.isFile() && relative !== 'native/runtime-descriptor.json') { | ||
| actualPayload.add(relative); | ||
| } else if (!entry.isFile()) { | ||
| throw adapterError('package_load_failed', 'Native runtime payload is not a regular file', relative); | ||
| } | ||
| } | ||
| }; | ||
| inventory(nativeDirectory, 'native'); | ||
| const referenced = new Set([descriptor.addon.path, ...runtimePaths]); | ||
| if ( | ||
| actualPayload.size !== referenced.size || | ||
| [...actualPayload].some((filename) => !referenced.has(filename)) | ||
| ) { | ||
| throw adapterError('package_load_failed', 'Native runtime descriptor payload inventory mismatch'); | ||
| } | ||
| const expectedPolicy = runtime.flavor === 'webgpu' | ||
| ? ['webgpu', 'cpu'] | ||
| : actual.id === 'macos-arm64' | ||
| ? ['apple', 'cpu'] | ||
| : ['cpu']; | ||
| const expectedAvailable = runtime.flavor === 'webgpu' | ||
| ? ['cpu', 'webgpu'] | ||
| : actual.id === 'macos-arm64' | ||
| ? ['apple', 'cpu'] | ||
| : ['cpu']; | ||
| const sortedAvailable = [...availableProviders].sort(); | ||
| if ( | ||
| policy.providers.length !== expectedPolicy.length || | ||
| policy.providers.some((provider, index) => provider !== expectedPolicy[index]) || | ||
| sortedAvailable.length !== expectedAvailable.length || | ||
| sortedAvailable.some((provider, index) => provider !== expectedAvailable[index]) || | ||
| policy.providers.some((provider) => !availableProviders.includes(provider)) | ||
| ) { | ||
| throw adapterError( | ||
| 'package_load_failed', | ||
| 'Native runtime descriptor providers disagree with platform capabilities', | ||
| ); | ||
| } | ||
| const providerQualificationIds = sortedAvailable.map( | ||
| (providerId) => descriptor.providers[providerId].qualificationId, | ||
| ); | ||
| const runtimePolicy = Object.freeze({ | ||
| id: policy.id, | ||
| version: policy.version, | ||
| platformId: actual.id, | ||
| runtimeFlavor: runtime.flavor, | ||
| runtimeVersion: runtime.version, | ||
| runtimeAbi: runtime.abi, | ||
| qualificationOnly: descriptor.qualificationOnly, | ||
| released: descriptor.released, | ||
| orderedCandidates: Object.freeze([...policy.providers]), | ||
| availableProviders: Object.freeze(sortedAvailable), | ||
| providerQualificationIds: Object.freeze(providerQualificationIds), | ||
| webgpuProviderLibrary: webgpuLibrary, | ||
| webgpuProviderBytes, | ||
| webgpuProviderSha256, | ||
| }); | ||
| return { | ||
| addon, | ||
| descriptor: Object.freeze(descriptor), | ||
| descriptorPath: absoluteDescriptor, | ||
| runtimePolicy, | ||
| }; | ||
| } | ||
| module.exports = { loadNative }; | ||
| function resolveDevelopmentInput() { | ||
| if (!process.env.LIGHT_OCR_NODE_BINARY) return undefined; | ||
| const binary = path.resolve(process.env.LIGHT_OCR_NODE_BINARY); | ||
| const descriptor = process.env.LIGHT_OCR_RUNTIME_DESCRIPTOR | ||
| ? path.resolve(process.env.LIGHT_OCR_RUNTIME_DESCRIPTOR) | ||
| : path.join(path.dirname(binary), 'runtime-descriptor.json'); | ||
| return { binary, descriptor }; | ||
| } | ||
| function validateNativeContract(binding, runtimePolicy) { | ||
| const contract = binding?.runtimeContract; | ||
| const fields = [ | ||
| 'policyId', | ||
| 'policyVersion', | ||
| 'platformId', | ||
| 'runtimeFlavor', | ||
| 'runtimeVersion', | ||
| 'runtimeAbi', | ||
| 'qualificationOnly', | ||
| 'released', | ||
| ]; | ||
| const policyFields = { | ||
| policyId: runtimePolicy.id, | ||
| policyVersion: runtimePolicy.version, | ||
| platformId: runtimePolicy.platformId, | ||
| runtimeFlavor: runtimePolicy.runtimeFlavor, | ||
| runtimeVersion: runtimePolicy.runtimeVersion, | ||
| runtimeAbi: runtimePolicy.runtimeAbi, | ||
| qualificationOnly: runtimePolicy.qualificationOnly, | ||
| released: runtimePolicy.released, | ||
| }; | ||
| if ( | ||
| !contract || | ||
| typeof contract !== 'object' || | ||
| fields.some((field) => contract[field] !== policyFields[field]) || | ||
| !Array.isArray(contract.orderedCandidates) || | ||
| !Array.isArray(contract.availableProviders) || | ||
| !Array.isArray(contract.providerQualificationIds) || | ||
| contract.orderedCandidates.length !== runtimePolicy.orderedCandidates.length || | ||
| contract.orderedCandidates.some( | ||
| (provider, index) => provider !== runtimePolicy.orderedCandidates[index], | ||
| ) || | ||
| contract.availableProviders.length !== runtimePolicy.availableProviders.length || | ||
| contract.availableProviders.some( | ||
| (provider, index) => provider !== runtimePolicy.availableProviders[index], | ||
| ) || | ||
| contract.providerQualificationIds.length !== runtimePolicy.providerQualificationIds.length || | ||
| contract.providerQualificationIds.some( | ||
| (qualificationId, index) => qualificationId !== runtimePolicy.providerQualificationIds[index], | ||
| ) | ||
| ) { | ||
| throw adapterError( | ||
| 'package_load_failed', | ||
| 'Runtime descriptor is incompatible with the native addon ABI or capabilities', | ||
| ); | ||
| } | ||
| } | ||
| function loadNative() { | ||
| const development = resolveDevelopmentInput(); | ||
| let input; | ||
| if (development) { | ||
| input = development; | ||
| } else { | ||
| const packageName = platformPackage(); | ||
| try { | ||
| const binary = require.resolve(packageName); | ||
| input = { binary, descriptor: path.join(path.dirname(binary), 'runtime-descriptor.json') }; | ||
| } catch (cause) { | ||
| throw adapterError( | ||
| 'package_load_failed', | ||
| `Unable to locate ${packageName}`, | ||
| 'Reinstall @arcships/light-ocr without --omit=optional and verify that the current platform is supported.', | ||
| cause, | ||
| ); | ||
| } | ||
| } | ||
| if (!fs.existsSync(input.binary)) { | ||
| throw adapterError('package_load_failed', 'Native addon is missing', input.binary); | ||
| } | ||
| const verified = validateRuntimeDescriptor(input.descriptor); | ||
| if (path.resolve(input.binary) !== path.resolve(verified.addon)) { | ||
| throw adapterError('package_load_failed', 'Runtime descriptor addon path mismatch', input.binary); | ||
| } | ||
| try { | ||
| const binding = require(verified.addon); | ||
| validateNativeContract(binding, verified.runtimePolicy); | ||
| return Object.freeze({ binding, runtimePolicy: verified.runtimePolicy }); | ||
| } catch (cause) { | ||
| throw adapterError('package_load_failed', 'Unable to load the verified native addon', '', cause); | ||
| } | ||
| } | ||
| module.exports = { loadNative, validateRuntimeDescriptor }; |
@@ -6,3 +6,3 @@ { | ||
| "dependencies": { | ||
| "@arcships/light-ocr-model-ppocrv6-small": "0.1.0" | ||
| "@arcships/light-ocr-model-ppocrv6-small": "0.3.0" | ||
| }, | ||
@@ -40,6 +40,6 @@ "description": "Offline PP-OCRv6 OCR for Node.js, powered by an embeddable C++ core", | ||
| "optionalDependencies": { | ||
| "@arcships/light-ocr-darwin-arm64": "0.1.0", | ||
| "@arcships/light-ocr-darwin-x64": "0.1.0", | ||
| "@arcships/light-ocr-linux-x64-gnu": "0.1.0", | ||
| "@arcships/light-ocr-win32-x64": "0.1.0" | ||
| "@arcships/light-ocr-darwin-arm64": "0.3.0", | ||
| "@arcships/light-ocr-darwin-x64": "0.3.0", | ||
| "@arcships/light-ocr-linux-x64-gnu": "0.3.0", | ||
| "@arcships/light-ocr-win32-x64": "0.3.0" | ||
| }, | ||
@@ -56,3 +56,3 @@ "publishConfig": { | ||
| "types": "./js/index.d.ts", | ||
| "version": "0.1.0" | ||
| "version": "0.3.0" | ||
| } |
@@ -8,17 +8,17 @@ { | ||
| "arch": "x64", | ||
| "lightOcrVersion": "0.1.0", | ||
| "bundleId": "ppocrv6-small-onnx-20260714.1", | ||
| "lightOcrVersion": "0.3.0", | ||
| "bundleId": "ppocrv6-small-native-20260719.1", | ||
| "facade": "facade/js/index.cjs", | ||
| "modelBundle": "model/bundle", | ||
| "nativeAddon": "facade/js/native/light_ocr_node.node", | ||
| "nativeAddon": "facade/node_modules/@arcships/light-ocr-win32-x64/native/light_ocr_node.node", | ||
| "inventory": [ | ||
| { | ||
| "path": "facade/js/index.cjs", | ||
| "size": 6027, | ||
| "sha256": "da6ea0ffea5c5a00ad5f2c80ebe068d5ee99fb85073ab414cca712fae8786f25" | ||
| "size": 6775, | ||
| "sha256": "b853a72b910c352239e012063cb4cbaef19981484ede3f1fa74fd9b188448dcb" | ||
| }, | ||
| { | ||
| "path": "facade/js/index.d.ts", | ||
| "size": 4966, | ||
| "sha256": "fa0cd5f7ea7208a041a8ba198980972cb8770d4e4e2e1574a05e14239f3a83e4" | ||
| "size": 9525, | ||
| "sha256": "a2aae806b892f0ab57f8406704100d2a43d035a6b792cdfc7b04d9ebd32090e2" | ||
| }, | ||
@@ -32,17 +32,17 @@ { | ||
| "path": "facade/js/load-native.cjs", | ||
| "size": 2140, | ||
| "sha256": "12bb6568d8ecbd7cf57519ff1c36f460085c249d9626df0f2283588f23abb146" | ||
| "size": 19462, | ||
| "sha256": "9b688e69a544a0413a98f68fb7e40537ad0bab957e3f0ef54f03d41b6af58fa6" | ||
| }, | ||
| { | ||
| "path": "facade/js/native/light_ocr_node.node", | ||
| "size": 3588608, | ||
| "sha256": "9d8928440ce20085220afc98c6d6f5f389b3b98d43cb2db3d53b9bb0e83badcc" | ||
| "path": "facade/LICENSE", | ||
| "size": 11358, | ||
| "sha256": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30" | ||
| }, | ||
| { | ||
| "path": "facade/js/native/onnxruntime.dll", | ||
| "size": 12418080, | ||
| "sha256": "579b636403983254346a5c1d80bd28f1519cd1e284cd204f8d4ff41f8d711559" | ||
| "path": "facade/node_modules/@arcships/light-ocr-win32-x64/artifact-hashes.json", | ||
| "size": 4165, | ||
| "sha256": "8111ba7416d915dcde9e77435e60327e9348694efb140e1710deda11ab26bb3c" | ||
| }, | ||
| { | ||
| "path": "facade/LICENSE", | ||
| "path": "facade/node_modules/@arcships/light-ocr-win32-x64/LICENSE", | ||
| "size": 11358, | ||
@@ -52,2 +52,122 @@ "sha256": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30" | ||
| { | ||
| "path": "facade/node_modules/@arcships/light-ocr-win32-x64/license-inventory.json", | ||
| "size": 1943, | ||
| "sha256": "ce1abdf55a19aff5d27a1a2f78b4ac5aec5d4b8eec688596af4391ea00c62622" | ||
| }, | ||
| { | ||
| "path": "facade/node_modules/@arcships/light-ocr-win32-x64/licenses/clipper-BSL-1.0.txt", | ||
| "size": 1110, | ||
| "sha256": "32ee7398e3123736fd14e9f08287edc2d97ace102ab54d8dc4edc8d31c651fa8" | ||
| }, | ||
| { | ||
| "path": "facade/node_modules/@arcships/light-ocr-win32-x64/licenses/nlohmann-json-MIT.txt", | ||
| "size": 1076, | ||
| "sha256": "86b998c792894ccb911a1cb7994f7a9652894e7a094c0b5e45be2f553f45cf14" | ||
| }, | ||
| { | ||
| "path": "facade/node_modules/@arcships/light-ocr-win32-x64/licenses/onnxruntime-MIT.txt", | ||
| "size": 1094, | ||
| "sha256": "c250d6278f0b47a6439fb7592b08b58a55eb9f535aa49a1db63211c3f982b674" | ||
| }, | ||
| { | ||
| "path": "facade/node_modules/@arcships/light-ocr-win32-x64/licenses/onnxruntime-ThirdPartyNotices.txt", | ||
| "size": 331175, | ||
| "sha256": "fb0af774b4d7cffc5b9d046f2aaeade2f37df2f80abf8033c95dfffcc77a8866" | ||
| }, | ||
| { | ||
| "path": "facade/node_modules/@arcships/light-ocr-win32-x64/licenses/onnxruntime-webgpu-MIT.txt", | ||
| "size": 1094, | ||
| "sha256": "c250d6278f0b47a6439fb7592b08b58a55eb9f535aa49a1db63211c3f982b674" | ||
| }, | ||
| { | ||
| "path": "facade/node_modules/@arcships/light-ocr-win32-x64/licenses/onnxruntime-webgpu-ThirdPartyNotices.txt", | ||
| "size": 331175, | ||
| "sha256": "fb0af774b4d7cffc5b9d046f2aaeade2f37df2f80abf8033c95dfffcc77a8866" | ||
| }, | ||
| { | ||
| "path": "facade/node_modules/@arcships/light-ocr-win32-x64/licenses/opencv-Apache-2.0.txt", | ||
| "size": 11358, | ||
| "sha256": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30" | ||
| }, | ||
| { | ||
| "path": "facade/node_modules/@arcships/light-ocr-win32-x64/licenses/opencv-carotene-BSD-3-Clause.txt", | ||
| "size": 2048, | ||
| "sha256": "0bccc9a19466df14bd38c8722cc1a692327f5db8f7a0f75f4162620e0e3be59a" | ||
| }, | ||
| { | ||
| "path": "facade/node_modules/@arcships/light-ocr-win32-x64/licenses/opencv-COPYRIGHT.txt", | ||
| "size": 733, | ||
| "sha256": "bba849c98da85a2b27b86113284a90812c959b1c1fc4ed67de9355475d1e6831" | ||
| }, | ||
| { | ||
| "path": "facade/node_modules/@arcships/light-ocr-win32-x64/licenses/opencv-zlib.txt", | ||
| "size": 1002, | ||
| "sha256": "845efc77857d485d91fb3e0b884aaa929368c717ae8186b66fe1ed2495753243" | ||
| }, | ||
| { | ||
| "path": "facade/node_modules/@arcships/light-ocr-win32-x64/licenses/PP-OCRv6-Apache-2.0.txt", | ||
| "size": 11376, | ||
| "sha256": "3840c5c0c61c294264d2dd77b8777be6ddd90121ef4e0e64abcd22edea581d6e" | ||
| }, | ||
| { | ||
| "path": "facade/node_modules/@arcships/light-ocr-win32-x64/licenses/PP-OCRv6-MODEL-NOTICE.md", | ||
| "size": 312, | ||
| "sha256": "381c555aebec730789e4f7a60583024ba7d7c026a5a223ac938c91767e4e91ff" | ||
| }, | ||
| { | ||
| "path": "facade/node_modules/@arcships/light-ocr-win32-x64/licenses/stb-MIT-or-Unlicense.txt", | ||
| "size": 2510, | ||
| "sha256": "bebfe904b14301657e4e5d655c811d51fd31b97c455b9cc2d8600d6bac6cff63" | ||
| }, | ||
| { | ||
| "path": "facade/node_modules/@arcships/light-ocr-win32-x64/native/dxcompiler.dll", | ||
| "size": 17986360, | ||
| "sha256": "2cec74ef87a1171e4502c7d735169756bf4c528676ea354bfde24b01394965f0" | ||
| }, | ||
| { | ||
| "path": "facade/node_modules/@arcships/light-ocr-win32-x64/native/dxil.dll", | ||
| "size": 1508664, | ||
| "sha256": "0767448abeade590821e88e56c471e0f2dfe89ec9a7642d08adc3dc94f14ab92" | ||
| }, | ||
| { | ||
| "path": "facade/node_modules/@arcships/light-ocr-win32-x64/native/light_ocr_node.node", | ||
| "size": 3851264, | ||
| "sha256": "d7cd250f01a49f44be30fead97bbc373b4bf83b6e941ba2fe81858440f30fddc" | ||
| }, | ||
| { | ||
| "path": "facade/node_modules/@arcships/light-ocr-win32-x64/native/onnxruntime_providers_webgpu.dll", | ||
| "size": 8807264, | ||
| "sha256": "591e286a211b133e3c4e5c833febf2d594b7b548433a2490407b11b906a9271b" | ||
| }, | ||
| { | ||
| "path": "facade/node_modules/@arcships/light-ocr-win32-x64/native/onnxruntime.dll", | ||
| "size": 14203464, | ||
| "sha256": "b95efb2113b603bbbf3f191061c5516a871ed546893c820e4f3b7b6c358dbf2a" | ||
| }, | ||
| { | ||
| "path": "facade/node_modules/@arcships/light-ocr-win32-x64/native/runtime-descriptor.json", | ||
| "size": 2730, | ||
| "sha256": "8ffa2e235de103284424fbc2c503d2d2dc0fa766068b6ac9b2887fca58209097" | ||
| }, | ||
| { | ||
| "path": "facade/node_modules/@arcships/light-ocr-win32-x64/NOTICE", | ||
| "size": 258, | ||
| "sha256": "24cb7b29285527efc05b8b85c3086fa589e06078dc3ad0075fb51546aa85f547" | ||
| }, | ||
| { | ||
| "path": "facade/node_modules/@arcships/light-ocr-win32-x64/package.json", | ||
| "size": 860, | ||
| "sha256": "b2821c3ee7572cc0d47fa5426def9cc229d4398f5974c38f2c1aa7cefc3d9d3f" | ||
| }, | ||
| { | ||
| "path": "facade/node_modules/@arcships/light-ocr-win32-x64/README.md", | ||
| "size": 318, | ||
| "sha256": "1a77350f674a9a4c9c5f2f934230f0c64364eeae2e6539338c935d509c981c0e" | ||
| }, | ||
| { | ||
| "path": "facade/node_modules/@arcships/light-ocr-win32-x64/sbom.spdx.json", | ||
| "size": 5672, | ||
| "sha256": "5d3670590f788808f28eb42983950fae1084198660f65e25cba1c466f0778aa7" | ||
| }, | ||
| { | ||
| "path": "facade/NOTICE", | ||
@@ -60,3 +180,3 @@ "size": 258, | ||
| "size": 1275, | ||
| "sha256": "4369a8a49a3f26645c91fef9c1ec27592021bb4d341c4e5f636b60b8a9d58b8d" | ||
| "sha256": "364529b17f7fd1472581182e8e22c69987fb210091be4213554f27daac692e6d" | ||
| }, | ||
@@ -69,2 +189,37 @@ { | ||
| { | ||
| "path": "model/bundle/apple/detector-fp16.mlpackage/Data/com.apple.CoreML/model.mlmodel", | ||
| "size": 141330, | ||
| "sha256": "62437d4c734c0d5e06d781892f4c10803706c3d6d7edb3cf7566392690fc1af8" | ||
| }, | ||
| { | ||
| "path": "model/bundle/apple/detector-fp16.mlpackage/Data/com.apple.CoreML/weights/weight.bin", | ||
| "size": 4917760, | ||
| "sha256": "db9eba6ac06af8fc6b610130324bce2a56c9fc8d58e4611871ebe4c339e2a184" | ||
| }, | ||
| { | ||
| "path": "model/bundle/apple/detector-fp16.mlpackage/Manifest.json", | ||
| "size": 617, | ||
| "sha256": "5c1d4a1e286e27edc4289f3fcc24af1863eae22adfc9fff9d9a342ae5e1264bb" | ||
| }, | ||
| { | ||
| "path": "model/bundle/apple/provenance.json", | ||
| "size": 2249, | ||
| "sha256": "639d6615bfa4a59b6542ff92deb3d1954f993f8ee68f24435bf7862e2c3dafda" | ||
| }, | ||
| { | ||
| "path": "model/bundle/apple/recognizer-fp16.mlpackage/Data/com.apple.CoreML/model.mlmodel", | ||
| "size": 11050340, | ||
| "sha256": "585602df6a47235af1234139eff3ecbf8adcacc2cf9d084b36f7bc2eb0769419" | ||
| }, | ||
| { | ||
| "path": "model/bundle/apple/recognizer-fp16.mlpackage/Data/com.apple.CoreML/weights/weight.bin", | ||
| "size": 10543020, | ||
| "sha256": "9255af33f343dacaac48d9b3ddfeac3b575d4b6d846b9f1e06610b3871498eb1" | ||
| }, | ||
| { | ||
| "path": "model/bundle/apple/recognizer-fp16.mlpackage/Manifest.json", | ||
| "size": 617, | ||
| "sha256": "5c1d4a1e286e27edc4289f3fcc24af1863eae22adfc9fff9d9a342ae5e1264bb" | ||
| }, | ||
| { | ||
| "path": "model/bundle/det/inference.onnx", | ||
@@ -91,9 +246,9 @@ "size": 9880512, | ||
| "path": "model/bundle/manifest.json", | ||
| "size": 1839, | ||
| "sha256": "8c956568b504e4cf93971999c1e7eff298683d95ddeed1bb8674bfe112ddbb9a" | ||
| "size": 6037, | ||
| "sha256": "4e88e6895d111060600493d7248db90d549d215763028eb78b908316d200d323" | ||
| }, | ||
| { | ||
| "path": "model/bundle/normalized-config.json", | ||
| "size": 1953, | ||
| "sha256": "9d90b41c8ce3f278cdd82c06556458df42c53e76decc4ed0cdf681db4ca3b11d" | ||
| "size": 2519, | ||
| "sha256": "c93f557a3dc43d83eadadb6a1a703010d1fa12b0d475b2cb9b4d167214f2dc46" | ||
| }, | ||
@@ -117,6 +272,21 @@ { | ||
| "path": "model/bundle/SHA256SUMS", | ||
| "size": 784, | ||
| "sha256": "ecde157656c32a4a5577a4e81f118c231c044fb4adb2ff5c6aebe67e11727b25" | ||
| "size": 1909, | ||
| "sha256": "72b7e144c66c070adc614baeb2645fcc0a26815e728dbf06e7a4aa53a10f9a1c" | ||
| }, | ||
| { | ||
| "path": "model/bundle/webgpu/det/inference.onnx", | ||
| "size": 4973761, | ||
| "sha256": "2f0463ba51af55a9f49cae1f18cf905c578d4752236c30456325c817d8e47a1b" | ||
| }, | ||
| { | ||
| "path": "model/bundle/webgpu/provenance.json", | ||
| "size": 1790, | ||
| "sha256": "3ace9d0c0ead2d94971bdaaa1cafee32cfacf3718f2e0c7c651b9a22a0ecd58b" | ||
| }, | ||
| { | ||
| "path": "model/bundle/webgpu/rec/inference.onnx", | ||
| "size": 10624002, | ||
| "sha256": "f6ee9c86013fdd02cf9dfdf311813e1f2fe56e83d2b5f12994617dfa05d3b9cb" | ||
| }, | ||
| { | ||
| "path": "model/LICENSE", | ||
@@ -133,4 +303,4 @@ "size": 11358, | ||
| "path": "model/package.json", | ||
| "size": 820, | ||
| "sha256": "3ab816bc63e590ff28dcc45c289cc96533f5c95aa74b6fe0412eda2306d4f936" | ||
| "size": 908, | ||
| "sha256": "44577d53570c75ad512a0b15f32480f89accd8af34b9ed93ec8f13d841e1ea2b" | ||
| }, | ||
@@ -144,4 +314,4 @@ { | ||
| "path": "native-metadata/artifact-hashes.json", | ||
| "size": 2986, | ||
| "sha256": "71b48216cb4baca68207e841978cc13cc2804947a9b513a3321205afb4fd394d" | ||
| "size": 4165, | ||
| "sha256": "8111ba7416d915dcde9e77435e60327e9348694efb140e1710deda11ab26bb3c" | ||
| }, | ||
@@ -155,4 +325,4 @@ { | ||
| "path": "native-metadata/license-inventory.json", | ||
| "size": 1478, | ||
| "sha256": "55cf246c96f5d289bef038ef750cdb9bf7cedf303d4a3da6c3481f1a776f67cb" | ||
| "size": 1943, | ||
| "sha256": "ce1abdf55a19aff5d27a1a2f78b4ac5aec5d4b8eec688596af4391ea00c62622" | ||
| }, | ||
@@ -176,6 +346,16 @@ { | ||
| "path": "native-metadata/licenses/onnxruntime-ThirdPartyNotices.txt", | ||
| "size": 333022, | ||
| "sha256": "e00f828e0a33de591a355ae6606d2625f5758da7d2c844db7821c9dd3e3647b6" | ||
| "size": 331175, | ||
| "sha256": "fb0af774b4d7cffc5b9d046f2aaeade2f37df2f80abf8033c95dfffcc77a8866" | ||
| }, | ||
| { | ||
| "path": "native-metadata/licenses/onnxruntime-webgpu-MIT.txt", | ||
| "size": 1094, | ||
| "sha256": "c250d6278f0b47a6439fb7592b08b58a55eb9f535aa49a1db63211c3f982b674" | ||
| }, | ||
| { | ||
| "path": "native-metadata/licenses/onnxruntime-webgpu-ThirdPartyNotices.txt", | ||
| "size": 331175, | ||
| "sha256": "fb0af774b4d7cffc5b9d046f2aaeade2f37df2f80abf8033c95dfffcc77a8866" | ||
| }, | ||
| { | ||
| "path": "native-metadata/licenses/opencv-Apache-2.0.txt", | ||
@@ -211,2 +391,7 @@ "size": 11358, | ||
| { | ||
| "path": "native-metadata/licenses/stb-MIT-or-Unlicense.txt", | ||
| "size": 2510, | ||
| "sha256": "bebfe904b14301657e4e5d655c811d51fd31b97c455b9cc2d8600d6bac6cff63" | ||
| }, | ||
| { | ||
| "path": "native-metadata/NOTICE", | ||
@@ -219,3 +404,3 @@ "size": 258, | ||
| "size": 860, | ||
| "sha256": "a353cb5e45aed9a349dedce661e6c94e6effd14297f65980f4d61d0f4b3b68a5" | ||
| "sha256": "b2821c3ee7572cc0d47fa5426def9cc229d4398f5974c38f2c1aa7cefc3d9d3f" | ||
| }, | ||
@@ -229,6 +414,6 @@ { | ||
| "path": "native-metadata/sbom.spdx.json", | ||
| "size": 4345, | ||
| "sha256": "ba9b352bce512ef2951104437402dfab4d637378d6f61b0b20e44c184a8228aa" | ||
| "size": 5672, | ||
| "sha256": "5d3670590f788808f28eb42983950fae1084198660f65e25cba1c466f0778aa7" | ||
| } | ||
| ] | ||
| } |
@@ -1,1 +0,1 @@ | ||
| {"bundleId":"ppocrv6-small-onnx-20260714.1","capabilities":{"detection":true,"recognition":true,"textlineOrientation":false},"coreCompatibility":{"maximumMajor":0,"minimum":"0.1.0"},"family":"PP-OCRv6","files":{"LICENSES/MODEL-NOTICE.md":{"bytes":312,"sha256":"381c555aebec730789e4f7a60583024ba7d7c026a5a223ac938c91767e4e91ff"},"LICENSES/PaddleOCR-Apache-2.0.txt":{"bytes":11376,"sha256":"3840c5c0c61c294264d2dd77b8777be6ddd90121ef4e0e64abcd22edea581d6e"},"det/inference.onnx":{"bytes":9880512,"sha256":"d73e0058b7a8086bbd57f3d10b8bcd4ff95363f67e06e2762b5e814fe9c9410e"},"det/inference.yml":{"bytes":885,"sha256":"193f435274bf9f0b5f71a929bbfbcf148282df7e633b34e7c373e8f44741b516"},"normalized-config.json":{"bytes":1953,"sha256":"9d90b41c8ce3f278cdd82c06556458df42c53e76decc4ed0cdf681db4ca3b11d"},"rec/dictionary.json":{"bytes":112408,"sha256":"6e93cc028ff774c8bef0801ad08391f8284f7ef897013a9aeb9cbd515db3276d"},"rec/inference.onnx":{"bytes":21159378,"sha256":"5435fd747c9e0efe15a96d0b378d5bd157e9492ed8fd80edf08f30d02fa24634"},"rec/inference.yml":{"bytes":150579,"sha256":"ab078671bb49f06228eadccd34f1bb501e157f7a047095ffb943ba81512c77d1"}},"licenses":["Apache-2.0"],"models":{"detection":{"configPath":"det/inference.yml","id":"PP-OCRv6_small_det_onnx","inputRank":4,"modelPath":"det/inference.onnx","outputRanks":[3,4],"sourceRevision":"28fe5895c24fd108c19eb3e8479f4ab385fbfc62"},"recognition":{"configPath":"rec/inference.yml","dictionaryPath":"rec/dictionary.json","id":"PP-OCRv6_small_rec_onnx","inputRank":4,"modelPath":"rec/inference.onnx","outputRank":3,"sourceRevision":"b8f84f0b80c529de40b4fbb3544b84fa7233a513"}},"normalizedConfigPath":"normalized-config.json","schemaVersion":"1.0","upstream":{"release":"v3.7.0","repository":"https://github.com/PaddlePaddle/PaddleOCR","revision":"b03f46425e8ff4442b268ce449e3eef758146cd4"}} | ||
| {"bundleId":"ppocrv6-small-native-20260719.1","capabilities":{"detection":true,"recognition":true,"textlineOrientation":false},"coreCompatibility":{"maximumMajor":0,"minimum":"0.3.0"},"family":"PP-OCRv6","files":{"LICENSES/MODEL-NOTICE.md":{"bytes":312,"sha256":"381c555aebec730789e4f7a60583024ba7d7c026a5a223ac938c91767e4e91ff"},"LICENSES/PaddleOCR-Apache-2.0.txt":{"bytes":11376,"sha256":"3840c5c0c61c294264d2dd77b8777be6ddd90121ef4e0e64abcd22edea581d6e"},"apple/detector-fp16.mlpackage/Data/com.apple.CoreML/model.mlmodel":{"bytes":141330,"sha256":"62437d4c734c0d5e06d781892f4c10803706c3d6d7edb3cf7566392690fc1af8"},"apple/detector-fp16.mlpackage/Data/com.apple.CoreML/weights/weight.bin":{"bytes":4917760,"sha256":"db9eba6ac06af8fc6b610130324bce2a56c9fc8d58e4611871ebe4c339e2a184"},"apple/detector-fp16.mlpackage/Manifest.json":{"bytes":617,"sha256":"5c1d4a1e286e27edc4289f3fcc24af1863eae22adfc9fff9d9a342ae5e1264bb"},"apple/provenance.json":{"bytes":2249,"sha256":"639d6615bfa4a59b6542ff92deb3d1954f993f8ee68f24435bf7862e2c3dafda"},"apple/recognizer-fp16.mlpackage/Data/com.apple.CoreML/model.mlmodel":{"bytes":11050340,"sha256":"585602df6a47235af1234139eff3ecbf8adcacc2cf9d084b36f7bc2eb0769419"},"apple/recognizer-fp16.mlpackage/Data/com.apple.CoreML/weights/weight.bin":{"bytes":10543020,"sha256":"9255af33f343dacaac48d9b3ddfeac3b575d4b6d846b9f1e06610b3871498eb1"},"apple/recognizer-fp16.mlpackage/Manifest.json":{"bytes":617,"sha256":"5c1d4a1e286e27edc4289f3fcc24af1863eae22adfc9fff9d9a342ae5e1264bb"},"det/inference.onnx":{"bytes":9880512,"sha256":"d73e0058b7a8086bbd57f3d10b8bcd4ff95363f67e06e2762b5e814fe9c9410e"},"det/inference.yml":{"bytes":885,"sha256":"193f435274bf9f0b5f71a929bbfbcf148282df7e633b34e7c373e8f44741b516"},"normalized-config.json":{"bytes":2519,"sha256":"c93f557a3dc43d83eadadb6a1a703010d1fa12b0d475b2cb9b4d167214f2dc46"},"rec/dictionary.json":{"bytes":112408,"sha256":"6e93cc028ff774c8bef0801ad08391f8284f7ef897013a9aeb9cbd515db3276d"},"rec/inference.onnx":{"bytes":21159378,"sha256":"5435fd747c9e0efe15a96d0b378d5bd157e9492ed8fd80edf08f30d02fa24634"},"rec/inference.yml":{"bytes":150579,"sha256":"ab078671bb49f06228eadccd34f1bb501e157f7a047095ffb943ba81512c77d1"},"webgpu/det/inference.onnx":{"bytes":4973761,"sha256":"2f0463ba51af55a9f49cae1f18cf905c578d4752236c30456325c817d8e47a1b"},"webgpu/provenance.json":{"bytes":1790,"sha256":"3ace9d0c0ead2d94971bdaaa1cafee32cfacf3718f2e0c7c651b9a22a0ecd58b"},"webgpu/rec/inference.onnx":{"bytes":10624002,"sha256":"f6ee9c86013fdd02cf9dfdf311813e1f2fe56e83d2b5f12994617dfa05d3b9cb"}},"licenses":["Apache-2.0"],"models":{"detection":{"configPath":"det/inference.yml","id":"PP-OCRv6_small_det_onnx","inputRank":4,"modelPath":"det/inference.onnx","outputRanks":[3,4],"sourceRevision":"28fe5895c24fd108c19eb3e8479f4ab385fbfc62"},"recognition":{"configPath":"rec/inference.yml","dictionaryPath":"rec/dictionary.json","id":"PP-OCRv6_small_rec_onnx","inputRank":4,"modelPath":"rec/inference.onnx","outputRank":3,"sourceRevision":"b8f84f0b80c529de40b4fbb3544b84fa7233a513"}},"normalizedConfigPath":"normalized-config.json","providers":{"apple":{"architectures":["arm64","x86_64"],"detection":{"inputName":"x","intelComputeUnit":"cpu+gpu","modelId":"PP-OCRv6_small_det_coreml_fp16_range_v1","outputName":"var_1524","package":"detector-fp16.mlpackage","packagePath":"apple/detector-fp16.mlpackage","packageSha256":"2097bd785947c6bc239bfcb27599362c48ec78bab72f439583e41a585b727f76","preferredComputeUnit":"ane","qualifiedMLCPUOperations":{"ios18.relu":1,"pad":1},"shapePolicy":"nchw-bounded-range-32-960-v1","strictComputeUnit":"gpu"},"devicePolicy":"open-macos","minimumMacOS":"15.0","qualificationId":"apple-fp16-mixed-20260715.2","recognition":{"aneMaximumWidth":1600,"functionFormat":"w%04u","inputName":"x","intelComputeUnit":"cpu+gpu","maximumCachedFunctions":20,"modelId":"PP-OCRv6_small_rec_coreml_fp16_w32_v1","outputName":"var_2113","package":"recognizer-fp16.mlpackage","packagePath":"apple/recognizer-fp16.mlpackage","packageSha256":"c54a0719cbde2d93e65eb40dd01fff5b78373b5aaaaa648fee614d3ef3615f4b","qualifiedMLCPUOperations":{"ios18.cast":1,"ios18.conv":3,"ios18.relu":3,"pad":3},"runtimeWidthBuckets":[320,384,480,544,576,608,704,736,832,960,1056,1184,1248,1376,1600,1984,2240,2560,2880,3200],"shapePolicy":"nchw-static-width-multiple-32-v1","widthMultiple":32,"widths":[320,352,384,416,448,480,512,544,576,608,640,672,704,736,768,800,832,864,896,928,960,992,1024,1056,1088,1120,1152,1184,1216,1248,1280,1312,1344,1376,1408,1440,1472,1504,1536,1568,1600,1632,1664,1696,1728,1760,1792,1824,1856,1888,1920,1952,1984,2016,2048,2080,2112,2144,2176,2208,2240,2272,2304,2336,2368,2400,2432,2464,2496,2528,2560,2592,2624,2656,2688,2720,2752,2784,2816,2848,2880,2912,2944,2976,3008,3040,3072,3104,3136,3168,3200]},"schemaVersion":"1.1","validatedDeviceFamilies":["Apple M4"]},"webgpu":{"conversionId":"onnxruntime-float16-1.24.4-20260719.1","cpuPartition":"allow-required","detection":{"modelId":"PP-OCRv6_small_det_onnx_webgpu_fp16","modelPath":"webgpu/det/inference.onnx","modelSha256":"2f0463ba51af55a9f49cae1f18cf905c578d4752236c30456325c817d8e47a1b","sourceModelId":"PP-OCRv6_small_det_onnx","sourceModelSha256":"d73e0058b7a8086bbd57f3d10b8bcd4ff95363f67e06e2762b5e814fe9c9410e","tensorType":"float16"},"graphOptimizationLevel":"extended","precision":"fp16","provenancePath":"webgpu/provenance.json","provenanceSha256":"3ace9d0c0ead2d94971bdaaa1cafee32cfacf3718f2e0c7c651b9a22a0ecd58b","recognition":{"modelId":"PP-OCRv6_small_rec_onnx_webgpu_fp16","modelPath":"webgpu/rec/inference.onnx","modelSha256":"f6ee9c86013fdd02cf9dfdf311813e1f2fe56e83d2b5f12994617dfa05d3b9cb","sourceModelId":"PP-OCRv6_small_rec_onnx","sourceModelSha256":"5435fd747c9e0efe15a96d0b378d5bd157e9492ed8fd80edf08f30d02fa24634","tensorType":"float16"},"requiredCpuOperators":["Concat","Gather","Slice"],"schemaVersion":"1.0"}},"schemaVersion":"1.2","upstream":{"release":"v3.7.0","repository":"https://github.com/PaddlePaddle/PaddleOCR","revision":"b03f46425e8ff4442b268ce449e3eef758146cd4"}} |
@@ -1,1 +0,1 @@ | ||
| {"bundleId":"ppocrv6-small-onnx-20260714.1","detection":{"input":{"colorOrder":"BGR","tensorLayout":"NCHW","tensorType":"float32"},"normalize":{"mean":[0.485,0.456,0.406],"scale":0.00392156862745098,"std":[0.229,0.224,0.225]},"postprocess":{"algorithm":"DB","boxThreshold":0.6,"boxType":"quad","maxCandidates":3000,"minimumBoxSide":3,"scoreMode":"fast","threshold":0.3,"unclipRatio":1.5,"useDilation":false}},"geometry":{"borderMode":"replicate","perspectiveInterpolation":"cubic","rowBandPixels":10,"tallLineRatio":1.5,"tallLineRotation":"counterclockwise90"},"recognition":{"batch":{"maximumSize":8,"sortByWidth":true},"decode":{"algorithm":"CTC","appendSpaceCharacter":true,"blankIndex":0,"collapseRepeats":true,"confidence":"mean_selected_argmax_probability","dictionaryEntries":18709,"dictionaryPath":"rec/dictionary.json"},"defaultScoreThreshold":0.0,"input":{"batchTensorWidth":"maximum_sample_tensor_width","colorOrder":"BGR","interpolation":"linear","maximumTensorWidth":3200,"minimumTensorWidth":320,"resizedContentWidthRounding":"ceil","shape":[3,48,320],"tensorLayout":"NCHW","tensorType":"float32","tensorWidthRounding":"truncate_toward_zero"},"normalize":{"mean":[0.5,0.5,0.5],"paddingValue":0.0,"scale":0.00392156862745098,"std":[0.5,0.5,0.5]}},"resourceLimits":{"maxConcurrentCalls":1,"maxDetectionCandidates":3000,"maxDetectionSide":4000,"maxHeight":10000,"maxPixels":40000000,"maxRecognitionBatchSize":8,"maxRecognitionWidth":3200,"maxTemporaryBytes":536870912,"maxWidth":10000},"runtimeDefaults":{"detection":{"dimensionMultipleRounding":"ceil","maxSide":960,"minimumShortSide":64,"strategy":"bounded"},"recognitionBatchSize":1},"schemaVersion":"1.1","sourceDetectionResize":{"dimensionMultiple":32,"interpolation":"linear","limitSideLen":64,"limitType":"min","maxSideLimit":4000,"maxSideLimitOrder":"before_multiple_rounding","minimumDimension":32,"multipleRounding":"half_to_even","scaledDimensionRounding":"truncate_toward_zero"}} | ||
| {"bundleId":"ppocrv6-small-native-20260719.1","detection":{"input":{"colorOrder":"BGR","tensorLayout":"NCHW","tensorType":"float32"},"normalize":{"mean":[0.485,0.456,0.406],"scale":0.00392156862745098,"std":[0.229,0.224,0.225]},"postprocess":{"algorithm":"DB","boxThreshold":0.6,"boxType":"quad","maxCandidates":3000,"minimumBoxSide":3,"scoreMode":"fast","threshold":0.3,"unclipRatio":1.5,"useDilation":false}},"geometry":{"borderMode":"replicate","perspectiveInterpolation":"cubic","rowBandPixels":10,"tallLineRatio":1.5,"tallLineRotation":"counterclockwise90"},"recognition":{"batch":{"maximumSize":8,"sortByWidth":true},"decode":{"algorithm":"CTC","appendSpaceCharacter":true,"blankIndex":0,"collapseRepeats":true,"confidence":"mean_selected_argmax_probability","dictionaryEntries":18709,"dictionaryPath":"rec/dictionary.json"},"defaultScoreThreshold":0.0,"input":{"batchTensorWidth":"maximum_sample_tensor_width","colorOrder":"BGR","interpolation":"linear","maximumTensorWidth":3200,"minimumTensorWidth":320,"resizedContentWidthRounding":"ceil","shape":[3,48,320],"tensorLayout":"NCHW","tensorType":"float32","tensorWidthRounding":"truncate_toward_zero"},"normalize":{"mean":[0.5,0.5,0.5],"paddingValue":0.0,"scale":0.00392156862745098,"std":[0.5,0.5,0.5]}},"resourceLimits":{"maxConcurrentCalls":1,"maxDetectionCandidates":3000,"maxDetectionSide":4000,"maxDetectionTiles":100,"maxHeight":10000,"maxPixels":40000000,"maxRecognitionBatchSize":8,"maxRecognitionWidth":3200,"maxTemporaryBytes":536870912,"maxWidth":10000},"runtimeDefaults":{"detection":{"dimensionMultipleRounding":"ceil","maxSide":960,"minimumShortSide":64,"strategy":"bounded"},"recognitionBatchSize":1},"runtimeProfiles":{"tiled":{"artificialBoundaryMargin":32,"contractVersion":"tiled-v1","dimensionMultiple":32,"dimensionMultipleRounding":"ceil_resize","merge":{"geometry":"select_representative","intersectionOverSmallerThreshold":0.8,"iouThreshold":0.5,"scope":"different_overlapping_tiles","selectionOrder":["not_artificial_boundary","higher_db_score","farther_from_artificial_boundary","lower_tile_ordinal","lower_candidate_ordinal"]},"minimumOverlap":128,"recognition":"once_after_global_merge","tileOrder":"row_major","tileSide":1280}},"schemaVersion":"1.2","sourceDetectionResize":{"dimensionMultiple":32,"interpolation":"linear","limitSideLen":64,"limitType":"min","maxSideLimit":4000,"maxSideLimitOrder":"before_multiple_rounding","minimumDimension":32,"multipleRounding":"half_to_even","scaledDimensionRounding":"truncate_toward_zero"}} |
@@ -18,5 +18,7 @@ { | ||
| "lightOcr": { | ||
| "bundleId": "ppocrv6-small-onnx-20260714.1", | ||
| "bundleSchemaVersion": "1.1", | ||
| "paddleOcrRevision": "b03f46425e8ff4442b268ce449e3eef758146cd4" | ||
| "bundleId": "ppocrv6-small-native-20260719.1", | ||
| "manifestSchemaVersion": "1.2", | ||
| "normalizedConfigSchemaVersion": "1.2", | ||
| "paddleOcrRevision": "b03f46425e8ff4442b268ce449e3eef758146cd4", | ||
| "tiledContractVersion": "tiled-v1" | ||
| }, | ||
@@ -32,3 +34,3 @@ "name": "@arcships/light-ocr-model-ppocrv6-small", | ||
| }, | ||
| "version": "0.1.0" | ||
| "version": "0.3.0" | ||
| } |
@@ -19,5 +19,5 @@ { | ||
| { | ||
| "bytes": 1478, | ||
| "bytes": 1943, | ||
| "path": "license-inventory.json", | ||
| "sha256": "55cf246c96f5d289bef038ef750cdb9bf7cedf303d4a3da6c3481f1a776f67cb" | ||
| "sha256": "ce1abdf55a19aff5d27a1a2f78b4ac5aec5d4b8eec688596af4391ea00c62622" | ||
| }, | ||
@@ -50,7 +50,17 @@ { | ||
| { | ||
| "bytes": 333022, | ||
| "bytes": 331175, | ||
| "path": "licenses/onnxruntime-ThirdPartyNotices.txt", | ||
| "sha256": "e00f828e0a33de591a355ae6606d2625f5758da7d2c844db7821c9dd3e3647b6" | ||
| "sha256": "fb0af774b4d7cffc5b9d046f2aaeade2f37df2f80abf8033c95dfffcc77a8866" | ||
| }, | ||
| { | ||
| "bytes": 1094, | ||
| "path": "licenses/onnxruntime-webgpu-MIT.txt", | ||
| "sha256": "c250d6278f0b47a6439fb7592b08b58a55eb9f535aa49a1db63211c3f982b674" | ||
| }, | ||
| { | ||
| "bytes": 331175, | ||
| "path": "licenses/onnxruntime-webgpu-ThirdPartyNotices.txt", | ||
| "sha256": "fb0af774b4d7cffc5b9d046f2aaeade2f37df2f80abf8033c95dfffcc77a8866" | ||
| }, | ||
| { | ||
| "bytes": 11358, | ||
@@ -76,20 +86,45 @@ "path": "licenses/opencv-Apache-2.0.txt", | ||
| { | ||
| "bytes": 3588608, | ||
| "bytes": 2510, | ||
| "path": "licenses/stb-MIT-or-Unlicense.txt", | ||
| "sha256": "bebfe904b14301657e4e5d655c811d51fd31b97c455b9cc2d8600d6bac6cff63" | ||
| }, | ||
| { | ||
| "bytes": 17986360, | ||
| "path": "native/dxcompiler.dll", | ||
| "sha256": "2cec74ef87a1171e4502c7d735169756bf4c528676ea354bfde24b01394965f0" | ||
| }, | ||
| { | ||
| "bytes": 1508664, | ||
| "path": "native/dxil.dll", | ||
| "sha256": "0767448abeade590821e88e56c471e0f2dfe89ec9a7642d08adc3dc94f14ab92" | ||
| }, | ||
| { | ||
| "bytes": 3851264, | ||
| "path": "native/light_ocr_node.node", | ||
| "sha256": "9d8928440ce20085220afc98c6d6f5f389b3b98d43cb2db3d53b9bb0e83badcc" | ||
| "sha256": "d7cd250f01a49f44be30fead97bbc373b4bf83b6e941ba2fe81858440f30fddc" | ||
| }, | ||
| { | ||
| "bytes": 12418080, | ||
| "bytes": 14203464, | ||
| "path": "native/onnxruntime.dll", | ||
| "sha256": "579b636403983254346a5c1d80bd28f1519cd1e284cd204f8d4ff41f8d711559" | ||
| "sha256": "b95efb2113b603bbbf3f191061c5516a871ed546893c820e4f3b7b6c358dbf2a" | ||
| }, | ||
| { | ||
| "bytes": 8807264, | ||
| "path": "native/onnxruntime_providers_webgpu.dll", | ||
| "sha256": "591e286a211b133e3c4e5c833febf2d594b7b548433a2490407b11b906a9271b" | ||
| }, | ||
| { | ||
| "bytes": 2730, | ||
| "path": "native/runtime-descriptor.json", | ||
| "sha256": "8ffa2e235de103284424fbc2c503d2d2dc0fa766068b6ac9b2887fca58209097" | ||
| }, | ||
| { | ||
| "bytes": 860, | ||
| "path": "package.json", | ||
| "sha256": "a353cb5e45aed9a349dedce661e6c94e6effd14297f65980f4d61d0f4b3b68a5" | ||
| "sha256": "b2821c3ee7572cc0d47fa5426def9cc229d4398f5974c38f2c1aa7cefc3d9d3f" | ||
| }, | ||
| { | ||
| "bytes": 4345, | ||
| "bytes": 5672, | ||
| "path": "sbom.spdx.json", | ||
| "sha256": "ba9b352bce512ef2951104437402dfab4d637378d6f61b0b20e44c184a8228aa" | ||
| "sha256": "5d3670590f788808f28eb42983950fae1084198660f65e25cba1c466f0778aa7" | ||
| } | ||
@@ -99,3 +134,3 @@ ], | ||
| "schemaVersion": "1.0", | ||
| "version": "0.1.0" | ||
| "version": "0.3.0" | ||
| } |
@@ -1,1 +0,1 @@ | ||
| {"files":[{"component":"onnxruntime","file":"licenses/onnxruntime-MIT.txt","sha256":"c250d6278f0b47a6439fb7592b08b58a55eb9f535aa49a1db63211c3f982b674"},{"component":"onnxruntime","file":"licenses/onnxruntime-ThirdPartyNotices.txt","sha256":"e00f828e0a33de591a355ae6606d2625f5758da7d2c844db7821c9dd3e3647b6"},{"component":"opencv","file":"licenses/opencv-Apache-2.0.txt","sha256":"cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30"},{"component":"opencv","file":"licenses/opencv-COPYRIGHT.txt","sha256":"bba849c98da85a2b27b86113284a90812c959b1c1fc4ed67de9355475d1e6831"},{"component":"zlib","file":"licenses/opencv-zlib.txt","sha256":"845efc77857d485d91fb3e0b884aaa929368c717ae8186b66fe1ed2495753243"},{"component":"clipper","file":"licenses/clipper-BSL-1.0.txt","sha256":"32ee7398e3123736fd14e9f08287edc2d97ace102ab54d8dc4edc8d31c651fa8"},{"component":"nlohmann-json","file":"licenses/nlohmann-json-MIT.txt","sha256":"86b998c792894ccb911a1cb7994f7a9652894e7a094c0b5e45be2f553f45cf14"},{"component":"PP-OCRv6-models","file":"licenses/PP-OCRv6-Apache-2.0.txt","sha256":"3840c5c0c61c294264d2dd77b8777be6ddd90121ef4e0e64abcd22edea581d6e"},{"component":"PP-OCRv6-models","file":"licenses/PP-OCRv6-MODEL-NOTICE.md","sha256":"381c555aebec730789e4f7a60583024ba7d7c026a5a223ac938c91767e4e91ff"},{"component":"carotene","file":"licenses/opencv-carotene-BSD-3-Clause.txt","sha256":"0bccc9a19466df14bd38c8722cc1a692327f5db8f7a0f75f4162620e0e3be59a"}],"schemaVersion":"1.0"} | ||
| {"files":[{"component":"opencv","file":"licenses/opencv-Apache-2.0.txt","sha256":"cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30"},{"component":"opencv","file":"licenses/opencv-COPYRIGHT.txt","sha256":"bba849c98da85a2b27b86113284a90812c959b1c1fc4ed67de9355475d1e6831"},{"component":"zlib","file":"licenses/opencv-zlib.txt","sha256":"845efc77857d485d91fb3e0b884aaa929368c717ae8186b66fe1ed2495753243"},{"component":"clipper","file":"licenses/clipper-BSL-1.0.txt","sha256":"32ee7398e3123736fd14e9f08287edc2d97ace102ab54d8dc4edc8d31c651fa8"},{"component":"nlohmann-json","file":"licenses/nlohmann-json-MIT.txt","sha256":"86b998c792894ccb911a1cb7994f7a9652894e7a094c0b5e45be2f553f45cf14"},{"component":"onnxruntime","file":"licenses/onnxruntime-MIT.txt","sha256":"c250d6278f0b47a6439fb7592b08b58a55eb9f535aa49a1db63211c3f982b674"},{"component":"onnxruntime","file":"licenses/onnxruntime-ThirdPartyNotices.txt","sha256":"fb0af774b4d7cffc5b9d046f2aaeade2f37df2f80abf8033c95dfffcc77a8866"},{"component":"onnxruntime-webgpu","file":"licenses/onnxruntime-webgpu-MIT.txt","sha256":"c250d6278f0b47a6439fb7592b08b58a55eb9f535aa49a1db63211c3f982b674"},{"component":"onnxruntime-webgpu","file":"licenses/onnxruntime-webgpu-ThirdPartyNotices.txt","sha256":"fb0af774b4d7cffc5b9d046f2aaeade2f37df2f80abf8033c95dfffcc77a8866"},{"component":"stb","file":"licenses/stb-MIT-or-Unlicense.txt","sha256":"bebfe904b14301657e4e5d655c811d51fd31b97c455b9cc2d8600d6bac6cff63"},{"component":"PP-OCRv6-models","file":"licenses/PP-OCRv6-Apache-2.0.txt","sha256":"3840c5c0c61c294264d2dd77b8777be6ddd90121ef4e0e64abcd22edea581d6e"},{"component":"PP-OCRv6-models","file":"licenses/PP-OCRv6-MODEL-NOTICE.md","sha256":"381c555aebec730789e4f7a60583024ba7d7c026a5a223ac938c91767e4e91ff"},{"component":"carotene","file":"licenses/opencv-carotene-BSD-3-Clause.txt","sha256":"0bccc9a19466df14bd38c8722cc1a692327f5db8f7a0f75f4162620e0e3be59a"}],"schemaVersion":"1.0"} |
@@ -40,3 +40,3 @@ { | ||
| }, | ||
| "version": "0.1.0" | ||
| "version": "0.3.0" | ||
| } |
@@ -1,1 +0,1 @@ | ||
| {"SPDXID":"SPDXRef-DOCUMENT","creationInfo":{"created":"2026-07-14T06:48:25Z","creators":["Tool: light-ocr-generate-release-metadata/1.0"]},"dataLicense":"CC0-1.0","documentDescribes":["SPDXRef-Package-light-ocr-core"],"documentNamespace":"https://light-ocr.invalid/spdx/8e5ffa2d5bb2eca5dae4ae58ca95db9a5615aaa4c09d0babd4dfb2abcae2b60b","name":"light-ocr-core-windows-x64","packages":[{"SPDXID":"SPDXRef-Package-light-ocr-core","copyrightText":"Copyright 2026 light-ocr contributors","downloadLocation":"NOASSERTION","filesAnalyzed":false,"licenseConcluded":"Apache-2.0","licenseDeclared":"Apache-2.0","name":"light-ocr-core","versionInfo":"0.1.0"},{"SPDXID":"SPDXRef-Package-onnxruntime","checksums":[{"algorithm":"SHA256","checksumValue":"d571e63a2329baacb713f441e65ad75284de354db6e1ac435fe4bebbb417986a"}],"copyrightText":"NOASSERTION","downloadLocation":"https://api.nuget.org/v3-flatcontainer/microsoft.ml.onnxruntime/1.22.0/microsoft.ml.onnxruntime.1.22.0.nupkg","filesAnalyzed":false,"licenseConcluded":"MIT","licenseDeclared":"MIT","name":"onnxruntime","versionInfo":"1.22.0"},{"SPDXID":"SPDXRef-Package-opencv","checksums":[{"algorithm":"SHA256","checksumValue":"b2171af5be6b26f7a06b1229948bbb2bdaa74fcf5cd097e0af6378fce50a6eb9"}],"copyrightText":"NOASSERTION","downloadLocation":"https://codeload.github.com/opencv/opencv/tar.gz/refs/tags/4.10.0","filesAnalyzed":false,"licenseConcluded":"Apache-2.0","licenseDeclared":"Apache-2.0","name":"opencv","versionInfo":"4.10.0"},{"SPDXID":"SPDXRef-Package-opencv-zlib","copyrightText":"NOASSERTION","downloadLocation":"https://codeload.github.com/opencv/opencv/tar.gz/refs/tags/4.10.0","filesAnalyzed":false,"licenseConcluded":"Zlib","licenseDeclared":"Zlib","name":"zlib","versionInfo":"1.3.1"},{"SPDXID":"SPDXRef-Package-opencv-carotene","copyrightText":"NOASSERTION","downloadLocation":"https://codeload.github.com/opencv/opencv/tar.gz/refs/tags/4.10.0","filesAnalyzed":false,"licenseConcluded":"BSD-3-Clause","licenseDeclared":"BSD-3-Clause","name":"carotene","versionInfo":"0.0.1"},{"SPDXID":"SPDXRef-Package-clipper","checksums":[{"algorithm":"SHA256","checksumValue":"2be14496a1609fa8602d9d3672c83ee95d5ef44a08b765a60e65b93a68882ff6"}],"copyrightText":"NOASSERTION","downloadLocation":"https://codeload.github.com/fonttools/pyclipper/tar.gz/refs/tags/1.3.0.post6","filesAnalyzed":false,"licenseConcluded":"BSL-1.0","licenseDeclared":"BSL-1.0","name":"clipper","versionInfo":"6.4.2-pyclipper-1.3.0.post6"},{"SPDXID":"SPDXRef-Package-nlohmann-json","checksums":[{"algorithm":"SHA256","checksumValue":"0d8ef5af7f9794e3263480193c491549b2ba6cc74bb018906202ada498a79406"}],"copyrightText":"NOASSERTION","downloadLocation":"https://codeload.github.com/nlohmann/json/tar.gz/refs/tags/v3.11.3","filesAnalyzed":false,"licenseConcluded":"MIT","licenseDeclared":"MIT","name":"nlohmann-json","versionInfo":"3.11.3"},{"SPDXID":"SPDXRef-Package-PP-OCRv6-small-models","checksums":[{"algorithm":"SHA256","checksumValue":"74e246bf075c141da51e58515c731298fdabee9fd5bd8feb7cf6c7f4f352de17"}],"copyrightText":"NOASSERTION","downloadLocation":"https://paddle-model-ecology.bj.bcebos.com/paddlex/official_inference_model/paddle3.0.0/PP-OCRv6_small_det_onnx_infer.tar","filesAnalyzed":false,"licenseConcluded":"Apache-2.0","licenseDeclared":"Apache-2.0","name":"PP-OCRv6-small-ONNX-models","versionInfo":"ppocrv6-small-onnx-20260714.1"}],"relationships":[{"relatedSpdxElement":"SPDXRef-Package-onnxruntime","relationshipType":"DEPENDS_ON","spdxElementId":"SPDXRef-Package-light-ocr-core"},{"relatedSpdxElement":"SPDXRef-Package-opencv","relationshipType":"DEPENDS_ON","spdxElementId":"SPDXRef-Package-light-ocr-core"},{"relatedSpdxElement":"SPDXRef-Package-opencv-zlib","relationshipType":"CONTAINS","spdxElementId":"SPDXRef-Package-opencv"},{"relatedSpdxElement":"SPDXRef-Package-opencv-carotene","relationshipType":"CONTAINS","spdxElementId":"SPDXRef-Package-opencv"},{"relatedSpdxElement":"SPDXRef-Package-clipper","relationshipType":"DEPENDS_ON","spdxElementId":"SPDXRef-Package-light-ocr-core"},{"relatedSpdxElement":"SPDXRef-Package-nlohmann-json","relationshipType":"DEPENDS_ON","spdxElementId":"SPDXRef-Package-light-ocr-core"},{"relatedSpdxElement":"SPDXRef-Package-PP-OCRv6-small-models","relationshipType":"DEPENDS_ON","spdxElementId":"SPDXRef-Package-light-ocr-core"}],"spdxVersion":"SPDX-2.3"} | ||
| {"SPDXID":"SPDXRef-DOCUMENT","creationInfo":{"created":"2026-07-19T16:28:35Z","creators":["Tool: light-ocr-generate-release-metadata/1.0"]},"dataLicense":"CC0-1.0","documentDescribes":["SPDXRef-Package-light-ocr-core"],"documentNamespace":"https://light-ocr.invalid/spdx/766e587012563c72c05419b07c590fe7669732cddd52859f7c21bb7afa5d5b92","name":"light-ocr-core-windows-x64","packages":[{"SPDXID":"SPDXRef-Package-light-ocr-core","copyrightText":"Copyright 2026 light-ocr contributors","downloadLocation":"NOASSERTION","filesAnalyzed":false,"licenseConcluded":"Apache-2.0","licenseDeclared":"Apache-2.0","name":"light-ocr-core","versionInfo":"0.1.0"},{"SPDXID":"SPDXRef-Package-opencv","checksums":[{"algorithm":"SHA256","checksumValue":"b2171af5be6b26f7a06b1229948bbb2bdaa74fcf5cd097e0af6378fce50a6eb9"}],"copyrightText":"NOASSERTION","downloadLocation":"https://codeload.github.com/opencv/opencv/tar.gz/refs/tags/4.10.0","filesAnalyzed":false,"licenseConcluded":"Apache-2.0","licenseDeclared":"Apache-2.0","name":"opencv","versionInfo":"4.10.0"},{"SPDXID":"SPDXRef-Package-opencv-zlib","copyrightText":"NOASSERTION","downloadLocation":"https://codeload.github.com/opencv/opencv/tar.gz/refs/tags/4.10.0","filesAnalyzed":false,"licenseConcluded":"Zlib","licenseDeclared":"Zlib","name":"zlib","versionInfo":"1.3.1"},{"SPDXID":"SPDXRef-Package-opencv-carotene","copyrightText":"NOASSERTION","downloadLocation":"https://codeload.github.com/opencv/opencv/tar.gz/refs/tags/4.10.0","filesAnalyzed":false,"licenseConcluded":"BSD-3-Clause","licenseDeclared":"BSD-3-Clause","name":"carotene","versionInfo":"0.0.1"},{"SPDXID":"SPDXRef-Package-clipper","checksums":[{"algorithm":"SHA256","checksumValue":"2be14496a1609fa8602d9d3672c83ee95d5ef44a08b765a60e65b93a68882ff6"}],"copyrightText":"NOASSERTION","downloadLocation":"https://codeload.github.com/fonttools/pyclipper/tar.gz/refs/tags/1.3.0.post6","filesAnalyzed":false,"licenseConcluded":"BSL-1.0","licenseDeclared":"BSL-1.0","name":"clipper","versionInfo":"6.4.2-pyclipper-1.3.0.post6"},{"SPDXID":"SPDXRef-Package-stb","checksums":[{"algorithm":"SHA256","checksumValue":"e4e3bba9c572a4a4148373a914d88ea0f0d11de8cc2c66739926e7eca0223319"}],"copyrightText":"NOASSERTION","downloadLocation":"https://codeload.github.com/nothings/stb/tar.gz/31c1ad37456438565541f4919958214b6e762fb4","filesAnalyzed":false,"licenseConcluded":"MIT OR Unlicense","licenseDeclared":"MIT OR Unlicense","name":"stb","versionInfo":"31c1ad37456438565541f4919958214b6e762fb4"},{"SPDXID":"SPDXRef-Package-nlohmann-json","checksums":[{"algorithm":"SHA256","checksumValue":"0d8ef5af7f9794e3263480193c491549b2ba6cc74bb018906202ada498a79406"}],"copyrightText":"NOASSERTION","downloadLocation":"https://codeload.github.com/nlohmann/json/tar.gz/refs/tags/v3.11.3","filesAnalyzed":false,"licenseConcluded":"MIT","licenseDeclared":"MIT","name":"nlohmann-json","versionInfo":"3.11.3"},{"SPDXID":"SPDXRef-Package-onnxruntime","checksums":[{"algorithm":"SHA512","checksumValue":"f5dd415dfcafcb3a7461f10a08f0337ea22c1ba8f8af81316daabf7496075add181aecb0de3cabebebdb9f5da3afbe507480aaf34b76e1189409088ccc5c2eac"}],"copyrightText":"NOASSERTION","downloadLocation":"https://api.nuget.org/v3-flatcontainer/microsoft.ml.onnxruntime/1.24.4/microsoft.ml.onnxruntime.1.24.4.nupkg","filesAnalyzed":false,"licenseConcluded":"MIT","licenseDeclared":"MIT","name":"Microsoft.ML.OnnxRuntime","versionInfo":"1.24.4"},{"SPDXID":"SPDXRef-Package-webgpu","checksums":[{"algorithm":"SHA512","checksumValue":"d048cfb4a687d82547338cdf36649c95dfac0a254a752e2e53b5f2faeccfacf4e7b2ed3125e03e5f58bc1c23c6c7cbe356fa513c99b3ad217f491ac1c80bb92a"}],"copyrightText":"NOASSERTION","downloadLocation":"https://api.nuget.org/v3-flatcontainer/microsoft.ml.onnxruntime.ep.webgpu/0.1.0/microsoft.ml.onnxruntime.ep.webgpu.0.1.0.nupkg","filesAnalyzed":false,"licenseConcluded":"MIT","licenseDeclared":"MIT","name":"Microsoft.ML.OnnxRuntime.EP.WebGpu","versionInfo":"0.1.0"},{"SPDXID":"SPDXRef-Package-PP-OCRv6-small-models","checksums":[{"algorithm":"SHA256","checksumValue":"e543b93bc4882f35b1564a71961e5bc55439ede6c2f33b4166acc15e6348712f"}],"copyrightText":"NOASSERTION","downloadLocation":"https://paddle-model-ecology.bj.bcebos.com/paddlex/official_inference_model/paddle3.0.0/PP-OCRv6_small_det_onnx_infer.tar","filesAnalyzed":false,"licenseConcluded":"Apache-2.0","licenseDeclared":"Apache-2.0","name":"PP-OCRv6-small-ONNX-models","versionInfo":"ppocrv6-small-onnx-20260714.2"}],"relationships":[{"relatedSpdxElement":"SPDXRef-Package-opencv","relationshipType":"DEPENDS_ON","spdxElementId":"SPDXRef-Package-light-ocr-core"},{"relatedSpdxElement":"SPDXRef-Package-opencv-zlib","relationshipType":"CONTAINS","spdxElementId":"SPDXRef-Package-opencv"},{"relatedSpdxElement":"SPDXRef-Package-opencv-carotene","relationshipType":"CONTAINS","spdxElementId":"SPDXRef-Package-opencv"},{"relatedSpdxElement":"SPDXRef-Package-clipper","relationshipType":"DEPENDS_ON","spdxElementId":"SPDXRef-Package-light-ocr-core"},{"relatedSpdxElement":"SPDXRef-Package-stb","relationshipType":"DEPENDS_ON","spdxElementId":"SPDXRef-Package-light-ocr-core"},{"relatedSpdxElement":"SPDXRef-Package-nlohmann-json","relationshipType":"DEPENDS_ON","spdxElementId":"SPDXRef-Package-light-ocr-core"},{"relatedSpdxElement":"SPDXRef-Package-onnxruntime","relationshipType":"DEPENDS_ON","spdxElementId":"SPDXRef-Package-light-ocr-core"},{"relatedSpdxElement":"SPDXRef-Package-webgpu","relationshipType":"DEPENDS_ON","spdxElementId":"SPDXRef-Package-light-ocr-core"},{"relatedSpdxElement":"SPDXRef-Package-PP-OCRv6-small-models","relationshipType":"DEPENDS_ON","spdxElementId":"SPDXRef-Package-light-ocr-core"}],"spdxVersion":"SPDX-2.3"} |
+1
-1
| { | ||
| "name": "dimcode-windows-x64", | ||
| "version": "0.2.33", | ||
| "version": "0.2.35-beta.0", | ||
| "description": "dimcode binary for Windows x64", | ||
@@ -5,0 +5,0 @@ "os": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Copyleft License
LicenseCopyleft license information was found.
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Mixed license
LicensePackage contains multiple licenses.
Non-permissive License
LicenseA license not known to be considered permissive was found.
Unidentified License
LicenseSomething that seems like a license was found, but its contents could not be matched with a known license.
Found 6 instances
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Copyleft License
LicenseCopyleft license information was found.
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Mixed license
LicensePackage contains multiple licenses.
Non-permissive License
LicenseA license not known to be considered permissive was found.
Unidentified License
LicenseSomething that seems like a license was found, but its contents could not be matched with a known license.
Found 4 instances
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
321909152
29.73%509
7.84%50809
2.33%9
28.57%60
-14.29%87
1.16%32
10.34%