Sign in to follow this  
Followers 0
PHPWarner

Tesseract OCR

5 posts in this topic

Hello,

Does anyone know that how to scan any image (it contains regular text) on computer (C:\sample-image.jpg) and write it as text file (example: output-sample-image.txt)?

I think it should made with Tesseract OCR but I really need sample code for learning.

sample-image.jpg and output-sample-image.txt are attached.

Many thanks now.

post-54936-12620263272232_thumb.jpg

output-sample-image.txt

Share this post


Link to post
Share on other sites



Is it working on selected image?

Share this post


Link to post
Share on other sites

I think what PsaltyDS is suggesting, is that if you search the forum you will certainly find your answer.

The tesseract UDF has very detailed info on how to use the functions in it, so a little research by yourself will help you better understand the functions, rather than someone doing the work for you.

When you try it and arnt getting the results you expect then post your code, and I'm certain you will get help.


AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites

Is it working on selected image?

Try it and see. Why would the support forum be expected to answer that question for you?

Come back and post after you tried it, and IF IT DOESN'T WORK.

;)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

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