PHPWarner Posted December 28, 2009 Share Posted December 28, 2009 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.output-sample-image.txt Link to comment Share on other sites More sharing options...
PsaltyDS Posted December 28, 2009 Share Posted December 28, 2009 Poke Tesseract into the forum search function. It's been done before. 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 Link to comment Share on other sites More sharing options...
PHPWarner Posted December 28, 2009 Author Share Posted December 28, 2009 Is it working on selected image? Link to comment Share on other sites More sharing options...
JohnOne Posted December 29, 2009 Share Posted December 29, 2009 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. Link to comment Share on other sites More sharing options...
PsaltyDS Posted December 29, 2009 Share Posted December 29, 2009 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now