【问题标题】:adding tesseract library to c++ project in xcode在 xcode 中将 tesseract 库添加到 c++ 项目
【发布时间】:2016-04-07 15:09:44
【问题描述】:

我在 mac os 中使用 C++ 和 tesseract 库。 I installed tesseract librarybrew install tesseract

$ tesseract --version
tesseract 3.04.00
 leptonica-1.72
  libjpeg 8d : libpng 1.6.20 : libtiff 4.0.6 : zlib 1.2.5

我在以下路径中安装了 tesseract,

$ ll /usr/local/Cellar/tesseract/3.04.00/
total 72
-rw-r--r--  1 prayagupd  admin   440 Jul 11  2015 AUTHORS
-rw-r--r--  1 prayagupd  admin  1007 Jul 11  2015 COPYING
-rw-r--r--  1 prayagupd  admin  9773 Jul 11  2015 ChangeLog
-rw-r--r--  1 prayagupd  admin   332 Apr  6 19:44 INSTALL_RECEIPT.json
-rw-r--r--  1 prayagupd  admin    45 Jul 11  2015 NEWS
-rw-r--r--  1 prayagupd  admin  6326 Apr  6 19:44 README
drwxr-xr-x  3 prayagupd  admin   102 Aug 21  2015 bin
drwxr-xr-x  3 prayagupd  admin   102 Aug 21  2015 include
drwxr-xr-x  6 prayagupd  admin   204 Aug 21  2015 lib
drwxr-xr-x  4 prayagupd  admin   136 Aug 21  2015 share

接下来我想要将 tesseract lib 添加到 C++ 项目(我使用 xcode 创建的)。我的假设是 tesseract 一旦安装后可用于任何 c++ 项目,但我在我的 c++ 项目中看不到导入。找不到文件baseapi.h

我从这里跟随示例 - API examples

我觉得我仍然需要在 xcode 中将 lib tesseract 到 c++ 项目,但不知道如何。

【问题讨论】:

    标签: c++ xcode tesseract


    【解决方案1】:

    您是否尝试在“$ ll /usr/local/Cellar/tesseract/3.04.00/api/”下查看?至少,这是我在我的 tesseract 文件夹中找到它的地方。

    【讨论】:

    • tesseract/3.04.00 里面没有我的 api 包
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-04-03
    • 2012-09-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-11-16
    相关资源
    最近更新 更多