Hello
I'm working on a project (written in python) which requires conversion of image PDF files into TXT files (or simply text extraction). I was using Finereader SDK with python, and for this, I was using python code, that is available at https://share.abbyy.com/index.php/s/jg8Ek7kqK7EqDwX.
Now I want to use Flexicapture SDK for the same, but I can't find any python code to run it, all I found is a C# code. Please help, all I wanna do is to call Flexicapture SDK inside my python project so that it converts a pdf file into a text file.
Any help will be appreciated.
Thanks
Comments
3 comments
Hi,
Although an official Python module that wraps FlexiCapture Engine 12 does not exist, a FlexiCapture Engine 12 code sample in Python for Windows is available. The code sample utilizes the comtypes package to load the Engine by means of COM, namely the InprocLoader object.
You can download the code sample here: https://share.abbyy.com/index.php/s/KTjzpC7aYEiyCBA. Please refer to the ReadMe file provided with the code sample for steps to set it up correctly.
To get tips on how to set up export parameters in FlexiCapture Engine and modify the Python code sample accordingly, please refer to the following FlexiCapture Engine Developer's Help articles:
Hello
I've downloaded the code sample using the link (https://share.abbyy.com/index.php/s/KTjzpC7aYEiyCBA) given above and followed all the instructions given in ReadMe file. But the code is not working as it supposed to be.
In given code sample, the function LoadEngine() is called initially, which initializes the engine, but at the statement Engine = EngineLoader.GetEngine(), code exits unexpectedly.
The engine Initializes and code exits skipping all the other process.
Please help me to solve the issue that I'm facing.
Attached is the output screen for the python code sample.
Thanks
In order that we could properly assist you, please contact us at SDK_Support@abbyy.com and provide the following additional information in the e-mail:
Thank you in advance!
Please sign in to leave a comment.