Tesseract command line invocation in a Windows and Linux C++ appliction

28 views
Skip to first unread message

Pooja Pandey

unread,
Dec 27, 2019, 6:35:18 AM12/27/19
to tesseract-ocr
Hi,

I need to develop application in C++ which will run on Windows and Linux platforms. My application is required to invoke tesseract installer using command line as and when required. I am trying to figure out following,

1. How do I package this installer into my application i.e. as per my understanding to use tesseract we need to install it on the machine, does that mean that my application should install tesseract or there is way to pack tesseract binary and the same can be invoked by the application??


Thanks & Regards,
Pooja

Zdenko Podobny

unread,
Dec 27, 2019, 1:34:45 PM12/27/19
to tesser...@googlegroups.com
If your project is C++ why you need to invoice tesseract via command line? Why you would not use tesseract API? Your description of process is inefficient.

Zdenko


pi 27. 12. 2019 o 12:35 Pooja Pandey <pooja.ac...@gmail.com> napísal(a):
--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/cdb21215-10fc-4e37-a687-4605c76781e3%40googlegroups.com.

Amit Shah

unread,
Dec 28, 2019, 2:00:46 AM12/28/19
to tesser...@googlegroups.com
You can use inno script to build your custom script for installation and along with it you can package in your tesseract application.

Also, tesseract dose not need to have proper installation.. You can just use the necessary files required.... Copied to right location. 


For Linux, you may need to build the rpm / deb accordingly.... That might be a lil complex but I am sure you will crack it 

--

Pooja Pandey

unread,
Dec 30, 2019, 12:01:26 AM12/30/19
to tesseract-ocr
Hi Zdenko,

Actually I need to write a tesseract interface library for my project which runs on Windows and Linux. The project will use this interface to get tesseract functionality. Based on our planning, currently this interface will invoke tesseract using command line and later this interface will replace command line with rest service.


I am just trying to figure out artifacts which I need to package in my library for Windows and Linux.

Thanks,
Pooja

On Saturday, December 28, 2019 at 12:04:45 AM UTC+5:30, zdenop wrote:
If your project is C++ why you need to invoice tesseract via command line? Why you would not use tesseract API? Your description of process is inefficient.

Zdenko


pi 27. 12. 2019 o 12:35 Pooja Pandey <pooja.ac...@gmail.com> napísal(a):
Hi,

I need to develop application in C++ which will run on Windows and Linux platforms. My application is required to invoke tesseract installer using command line as and when required. I am trying to figure out following,

1. How do I package this installer into my application i.e. as per my understanding to use tesseract we need to install it on the machine, does that mean that my application should install tesseract or there is way to pack tesseract binary and the same can be invoked by the application??


Thanks & Regards,
Pooja

--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesser...@googlegroups.com.

Pooja Pandey

unread,
Dec 30, 2019, 12:04:51 AM12/30/19
to tesseract-ocr
Hi Amit,

Thank you for response.

> For Linux, you may need to build the rpm / deb accordingly.... That might be a lil complex but I am sure you will crack it 

Actually I need to write a tesseract interface library for my project which runs on Windows and Linux. The project will use this interface to get tesseract functionality. Based on our planning, currently this interface will invoke tesseract using command line and later this interface will replace command line with rest service.

I am just trying to figure out artifacts which I need to package in my library for Windows and Linux.



On Saturday, December 28, 2019 at 12:30:46 PM UTC+5:30, Amit Shah wrote:
You can use inno script to build your custom script for installation and along with it you can package in your tesseract application.

Also, tesseract dose not need to have proper installation.. You can just use the necessary files required.... Copied to right location. 


For Linux, you may need to build the rpm / deb accordingly.... That might be a lil complex but I am sure you will crack it 

On Fri, 27 Dec 2019, 17:05 Pooja Pandey, <pooja.ac...@gmail.com> wrote:
Hi,

I need to develop application in C++ which will run on Windows and Linux platforms. My application is required to invoke tesseract installer using command line as and when required. I am trying to figure out following,

1. How do I package this installer into my application i.e. as per my understanding to use tesseract we need to install it on the machine, does that mean that my application should install tesseract or there is way to pack tesseract binary and the same can be invoked by the application??


Thanks & Regards,
Pooja

--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesser...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages