No description or website provided.
C++ C Java Objective-C Shell C#
Latest commit 251ce2c Dec 8, 2012 @charlesw Update readme.md
Permalink
Failed to load latest commit information.
api Added a function to retrieve the rotation of the page May 28, 2012
ccmain Changed dll build to generate a .net compatible assembly. Nov 1, 2011
ccstruct fixed "one lib" build on linux; runautoconf renamed to autogen.sh; Oct 16, 2011
ccutil removed BOM form strngs.h, updated NSIS script and COPYING Oct 22, 2011
classify fixed "one lib" build on linux; runautoconf renamed to autogen.sh; Oct 16, 2011
contrib move bash completion script to a contrib directory instead of litteri… May 29, 2010
cube fixed "one lib" build on linux; runautoconf renamed to autogen.sh; Oct 16, 2011
cutil fixed "one lib" build on linux; runautoconf renamed to autogen.sh; Oct 16, 2011
debian Debian packages of Leptonica to allow use of 1.67 Nov 30, 2010
dict fixed "one lib" build on linux; runautoconf renamed to autogen.sh; Oct 16, 2011
doc man pages included to install script, improved windows installer scri… Aug 8, 2011
image fixed "one lib" build on linux; runautoconf renamed to autogen.sh; Oct 16, 2011
java more Makefile.in Aug 18, 2011
neural_networks/runtime make single/multiple libraries optional -- this needs testing!!! Aug 29, 2011
po 3.01 code from http://github.com/jimregan/tesseract-ocr with addaptio… Nov 23, 2010
tessdata Last minute fixes for making the tarball Oct 22, 2011
tesseractconsole Added thresholder support, updated readme to list site content licens… Nov 16, 2011
testing Deleted Makefile.in from svn Aug 18, 2011
textord fixed "one lib" build on linux; runautoconf renamed to autogen.sh; Oct 16, 2011
training fixed "one lib" build on linux; runautoconf renamed to autogen.sh; Oct 16, 2011
viewer svpaint.cpp moved from include to source Oct 16, 2011
vs2008 Get Debug configuration to run straight out of the box Feb 14, 2012
vs2010 Get Debug configuration to run straight out of the box Feb 14, 2012
wordrec fixed "one lib" build on linux; runautoconf renamed to autogen.sh; Oct 16, 2011
.gitignore Updated vs2008 solution to build .net version of tesseract. Nov 15, 2011
ABOUT-NLS partially address issue 353 Sep 15, 2010
AUTHORS Added virtual destructors to supress compiler warnings on OCRopus. Mar 19, 2007
COPYING removed BOM form strngs.h, updated NSIS script and COPYING Oct 22, 2011
ChangeLog Misc Makefile etc for 3.01 Nov 30, 2010
INSTALL Added virtual destructors to supress compiler warnings on OCRopus. Mar 19, 2007
INSTALL.SVN fixed "one lib" build on linux; runautoconf renamed to autogen.sh; Oct 16, 2011
Makefile.am Last minute fixes for making the tarball Oct 22, 2011
NEWS Added virtual destructors to supress compiler warnings on OCRopus. Mar 19, 2007
ReadMe_tesseract-ocr Renamed README filename so it doesn't conflict with my README Nov 2, 2011
ReleaseNotes Last minute fixes for making the tarball Oct 22, 2011
aclocal.m4 Last minute fixes for making the tarball Oct 22, 2011
autogen.sh fixed "one lib" build on linux; runautoconf renamed to autogen.sh; Oct 16, 2011
configure.ac fixed "one lib" build on linux; runautoconf renamed to autogen.sh; Oct 16, 2011
eurotext.tif Automake changes for version 2.00. Jul 18, 2007
makemoredists fixed doxygen path and included doxygen to 'makemoredists' script Jun 25, 2011
phototest.tif Added virtual destructors to supress compiler warnings on OCRopus. Mar 19, 2007
readme.md Update readme.md Dec 8, 2012
tesseract.spec improved script for creating language packages, improved tesseract.spec Sep 26, 2010

readme.md

Warning

This project has been deprecated in favour of https://github.com/charlesw/tesseract.

Overview

A tesseract-ocr .NET wrapper based on tesseractdotnet.

This project can be considered an (unofficial) fork off the tesseract-ocr project that adds a .NET wrapper using C++/CLI. It is based off the excellent work done by the tesseractocrdotnet team.

Code License: Apache License 2.0
Site Content License (Documentation etc): Creative Commons Attribution 3.0 Unported License

Example

using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Drawing;
using OCR.TesseractWrapper;

namespace tesseractconsole
{
    public class Program
    {
        const string TessractData = @".\tessdata\";

        public static void Main(string[] args)
        {
            const string language = "eng";
            string imageFile = args[0];

            TesseractProcessor processor = new TesseractProcessor();

            using (var bmp = Bitmap.FromFile(imageFile) as Bitmap) {
                var success = processor.Init(TessractData, language, (int)eOcrEngineMode.OEM_DEFAULT);
                if (!success) {
                    Console.WriteLine("Failed to initialize tesseract.");
                } else {
                    string text = processor.Recognize(bmp);
                    Console.WriteLine("Text:");
                    Console.WriteLine("*****************************");
                    Console.WriteLine(text);
                    Console.WriteLine("*****************************");
                }
            }

            Console.WriteLine("Press any key to exit.");
            Console.ReadKey();
        }
    }
}