【问题标题】:tesseract build error in visual studio 2013Visual Studio 2013 中的 tesseract 构建错误
【发布时间】:2016-01-31 04:52:32
【问题描述】:

我正在尝试在 Visual Studio 2013 中构建 tesseract,但存在这样的问题。我按照http://vorba.ch/2014/tesseract-3.03-vs2013.html 的指南进行操作,但解决方案的构建不起作用。你知道我应该怎么做吗?

enter image description here

【问题讨论】:

    标签: c++ ocr


    【解决方案1】:

    File->Save equationdetect.cpp as->点击“Save”旁边的下拉按钮-> 选择“使用编码保存”->点击是覆盖->选择简体中文GB2312 然后我能够在 MSVC 2015 下使用 Release build for x64 target 进行编译。

    【讨论】:

      【解决方案2】:

      该网络教程指南上应该是拼写错误(不是 F7,而是 F6)。 顺便说一句,原始代码(equationdetect.cpp): static const STRING kCharsToEx[] = {"'", "`", "\"", "\", ",", ".","〈", "〉", "《", "》", " 」", "「", ""};

      替换为: static const STRING kCharsToEx[] = { "'", "`", "\"", "\", ",", ".", "〈 ", "〉 ", "《 ", "》 ", " ””、“”、“”};

      然后重新构建可以通过VS2013。

      【讨论】:

        猜你喜欢
        • 2014-10-18
        • 1970-01-01
        • 2023-03-05
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多