09-08-2006, 11:52 AM
Is possible to obtain the number in an image knowing the numbers like ocr with 'scan' or another method?
OCR-Image
|
09-08-2006, 11:52 AM
Is possible to obtain the number in an image knowing the numbers like ocr with 'scan' or another method?
09-08-2006, 02:43 PM
With scan it would be difficult. I tried to find an OCR dll, ActiveX or library. All are too expensive. The only free library, tesseract, reads only tif files.
09-13-2006, 10:10 AM
and isn't possible to convert BMP to TIF for to do the scan?
09-13-2006, 10:15 AM
I don't know how. Also, does not recognize some tif files. Worked well with the sample tif file, but did not work with tif files saved using MS Paint.
09-13-2006, 10:17 AM
Ok. Thanks.
09-15-2006, 10:08 AM
What do you think about http://www.about280.com/gocr/GOCRFrontend.zip ?
09-15-2006, 11:10 AM
I would prefer dll.
09-07-2009, 08:30 AM
Is possible using Tesseract + GflAx?
09-08-2009, 10:11 AM
Do you know how to create a tif file that can be used with tesseract? When I take some text snapshot with irfanview and save as tif file, tesseract produces empty file. Same with gflax. It works only with the eurotext.tif that is included with tesseract.
09-08-2009, 10:38 AM
In Autoit exist a function: CaptureToTIFF...
09-08-2009, 11:05 AM
The reason why it did not work - the text is too small. After resizing works well. I'll play with it more some day.
09-08-2009, 11:42 AM
Download these files from http://code.google.com/p/tesseract-ocr/downloads/list and unpack (eg with 7-Zip) somewhere:
1. tesseract-2.04.tar.gz. It contains tesseract.exe that we'll use. 2. tesseract-2.00.eng.tar.gz. It contains English language data. Place the tessdata folder in the folder where is tesseract exe. Also need gflax: Image manipulation In the code, change the tesseract exe path (fTes). Macro Macro1276 str fTes="D:\Downloads\tesseract\tesseract.exe" ;;change this
09-08-2009, 12:26 PM
Thanks, but I thought that worked with dll...
09-08-2009, 03:52 PM
With dll much work. The functions are low level...
09-08-2009, 04:00 PM
Tip:
To minimize error count when recognizing small font text, turn off Windows font smoothing or ClearType. I also tried various gflax functions - sharpen, 0 saturation, monochrome. Sometimes it reduces error count, sometimes not.
09-08-2009, 04:41 PM
Thank you for all.
It could be a very useful function.
09-19-2010, 01:05 AM
IrfanView has a plug-in for OCR...
Haven't gotten a chance to play around with it, Any examples to use with command line? Thanks, Jimmy Vig
09-19-2010, 06:07 AM
After several tests with default settings, I see that kadmos (irfanView plugin) produces much more errors than tesseract.
09-19-2010, 04:57 PM
Thanks for putting in the time. I was just thinking of sticking with IrfanView since I already use it in a couple places.
I use the other one you have an example for. Thanks, Jimmy Vig
09-19-2010, 06:06 PM
It is quite possible that I am going to make a switch from IrfanView to gflax.
I do like that IrfanView has a forum where I can get solutions. (EDIT...has forum!! http://newsgroup.xnview.com/viewtopic.p ... ilit=gflax) Thanks bunches
04-28-2016, 01:14 AM
Hi Gintaras and QMers,
The Tesseract OCR engine has a new API and new features. It would be a wonderful improvement for QM. Please, Gintaras, is it possible to add this stuff to QM? Thanks for your help. Best regards. APIExample on Github Stackoverflow: How to implement Tesseract to run with project in Visual Studio 2010
04-30-2016, 07:24 AM
I tested the new tesseract command-line version now, but its OCR quality is so bad, I don't want to spend more time with its API.
05-01-2016, 03:45 AM
Oh, sorry to hear that. I read somewhere that Tesseract was one of the best engines.
Thanks anyway for your help. Best regards.
09-30-2023, 07:22 PM
Is possible to use https://github.com/DanysysTeam/UWPOCR in QM?
No.
LibreAutomate uses the same Windows OCR API. You can create script in LibreAutomate and create .exe or call it from QM using command line or HTTP server.
10-04-2023, 05:38 PM
Can you show an example of script in LibreAutomate/create .exe of 'Find OCR text' and how call it from QM using command line or other method?
10-04-2023, 06:38 PM
HTTP server is a fast and powerful way to call LA functions.
https://www.libreautomate.com/forum/show...p?tid=7468 https://www.libreautomate.com/forum/show...5#pid36755 Or create .exe program from script. QM can execute it without LibreAutomate. Slower, but maybe simpler. The example script will be an exe script. Creating .exe program In LibreAutomate create new script. In Poperties select role exeProgram, fill outputPath, OK. Later click the Compile button whenever you want to create or update .exe program. Creating OCR code Click toolbar button or menu item "Find OCR text". Select the target window or control with hotkey F3. Test, OK. More info in the OCR tool window. Script example // script "OCR example.cs" You can replace some strings etc with command line parameters args[0], args[1]... The script can return a number to indicate errors. // script "OCR example.cs" Calling from QM Macro Macro3257
10-04-2023, 07:12 PM
Thanks.
|
« Next Oldest | Next Newest »
|