Sign in to follow this  
Followers 0
Phaser

Tesseract examples wont work for me

1 post in this topic

#1 ·  Posted (edited)

Hi Guys

I am trying the tessearct.au3 file with no joy, I have read everything I have found on the forum and can't get anything working.

This is what I have/done

Installed Tesseract 3.02.02 to

C:Program Filestesseracttesseract.exe

Tesseract.au3 is in Autoit3Include folder, version is

Title: Tesseract UDF Library for AutoIt3
Filename: Tesseract.au3
Description: A collection of functions for capturing text in applications.
Author: seangriffin
Version: V0.6
Last Update: 17/03/09

Changed line 58 to

Global $tesseract_temp_path = @ProgramFilesDir & "tesseracttesseract.exe"

Running this simple code

#include <Tesseract.au3>#include <MsgBoxConstants.au3>
$OCR_Result = _TesseractScreenCapture(0,"",1,1,94,121,147,166,1)
MsgBox(0, "Result: ", $OCR_Result)
consolewrite($OCR_Result)

All I get is this screenshot, My os is XP Pro, screen res is 1280 x 800 when installing tessearct it created Tesseract-OCR folder which I renamed to tesseract as most posts I read either showed or stated this change.

If someone could just tell me where I am going wrong or a reason why it wont work that would be greatly appreciated, many thanks.

 

post-52173-0-07980100-1410956211_thumb.j

Edited by Phaser

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0