Tesseract version 2.04 - How to Download and Install on Mac OS X
Tuesday the 9th of February, 2010

    tesseract  most recent diff


    version 2.04

      View the most recent changes for the tesseract port at: tesseract.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for tesseract.
      The raw portfile for tesseract 2.04 is located here:
      http://tesseract.darwinports.com/dports/textproc/tesseract/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/tesseract


      The tesseract Portfile 54783 2009-08-02 02:49:36Z toby macports.org $

      PortSystem 1.0

      Name: tesseract
      Version: 2.04
      Category: textproc graphics pdf
      Maintainers: emer.net:emer
      Description: Open source OCR engine
      Long Description: The Tesseract OCR engine was one of the top 3 engines in the 1995 UNLV Accuracy test. Between 1995 and 2006 it had little work done on it, but it is probably one of the most accurate open source OCR engines available. The source code will read a binary, grey or color image and output text. A tiff reader is built in that will read uncompressed TIFF images, or libtiff can be added to read compressed images.

      Platform: darwin
      Homepage: http://code.google.com/p/tesseract-ocr/
      Master Sites: http://tesseract-ocr.googlecode.com/files:src http://tesseract-ocr.googlecode.com/files:langdata

      set lang_data ${name}-2.00.eng${extract.suffix}

      distfiles ${distname}${extract.suffix}:src ${lang_data}:langdata

      Checksums: ${distname}${extract.suffix} md5 b44eba1a9f4892ac62e484c807fe0533 sha1 850c42c92a4471c5f41d4384c57045e812fde26a rmd160 826718ddf491c8b925b02c343d4a4992fd4631d8 ${lang_data} md5 b8291d6b3a63ce7879d688e845e341a9 sha1 40292c8d206090c4ab342f6b7814ea41c075abce rmd160 4a8090729504c216b3988f189ea79a5a5e223173

      post-extract {
      foreach f [exec ls ${workpath}/tessdata/] {
      copy ${workpath}/tessdata/${f} ${worksrcpath}/tessdata
      }
      delete ${workpath}/tessdata
      delete ${worksrcpath}/java/makefile
      }

      depends_lib port:tiff

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/tesseract
      % sudo port install tesseract
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching tesseract
      ---> Verifying checksum for tesseract
      ---> Extracting tesseract
      ---> Configuring tesseract
      ---> Building tesseract with target all
      ---> Staging tesseract into destroot
      ---> Installing tesseract
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using tesseract with these commands:
      %  man tesseract
      % apropos tesseract
      % which tesseract
      % locate tesseract

     Where to find more information:

    Darwin Ports



    Lightbox this page.