前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >UnsatisfiedLinkError: Error looking up function 'TessBaseAPICreate': /usr/lib/lib2.so.3.0.2:

UnsatisfiedLinkError: Error looking up function 'TessBaseAPICreate': /usr/lib/lib2.so.3.0.2:

作者头像
bear_fish
发布2018-09-19 13:14:11
9380
发布2018-09-19 13:14:11
举报

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://cloud.tencent.com/developer/article/1342982

this may be the version of tesseract is not compatible to ubuntu version

as to me my programe runs in win10   has no  error ,but when in ubuntu 12.04  this error occurs

maybe  I install tesseract by the command

sudo apt-get install tesseract-ocr

but indeed in  ubuntu  

代码语言:javascript
复制
sudo apt-get install libpng-dev libjpeg-dev libtiff-dev zlib1g-dev
sudo apt-get install gcc g++
sudo apt-get install autoconf automake libtool checkinstall

wget will fail ,you can download it first,and then upload to the server(leptonica-1.69.tar.gz google to download

Install Leptonica from source. The latest version as of writing is 1.69.

代码语言:javascript
复制
wget http://www.leptonica.org/source/leptonica-1.69.tar.gz
tar -zxvf leptonica-1.69.tar.gz
cd leptonica-1.69
./configure
make
sudo checkinstall
sudo ldconfig

Then install Tesseract OCR from source.

代码语言:javascript
复制
wget https://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.02.tar.gz
tar -zxvf tesseract-ocr-3.02.02.tar.gz
cd tesseract-ocr
./autogen.sh
./configure
make (this may take a while)
sudo make install
sudo ldconfig

after this i solve this problem

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2016年12月26日,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
相关产品与服务
AI 应用产品
文字识别(Optical Character Recognition,OCR)基于腾讯优图实验室的深度学习技术,将图片上的文字内容,智能识别成为可编辑的文本。OCR 支持身份证、名片等卡证类和票据类的印刷体识别,也支持运单等手写体识别,支持提供定制化服务,可以有效地代替人工录入信息。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档