Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8019093
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T21:17:00+00:00 2026-06-04T21:17:00+00:00

I am trying to use Tesseract OCR Library in order to create a program

  • 0

I am trying to use Tesseract OCR Library in order to create a program to read pictures of elevator floor numbers. I haven’t found any example on how to include the Tesseract Library into a C++ file. Something like:

#include "tesseract.h"

I am using Tesseract v 3.00 on Ubuntu 10.10.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T21:17:01+00:00Added an answer on June 4, 2026 at 9:17 pm

    The PlatformStatus Page has some comments on how to install it. It has dependencies (leptonica) which also need to be installed.

    Another solution also linked from the above discussion has similar details for other linux distributions.

    When it comes to linking with your program, this post has some specifics

    There is also a C wrapper to the underlying API calls; looking at the files included should tell you what to include. Other wrappers are available here.

    The documentation of the base API class are here…

    A comment from the Platform Status page for the installation.

    Comment by tim.lawr…@gmail.com, Nov 23, 2011
    I successfully installed tesseract-ocr on Ubuntu 11.10 64Bit using these commands:

    sudo apt-get install libleptonica-dev autoconf automake libtool libpng12-dev libjpeg62- dev libtiff4-dev zlib1g-dev subversion g++
    cd
    svn checkout http://tesseract-ocr.googlecode.com/svn/trunk/ tesseract-ocr
    cd tesseract-ocr
    ./autogen.sh
    ./configure
    make
    sudo make install
    sudo ldconfig
    cd /usr/local/share/tessdata/
    sudo wget http://tesseract-ocr.googlecode.com/files/eng.traineddata.gz
    sudo gunzip eng.traineddata.gz
    cd ~/tesseract-ocr/
    tesseract phototest.tif phototest
    cat phototest.txt
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use Tesseract-OCR to detect the text of images with pure text
I'm trying to use tesseract from command line to run OCR on the content
I am trying to use tesseract-2.04 in my iPhone application and just want to
I'm trying to compile OCR 0.4, an optical recognizing program by Google. As written
I am trying use javascript regular expressions to do some matching and I found
Anyone know how to create a cvCreateStructuringElementEx using a image? I'm trying use opencv.cv.cvCreateStructuringElementEx()
I am relatively new to CMake, and I'm trying use the boost asio library
I am trying use an if statement and TWO .addClass background-color variables based on
I was trying use svn to find a checkin using svn log, but it
I was trying use a set of filter functions to run the appropriate routine,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.