Sicos1977 / TesseractOCR

A .net library to work with Google's Tesseract
167 stars 21 forks source link

As support for Linux #11

Closed goldsam closed 2 years ago

goldsam commented 2 years ago

Would it be possible to include Linux binaries as well?

Sicos1977 commented 2 years ago

How do you mean? The assemblies should just work in .NET on Linux.

jonaumann commented 2 years ago

First of all: Great work, C# needs a free Tesseract5 wrapper! I am also interested in getting it to work on linux (in my case arm64) You need the shared library files for linux (the equivalent for the wrapped dll's on windows) Om ubuntu you get these by installing tesseract via apt: sudo add-apt-repository ppa:alex-p/tesseract-ocr sudo apt update sudo apt install tesseract-ocr

because the dll names are hardcoded, you need to copy the leptonica and tessearct .so from /lib/aaarch64 to the x64 directory under the same name as the dll there, but with ending .so

now the wrapper can read the dll's (.so) BUT: Something is wrong with the wrapper implementation, I get an error: Cannot marshal 'parameter #2': Invalid managed/unmanaged type combination (Marshaling to and from COM interface pointers isn't supported)

So I am stuck here... :-(

Sicos1977 commented 2 years ago

Can you turn on debug logging and paste the log overhere so that I can have a look where it is failing? It should log on what method it is failing.

https://github.com/Sicos1977/TesseractOCR/blob/master/TesseractOCR/InteropDotNet/UnixLibraryLoaderLogic.cs

Sicos1977 commented 2 years ago

Can you also add the Linux binaries so that I can add them in the nuget package so that people don't have to download them?

jonaumann commented 2 years ago

OK, I got it to work. The Problem was in the TessApi.cs. There were 3 dll imports that used Pix.Image as parameter or return value. The Linux .net marshaller could not handle that, because it was a class, not a primitive or pointer. I just commented out the functions, they are not needed for normal ocr operations. Now it works. Don't know why that works on windows but not on linux.... I cannot give you the linux binaries because they are different for each platform. Mine are only for ubuntu 20 on arm64.

Sicos1977 commented 2 years ago

Can you at least show me what you changed so that I can check if the code if it is running on Linux and then use that instead of the Windows way :-)

jonaumann commented 2 years ago

sure, I commented out line 174, 175, 182, 183, 665 and 666. which are the functions TessBaseAPISetInputImage, TessBaseAPIGetInputImage and TessBaseAPIProcessPage.

nikunj231991 commented 2 years ago

I am getting the same issue with Linux container

Cannot marshal 'parameter https://github.com/Sicos1977/TesseractOCR/issues/2': Invalid managed/unmanaged type combination (Marshaling to and from COM interface pointers isn't supported)

but don't want to comment functions TessBaseAPISetInputImage, TessBaseAPIGetInputImage and TessBaseAPIProcessPage. So what should be the other way?

Sicos1977 commented 2 years ago

Can you enable logging and show me that logtrace?

Sicos1977 commented 2 years ago

And do you use the Tesseract dll that is in the nuget package or did you compile one yourself?

nikunj231991 commented 2 years ago

Hi Sicos,

Please let me know how I can enable logging for this?

We have used Tesseract dll that is in the NuGet package.

Have added below this 2 lines for missing libraries in Linux Container

RUN ln -s /usr/lib/x86_64-linux-gnu/liblept.so.5 /app/x64/libleptonica-1.82.0.dll.so RUN ln -s /usr/lib/x86_64-linux-gnu/libtesseract.so /app/x64/libtesseract51.dll.so

nikunj231991 commented 2 years ago

Hi Sicos,

RUN ln -s /usr/lib/x86_64-linux-gnu/liblept.so.5 /app/x64/libleptonica-1.82.0.dll.so RUN ln -s /usr/lib/x86_64-linux-gnu/libtesseract.so /app/x64/libtesseract51.dll.so

If I remove the above 2 lines then it will throw an error

Failed to find library 'libleptonica-1.82.0.dll.so' for platform x64 at TesseractOCR.InteropDotNet.LibraryLoader.LoadLibrary(String fileName, String platformName) at InteropRuntimeImplementer.LeptonicaApiSignaturesInstance.LeptonicaApiSignaturesImplementation..ctor(LibraryLoader loader)

Sicos1977 commented 2 years ago

Just assign a logger to the Engine constructor... see the last parameter in the constructor.

        #region Constructors
        /// <summary>
        ///     Creates a new instance of <see cref="Engine" /> with the specified <paramref name="engineMode" /> and
        ///     <paramref name="configFiles" />.
        /// </summary>
        /// <remarks>
        ///     <para>
        ///         The <paramref name="dataPath" /> parameter should point to the directory that contains the 'tessdata' folder
        ///         for example if your tesseract language data is installed in <c>C:\Tesseract\tessdata</c> the value of datapath
        ///         should
        ///         be <c>C:\Tesseract</c>. Note that tesseract will use the value of the <c>TESSDATA_PREFIX</c> environment
        ///         variable if defined,
        ///         effectively ignoring the value of <paramref name="dataPath" /> parameter.
        ///     </para>
        /// </remarks>
        /// <param name="dataPath">
        ///     The path to the parent directory that contains the 'tessdata' directory, ignored if the
        ///     <c>TESSDATA_PREFIX</c> environment variable is defined.
        /// </param>
        /// <param name="language">The <see cref="Language"/> to load</param>
        /// <param name="engineMode">The <see cref="EngineMode" /> value to use when initializing the tesseract engine</param>
        /// <param name="configFiles">
        ///     An optional sequence of tesseract configuration files to load, encoded using UTF8 without BOM
        ///     with Unix end of line characters you can use an advanced text editor such as Notepad++ to accomplish this.
        /// </param>
        /// <param name="initialOptions"></param>
        /// <param name="setOnlyNonDebugVariables"></param>
        /// <param name="logger">When set then logging is written to this <see cref="ILogger"/> interface</param>
        public Engine(string dataPath, Language language, EngineMode engineMode = EngineMode.Default, IEnumerable<string> configFiles = null, IDictionary<string, object> initialOptions = null, bool setOnlyNonDebugVariables = false, ILogger logger = null)
        {
            if (logger != null)
                Logger.LoggerInterface = logger;

            DefaultPageSegMode = PageSegMode.Auto;
            _handle = new HandleRef(this, TessApi.Native.BaseApiCreate());

            Initialize(dataPath, new List<Language> {language}, engineMode, configFiles, initialOptions, setOnlyNonDebugVariables, logger);
        }
nikunj231991 commented 2 years ago

Please find below the logs and attached file for detailed logs

Loaded '/usr/share/dotnet/shared/ Microsoft.NETCore.App/6.0.5/System.Reflection.Emit.dll'. Cannot find or open the PDB file. Loaded 'InteropRuntimeImplementer.LeptonicaApiSignaturesInstance'. info: OCR.Extraction.TesseractExtractionService[0] Current OS is Unix OCR.Extraction.TesseractExtractionService: Information: Current OS is Unix info: OCR.Extraction.TesseractExtractionService[0] Current platform is x64 OCR.Extraction.TesseractExtractionService: Information: Current platform is x64 info: OCR.Extraction.TesseractExtractionService[0] Trying to load file from 'app/x64/libleptonica-1.82.0.dll.so' OCR.Extraction.TesseractExtractionService: Information: Trying to load file from 'app/x64/libleptonica-1.82.0.dll.so' info: OCR.Extraction.TesseractExtractionService[0] Trying to load file from '/app/x64/libleptonica-1.82.0.dll.so' OCR.Extraction.TesseractExtractionService: Information: Trying to load file from '/app/x64/libleptonica-1.82.0.dll.so' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native library '/app/x64/libleptonica-1.82.0.dll.so' OCR.Extraction.TesseractExtractionService: Information: Trying to load native library '/app/x64/libleptonica-1.82.0.dll.so' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native library '/app/x64/ libleptonica-1.82.0.dll.so' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native library '/app/x64/libleptonica-1.82.0.dll.so' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixaReadMultipageTiff' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixaReadMultipageTiff' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixaReadMultipageTiff' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixaReadMultipageTiff' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixaCreate' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixaCreate' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixaCreate' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixaCreate' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixaAddPix' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixaAddPix' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixaAddPix' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixaAddPix' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixaGetPix' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixaGetPix' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixaGetPix' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixaGetPix' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixaRemovePix' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixaRemovePix' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixaRemovePix' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixaRemovePix' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixaClear' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixaClear' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixaClear' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixaClear' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixaGetCount' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixaGetCount' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixaGetCount' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixaGetCount' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixaDestroy' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixaDestroy' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixaDestroy' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixaDestroy' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixCreate' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixCreate' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixCreate' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixCreate' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixClone' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixClone' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixClone' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixClone' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixDestroy' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixDestroy' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixDestroy' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixDestroy' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixEqual' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixEqual' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixEqual' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixEqual' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixGetWidth' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixGetWidth' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixGetWidth' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixGetWidth' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixGetHeight' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixGetHeight' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixGetHeight' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixGetHeight' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixGetDepth' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixGetDepth' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixGetDepth' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixGetDepth' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixGetXRes' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixGetXRes' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixGetXRes' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixGetXRes' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixGetYRes' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixGetYRes' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixGetYRes' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixGetYRes' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixGetResolution' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixGetResolution' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixGetResolution' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixGetResolution' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixGetWpl' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixGetWpl' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixGetWpl' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixGetWpl' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixSetXRes' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixSetXRes' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixSetXRes' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixSetXRes' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixSetYRes' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixSetYRes' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixSetYRes' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixSetYRes' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixSetResolution' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixSetResolution' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixSetResolution' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixSetResolution' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixScaleResolution' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixScaleResolution' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixScaleResolution' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixScaleResolution' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixGetData' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixGetData' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixGetData' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixGetData' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixGetInputFormat' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixGetInputFormat' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixGetInputFormat' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixGetInputFormat' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixSetInputFormat' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixSetInputFormat' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixSetInputFormat' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixSetInputFormat' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixEndianByteSwap' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixEndianByteSwap' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixEndianByteSwap' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixEndianByteSwap' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixRead' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixRead' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixRead' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixRead' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixReadMem' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixReadMem' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixReadMem' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixReadMem' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixReadMemTiff' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixReadMemTiff' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixReadMemTiff' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixReadMemTiff' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixReadFromMultipageTiff' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixReadFromMultipageTiff' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixReadFromMultipageTiff' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixReadFromMultipageTiff' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixWrite' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixWrite' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixWrite' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixWrite' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixDisplayWrite' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixDisplayWrite' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixDisplayWrite' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixDisplayWrite' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixGetColormap' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixGetColormap' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixGetColormap' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixGetColormap' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixSetColormap' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixSetColormap' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixSetColormap' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixSetColormap' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixDestroyColormap' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixDestroyColormap' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixDestroyColormap' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixDestroyColormap' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixConvertRGBToGray' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixConvertRGBToGray' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixConvertRGBToGray' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixConvertRGBToGray' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixConvertTo8' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixConvertTo8' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixConvertTo8' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixConvertTo8' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixDeskewGeneral' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixDeskewGeneral' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixDeskewGeneral' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixDeskewGeneral' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixFindSkew' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixFindSkew' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixFindSkew' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixFindSkew' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixRotate' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixRotate' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixRotate' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixRotate' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixRotateOrth' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixRotateOrth' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixRotateOrth' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixRotateOrth' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixRotateAMGray' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixRotateAMGray' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixRotateAMGray' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixRotateAMGray' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixRotate90' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixRotate90' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixRotate90' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixRotate90' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixCloseGray' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixCloseGray' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixCloseGray' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixCloseGray' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixErodeGray' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixErodeGray' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixErodeGray' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixErodeGray' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixAddGray' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixAddGray' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixAddGray' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixAddGray' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixOpenGray' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixOpenGray' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixOpenGray' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixOpenGray' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixCombineMasked' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixCombineMasked' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixCombineMasked' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixCombineMasked' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixThresholdToValue' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixThresholdToValue' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixThresholdToValue' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixThresholdToValue' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixThresholdToBinary' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixThresholdToBinary' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixThresholdToBinary' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixThresholdToBinary' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixInvert' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixInvert' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixInvert' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixInvert' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixBackgroundNormFlex' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixBackgroundNormFlex' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixBackgroundNormFlex' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixBackgroundNormFlex' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixGammaTRCMasked' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixGammaTRCMasked' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixGammaTRCMasked' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixGammaTRCMasked' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixHMT' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixHMT' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixHMT' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixHMT' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixDilate' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixDilate' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixDilate' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixDilate' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixSubtract' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixSubtract' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixSubtract' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixSubtract' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'selCreateFromString' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'selCreateFromString' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'selCreateFromString' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'selCreateFromString' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'selCreateBrick' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'selCreateBrick' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'selCreateBrick' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'selCreateBrick' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'selDestroy' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'selDestroy' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'selDestroy' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'selDestroy' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixOtsuAdaptiveThreshold' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixOtsuAdaptiveThreshold' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixOtsuAdaptiveThreshold' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixOtsuAdaptiveThreshold' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixSauvolaBinarize' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixSauvolaBinarize' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixSauvolaBinarize' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixSauvolaBinarize' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixSauvolaBinarizeTiled' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixSauvolaBinarizeTiled' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixSauvolaBinarizeTiled' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixSauvolaBinarizeTiled' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixScale' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixScale' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixScale' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixScale' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapCreate' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapCreate' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapCreate' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapCreate' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapCreateRandom' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapCreateRandom' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapCreateRandom' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapCreateRandom' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapCreateLinear' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapCreateLinear' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapCreateLinear' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapCreateLinear' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapCopy' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapCopy' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapCopy' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapCopy' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapDestroy' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapDestroy' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapDestroy' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapDestroy' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapGetCount' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapGetCount' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapGetCount' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapGetCount' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapGetFreeCount' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapGetFreeCount' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapGetFreeCount' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapGetFreeCount' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapGetDepth' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapGetDepth' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapGetDepth' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapGetDepth' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapGetMinDepth' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapGetMinDepth' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapGetMinDepth' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapGetMinDepth' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapClear' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapClear' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapClear' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapClear' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapAddColor' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapAddColor' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapAddColor' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapAddColor' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapAddNewColor' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapAddNewColor' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapAddNewColor' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapAddNewColor' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapAddNearestColor' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapAddNearestColor' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapAddNearestColor' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapAddNearestColor' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapUsableColor' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapUsableColor' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapUsableColor' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapUsableColor' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapAddBlackOrWhite' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapAddBlackOrWhite' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapAddBlackOrWhite' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapAddBlackOrWhite' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapSetBlackAndWhite' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapSetBlackAndWhite' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapSetBlackAndWhite' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapSetBlackAndWhite' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapGetColor' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapGetColor' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapGetColor' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapGetColor' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapGetColor32' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapGetColor32' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapGetColor32' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapGetColor32' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapResetColor' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapResetColor' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapResetColor' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapResetColor' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapGetIndex' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapGetIndex' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapGetIndex' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapGetIndex' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapHasColor' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapHasColor' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapHasColor' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapHasColor' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapCountGrayColors' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapCountGrayColors' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapCountGrayColors' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapCountGrayColors' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapCountGrayColors' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapCountGrayColors' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapCountGrayColors' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapCountGrayColors' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapGetNearestIndex' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapGetNearestIndex' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapGetNearestIndex' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapGetNearestIndex' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapGetNearestGrayIndex' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapGetNearestGrayIndex' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapGetNearestGrayIndex' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapGetNearestGrayIndex' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapGrayToColor' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapGrayToColor' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapGrayToColor' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapGrayToColor' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapColorToGray' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapColorToGray' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapColorToGray' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapColorToGray' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapColorToGray' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapColorToGray' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapColorToGray' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapColorToGray' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapToRGBTable' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapToRGBTable' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapToRGBTable' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapToRGBTable' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapSerializeToMemory' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapSerializeToMemory' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapSerializeToMemory' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapSerializeToMemory' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapDeserializeFromMemory' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapDeserializeFromMemory' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapDeserializeFromMemory' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapDeserializeFromMemory' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapGammaTRC' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapGammaTRC' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapGammaTRC' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapGammaTRC' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapContrastTRC' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapContrastTRC' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapContrastTRC' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapContrastTRC' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'pixcmapShiftIntensity' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'pixcmapShiftIntensity' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'pixcmapShiftIntensity' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'pixcmapShiftIntensity' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'boxaGetCount' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'boxaGetCount' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'boxaGetCount' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'boxaGetCount' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'boxaGetBox' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'boxaGetBox' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'boxaGetBox' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'boxaGetBox' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'boxGetGeometry' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'boxGetGeometry' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'boxGetGeometry' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'boxGetGeometry' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'boxDestroy' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'boxDestroy' from the library with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'boxDestroy' with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'boxDestroy' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'boxaDestroy' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'boxaDestroy' from the library with handle '139781926253872' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'boxaDestroy' with handle '139781926253872' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'boxaDestroy' with handle '139781926253872' Loaded 'InteropRuntimeImplementer.TessApiSignaturesInstance'. info: OCR.Extraction.TesseractExtractionService[0] Current platform is x64 OCR.Extraction.TesseractExtractionService: Information: Current platform is x64 info: OCR.Extraction.TesseractExtractionService[0] Trying to load file from 'app/x64/libtesseract51.dll.so' OCR.Extraction.TesseractExtractionService: Information: Trying to load file from 'app/x64/libtesseract51.dll.so' info: OCR.Extraction.TesseractExtractionService[0] Trying to load file from '/app/x64/libtesseract51.dll.so' OCR.Extraction.TesseractExtractionService: Information: Trying to load file from '/app/x64/libtesseract51.dll.so' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native library '/app/x64/libtesseract51.dll.so' OCR.Extraction.TesseractExtractionService: Information: Trying to load native library '/app/x64/libtesseract51.dll.so' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native library '/app/x64/libtesseract51.dll.so' with handle '139781926499600' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native library '/app/x64/libtesseract51.dll.so' with handle '139781926499600' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'TessVersion' from the library with handle '139781926499600' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'TessVersion' from the library with handle '139781926499600' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'TessVersion' with handle '139781926499600' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'TessVersion' with handle '139781926499600' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'TessDeleteTextArray' from the library with handle '139781926499600' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'TessDeleteTextArray' from the library with handle '139781926499600' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'TessDeleteTextArray' with handle '139781926499600' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'TessDeleteTextArray' with handle '139781926499600' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'TessDeleteIntArray' from the library with handle '139781926499600' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'TessDeleteIntArray' from the library with handle '139781926499600' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'TessDeleteIntArray' with handle '139781926499600' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'TessDeleteIntArray' with handle '139781926499600' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'TessDeleteText' from the library with handle '139781926499600' OCR.Extraction.TesseractExtractionService: Information: Trying to load native function 'TessDeleteText' from the library with handle '139781926499600' info: OCR.Extraction.TesseractExtractionService[0] Successfully loaded native function 'TessDeleteText' with handle '139781926499600' OCR.Extraction.TesseractExtractionService: Information: Successfully loaded native function 'TessDeleteText' with handle '139781926499600' info: OCR.Extraction.TesseractExtractionService[0] Trying to load native function 'TessTextRendererCrea Tesseract OCR error.txt

nikunj231991 commented 2 years ago

And if I comment TessBaseAPISetInputImage, TessBaseAPIGetInputImage and TessBaseAPIProcessPage methods then working fine, but don't want to do that.

Sicos1977 commented 2 years ago

I'll try to look into it today, I need to figure out why it is bugging on Linux and works fine on Windows

Sicos1977 commented 2 years ago

Can you check if this commit fixes the marshalling error? f6c85175f54fe2d83fea6e637b4e13880576c759

If so then I'll release a new nuget package

nikunj231991 commented 2 years ago

That worked.

On Fri, Jun 10, 2022 at 11:47 PM Kees @.***> wrote:

Can you check if this commit fixes the marshalling error? f6c8517 https://github.com/Sicos1977/TesseractOCR/commit/f6c85175f54fe2d83fea6e637b4e13880576c759

— Reply to this email directly, view it on GitHub https://github.com/Sicos1977/TesseractOCR/issues/11#issuecomment-1152619210, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABR24HEAZCY2OSPTZEFPRP3VOOBDBANCNFSM5V6JUFKQ . You are receiving this because you commented.Message ID: @.***>

--

Regards, Nikunj Prajapati Mob : +919904069172 Email Id : @.** Web : https://nikunj231991.github.io/ https://nikunj231991.github.io/ LinkedIn : https://www.linkedin.com/in/nikunj231991/ https://www.linkedin.com/in/nikunj231991/*

Sicos1977 commented 2 years ago

Okey I will release a new nuget package somewhere today.

nikunj231991 commented 2 years ago

Great, thanks!

On Mon, Jun 13, 2022 at 4:24 PM Kees @.***> wrote:

Okey I will release a new nuget package somewhere today.

— Reply to this email directly, view it on GitHub https://github.com/Sicos1977/TesseractOCR/issues/11#issuecomment-1153769646, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABR24HEDUK3ON7RI6UVOVZTVO4HNRANCNFSM5V6JUFKQ . You are receiving this because you commented.Message ID: @.***>

--

Regards, Nikunj Prajapati Mob : +919904069172 Email Id : @.** Web : https://nikunj231991.github.io/ https://nikunj231991.github.io/ LinkedIn : https://www.linkedin.com/in/nikunj231991/ https://www.linkedin.com/in/nikunj231991/*

Sicos1977 commented 2 years ago

I just released a new nuget package that fixes the interop signature error on Linux