PureBasic Forum
https://www.purebasic.fr/english/

PureBasic Interface to OpenCV
https://www.purebasic.fr/english/viewtopic.php?f=12&t=57457
Page 57 of 57

Author:  JHPJHP [ Thu Nov 12, 2020 9:43 pm ]
Post subject:  Re: PureBasic Interface to OpenCV

Hi JGarcia,

Sorry to hear that you are having trouble retrieving your Access Key.

Please refer to the Private Message I sent you; we can continue to resolve the issue from there.

Author:  kinglestat [ Thu Dec 17, 2020 5:06 pm ]
Post subject:  Re: PureBasic Interface to OpenCV

Hi. I mainly want to use openCV for the tessaract interface. I am having difficulties regarding OCR in that easy to OCR things don't get recognized
I am talking about screen text. When using commandline version recogniziton is perfect; the only difference I can see is that with your interface the library (tessdata) does not get used.
When I do try to use it by

Code:
hAPI = TesseractInit(#PSM_AUTO, #OEM_TESSERACT_CUBE_COMBINED, "R:\Temp\binaries\tesseract\tessdata", "eng", #Null$)


code crashes on recogniztion

could you please help?

Author:  JHPJHP [ Thu Dec 17, 2020 5:52 pm ]
Post subject:  Re: PureBasic Interface to OpenCV

Hi kinglestat,

See if the following post and corresponding answer resolves your issue:
http://forums.purebasic.com/english/viewtopic.php?p=543670&sid=a6781231823f7ea0ce07aabc92734eed#p543670

Data Files for Version 3.02 (scroll to the correct section)
https://github.com/tesseract-ocr/tessdoc/blob/master/tess3/Data-Files.md#data-files-for-version-302

Author:  AAT [ Fri Dec 18, 2020 7:14 am ]
Post subject:  Re: PureBasic Interface to OpenCV

Hi, JHPJHP!
Glad to see you again here! :D

Hi kinglestat.
you should replace
#OEM_TESSERACT_CUBE_COMBINED
with
#OEM_TESSERACT_ONLY

or download the "Data Files for Version 3.02" from the link gived you by JHPJHP and place everything including *cube.* in your folder "R:\Temp\...

Author:  JHPJHP [ Mon Dec 21, 2020 4:43 pm ]
Post subject:  Re: PureBasic Interface to OpenCV

Hi AAT,

Very good to hear from you as well.

I don't know why we bother answering posts anymore, more then half of the time we don't get a response much less a thank you; one of the reasons why I now answer posts so infrequently.

Anyways, take care, hope this post finds you and your family happy and healthy.

Least I forget, Merry Christmas & Happy New Year!

Author:  AAT [ Tue Dec 22, 2020 2:16 am ]
Post subject:  Re: PureBasic Interface to OpenCV

Hi, JHPJHP

Merry Christmas and Happy New Year, my friend! :D
Take care about your health!

P.S. Yes, there are few responses and few thanks. I thought about it. I will do the same as you, probably.

Page 57 of 57 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/