资源简介
leptonica-1.78.0官方最新版,直接下载编译之后即可使用。
代码片段和文件信息
void build(Solution &s)
{
auto &leptonica = s.addTarget(“danbloomberg.leptonica“ “1.78.0“);
leptonica += Git(“https://github.com/DanBloomberg/leptonica“ “{v}“);
{
leptonica.setChecks(“leptonica“);
leptonica +=
“src/.*\\.c“_rr
“src/.*\\.h“_rr
“src/endianness.h.in“;
leptonica.Public +=
“src“_id;
leptonica.Private += “HAVE_LIBGIF“_d;
leptonica.Private += “HAVE_LIBJP2K“_d;
leptonica.Private += “HAVE_LIBJPEG“_d;
leptonica.Private += “HAVE_LIBPNG“_d;
leptonica.Private += “HAVE_LIBTIFF“_d;
leptonica.Private += “HAVE_LIBWEBP“_d;
leptonica.Private += “HAVE_LIBZ“_d;
leptonica.Private += “LIBJP2K_HEADER=\“openjpeg.h\““_d;
leptonica.Public += “HAVE_CONFIG_H“_d;
leptonica.Private += sw::Shared “LIBLEPT_EXPORTS“_d;
leptonica.Interface += sw::Shared “LIBLEPT_IMPORTS“_d;
leptonica += “org.sw.demo.gif-5“_dep;
leptonica += “org.sw.demo.jpeg-9“_dep;
leptonica += “org.sw.demo.uclouvain.openjpeg.openjp2-2“_dep;
leptonica += “org.sw.demo.glennrp.png-1“_dep;
leptonica += “org.sw.demo.tiff-4“_dep;
leptonica += “org.sw.demo.webmproject.webp-*“_dep;
if (leptonica.Variables[“WORDS_BIGENDIAN“] == 1)
leptonica.Variables[“ENDIANNESS“] = “L_BIG_ENDIAN“;
else
leptonica.Variables[“ENDIANNESS“] = “L_LITTLE_ENDIAN“;
leptonica.Variables[“APPLE_UNIVERSAL_BUILD“] = “defined (__APPLE_CC__)“;
leptonica.configureFile(“src/endianness.h.in“ “endianness.h“);
leptonica.writeFileOnce(“config_auto.h“);
if (s.Settings.Native.CompilerType == CompilerType::MSVC)
{
for (auto *f : leptonica.gatherSourceFiles())
f->BuildAs = NativeSourceFile::CPP;
}
if (s.Settings.TargetOS.Type == OSType::Windows)
leptonica += “User32.lib“_l “Gdi32.lib“_l;
}
auto &progs = leptonica.addDirectory(“progs“);
if (s.DryRun)
progs.Scope = TargetScope::Test;
{
auto add_prog = [&s &progs &leptonica](const String &name const Files &files) -> decltype(auto)
{
auto &t = progs.addExecutable(name);
t.setRootDirectory(“prog“);
t += files;
t += leptonica;
if (s.Settings.Native.CompilerType == CompilerType::MSVC)
{
for (auto *f : t.gatherSourceFiles())
f->BuildAs = NativeSourceFile::CPP;
}
return t;
};
StringMap m_progs{
{“adaptmap_reg“ {“adaptmap_reg.c“}}
{“adaptnorm_reg“ {“adaptnorm_reg.c“}}
{“affine_reg“ {“affine_reg.c“}}
{“alltests_reg“ {“alltests_reg.c“}}
{“alphaops_reg“ {“alphaops_reg.c“}}
{“alphaxform_reg“ {“alphaxform_reg.c“}}
{“baseline_reg“ {“basel
- 上一篇:双向DC-DC给锂电池恒压充电
- 下一篇:录波文件查看工具适用于电力故障录波文件
相关资源
- 开源图像库leptonica头文件和库文件
- IDCardOCR_China 基于tesseract,实现摄像头
- tesseract-ocr-3.01
- Tesseract(DLL)
- jTessBoxEditor.zip
- tessent MemoryBist UserGuide March 2019
- https://github.com/rmtheis/tess-two编译出来的
- tess4j.rar
- OCRTessnet与Data
- tesseract-ocr/tessdata 语言包
- Tesseract-OCR在VS2010下调用API所需要的
- tesserocr的轮子,pip失败可尝试
- tesseract-ocr- 的字母数字识别
- leptonica-1.68-win32-lib-include-dirs.zip库 o
- tesseract_lib_vs2010编译好的dll库和lib文件
- tesserocr-2.4.0-cp37-cp37m-win32.whl
- tesseract环境
- tesseract-ocr2500常用字宋体字库
- tesserocr-2.3.1-cp37-cp37m-win_amd64.whl
- tesseract-3.04.00.tar.gz
- 我的笔记tesseract编译安装过程(lept
- Tesseract&Leptonica库 VS2010
- vitess交换芯片开发总结
- tesseract 用于vs2013的include-lib-dll文件
- tesserocr-2.2.2-cp36-cp36m-win_amd64.whl
- tesseract 3.04.01最新版本
- jTessBoxEditor-2.2.1.zip
- jTessBoxEditor-2.2.0 .zip
- tesseract-ocr-w64-setup-v5.0.0-alpha.20191030.
- Tesseract中文语言包chi_sim经过多次训练
评论
共有 条评论