If I send a pdf file with a sigle page, would it work?
Do you have any sugestion or another way to stop the tesseract process?
Hi, i've tried this week make what you said, but i hadn't sucess. I made the code of TessAPITest but it doesn't stopped, and I tried to use the 'end_time' variable, and it doesn't make sense to me. I read the doc and it says "time to stop if not 0", but it ever stop at same time and with blank out put. My code: Tesseract.java ETEXT_DESC monitor = new ETEXT_DESC(); ITessAPI.TimeVal timeout = new ITessAPI.TimeVal(); timeout.tv_sec = new NativeLong(0L); monitor.end_time = timeout; ProgressMonitor pmo...
Hi, i've tried this week make what you said, but i hadn't sucess. I made the code of TessAPITest but it doesn't stopped, and I tried to use the 'end_time' variable, and it doesn't make sense to me. I read the doc and it says "time to stop if not 0", but it ever stop at same time and with blank out put. My code: Tesseract.java ETEXT_DESC monitor = new ETEXT_DESC(); ITessAPI.TimeVal timeout = new ITessAPI.TimeVal(); timeout.tv_sec = new NativeLong(0L); monitor.end_time = timeout; ProgressMonitor pmo...
Hi, i've tried this week make what you said, but i hadn't sucess. I made the code of TessAPITest but it doesn't stopped, and I tried to use the 'end_time' variable, and it doesn't make sense to me. I read the doc and it says "time to stop if not 0", but it ever stop at same time and with blank out put. My code: Tesseract.java ETEXT_DESC monitor = new ETEXT_DESC(); ITessAPI.TimeVal timeout = new ITessAPI.TimeVal(); timeout.tv_sec = new NativeLong(0L); monitor.end_time = timeout; ProgressMonitor pmo...
Hi, i've tried this week make what you said, but i hadn't sucess. I made the code of TessAPITest but it doesn't stopped, and I tried to use the 'end_time' variable, and it doesn't make sense to me. I read the doc and it says "time to stop if not 0", but it ever stop at same time and with blank out put. My code: Tesseract.java ETEXT_DESC monitor = new ETEXT_DESC(); ITessAPI.TimeVal timeout = new ITessAPI.TimeVal(); timeout.tv_sec = new NativeLong(0L); monitor.end_time = timeout; ProgressMonitor pmo...
Thanks for reply, but I tested the code and still doesn't working. Sorry if it's a stupid question, I'm a beginner and trying to understand it. I have to set a diferent class for API? I'm using 'api = TessAPI.INSTANCE;'
How can i stop the Tess4j process or set a time out?