Git Product home page Git Product logo

Comments (9)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 30, 2024
Have u installed opencv?
https://gist.github.com/mitmul/9253702

Original comment by [email protected] on 5 Aug 2014 at 1:02

from python-tesseract.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 30, 2024
Yes, I have built it from source as per the instructions in the wiki page as 
well as installing the RPM but I still get the error above. It seems to be 
built correctly.

Original comment by [email protected] on 5 Aug 2014 at 8:15

from python-tesseract.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 30, 2024
But....


Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found

Original comment by [email protected] on 5 Aug 2014 at 8:25

from python-tesseract.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 30, 2024
I have PKG_CONFIG_PATH="/usr/lib/pkgconfig" and 

$ ll /usr/lib/pkgconfig/

gives:

-rw-r--r--. 1 root root 951 Aug  4 22:38 opencv.pc
-rw-r--r--. 1 root root 466 Aug  4 23:21 tesseract.pc



Original comment by [email protected] on 5 Aug 2014 at 8:37

from python-tesseract.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 30, 2024
could you send me a ssh account through my email?

Original comment by [email protected] on 3 Oct 2014 at 4:03

from python-tesseract.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 30, 2024
Same issue here.

Original comment by [email protected] on 12 Nov 2014 at 9:28

from python-tesseract.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 30, 2024
I have opencv installed and setup.py detects it just fine, but I am getting the 
same "no known conversion for argument 6 from ‘STRING*’ to 
‘tesseract::TessResultRenderer*’" error.  I added the flag "-fpermissive", 
still doesn't work.

Original comment by [email protected] on 2 Apr 2015 at 10:09

from python-tesseract.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 30, 2024
Here's something that might point you in the right direction:

In tesseract_wrap.cpp, whenever the type of an argument should be 
tesseract::TessResultRenderer* instead of STRING*, just change the mention 
STRING* to tesseract::TessResultRenderer*.  Then I compiled using the following:

gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -I. 
-I/usr/local/include/tesseract -I/usr/local/include/leptonica 
-I/usr/include/python2.7 -c tesseract_wrap.cpp -o 
build/temp.linux-x86_64-2.7/tesseract_wrap.o -fpermissive -O0 -funroll-loops -g

and I didn't get any errors.  But the real problem is that tesseract_wrap.cpp 
was auto-generated by SWIG, so the bug must be in SWIG!

Original comment by [email protected] on 2 Apr 2015 at 10:51

from python-tesseract.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 30, 2024
Don't use the svn version right now. 
zdenko makes some changes in the svn version which is a bit tricky to wrap

wget https://tesseract-ocr.googlecode.com/archive/3.03-rc1.tar.gz


Original comment by [email protected] on 3 Apr 2015 at 1:04

from python-tesseract.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.