Repository navigation
Text recognition module (ocr-2)
The optional text recognition module of sniplite. sniplite downloads it by itself when you install the module in Settings (the OCR page) or tick it in the installer, so there is nothing to do with these files by hand. It is not a version of the program: that is in the latest release.
sniplite_ocr.zip holds the ocr folder that belongs next to sniplite.exe:
| File | What it is |
|---|---|
onnxruntime.dll |
ONNX Runtime 1.26.0 |
vcruntime140.dll, vcruntime140_1.dll, msvcp140.dll, msvcp140_1.dll |
the Visual C++ runtime 14.51.36247 that onnxruntime.dll needs, so the module also works on a PC without the Visual C++ Redistributable |
PP-OCRv6_det_tiny.onnx, PP-OCRv6_rec_tiny.onnx |
the PP-OCRv6 text detection and recognition models |
NOTICE.txt, LICENSE-onnxruntime.txt, ThirdPartyNotices-onnxruntime.txt, LICENSE-PaddleOCR.txt |
the notice and the licenses |
sniplite_ocr_runtime.zip holds the four runtime files and the notice alone. sniplite 1.5.0 and later fetch it once to complete a module that was installed from ocr-1.
sniplite checks the first seven files against their SHA-256 before it uses them.
Made by others
Everything in these files is the work of others, unchanged:
- ONNX Runtime 1.26.0, Copyright (c) Microsoft Corporation, MIT License: https://github.com/microsoft/onnxruntime
- The Visual C++ runtime files, Copyright (c) Microsoft Corporation. Not open source: files of the Microsoft Visual C++ Redistributable, redistributed under its license terms: https://learn.microsoft.com/cpp/windows/redistributing-visual-cpp-files and https://visualstudio.microsoft.com/license-terms/
- The PP-OCRv6 models of PaddleOCR, Copyright (c) PaddlePaddle Authors, Apache License 2.0: https://github.com/PaddlePaddle/PaddleOCR
- The models are in the ONNX form published by RapidOCR, Apache License 2.0: https://github.com/RapidAI/RapidOCR
The full texts of the open source licenses are inside the zip.
中文
这是 sniplite 可选的文字识别模块,不是程序本身,程序请到最新发布页下载。在首选项的文字识别页点安装,或在安装器里勾选,sniplite 会自己下载这里的文件,不需要手动处理。
和 ocr-1 相比,模块里多带了 onnxruntime.dll 需要的四个 Visual C++ 运行库文件,没装 Visual C++ 运行库的电脑也能用文字识别。sniplite_ocr_runtime.zip 只含这四个文件和说明,1.5.0 及以后的版本用它给之前装好的模块补齐。