使用 VCPKG 打包 Tesseract 5

Packaging Tesseract 5 with VCPKG

我正在按照 https://tesseract-ocr.github.io/tessdoc/Compiling.html#windows 和 运行 处的说明进行操作: vcpkg install tesseract:x86-windows-static 它正在拉下 tesseract 4。我试过了使用 -head 并且它仍然下拉 4. 知道如何为 tesseract 5.x 构建独立的可执行文件吗?

目前vcpkg支持4.1.1版本:https://vcpkg.info/port/tesseract

有更新请求:https://github.com/microsoft/vcpkg/issues/16019 自 2021 年 2 月 3 日起 Microsoft 忽略了 ;-)

您可以(手动)升级 vcpkg 中的 tesseract 版本。请参阅 tesseract 论坛讨论:https://groups.google.com/g/tesseract-ocr/c/2xAJaGRqymw?pli=1