I am using Tesseract version 4.1.1 on dotnetcore 3.1 project which works perfectly on windows but when I publish it on ubuntu it throws the following error on this line
new TesseractEngine(Tessdatapath, LanguageCode, EngineMode.TesseractAndLstm);
Could not load file or assembly 'Tesseract, Version=4.1.1.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
I copied the x64 & x86 dlls with the publish files and made sure they are on the same level with tessdata
I tried to install tesseract on ubuntu and copied the .so files inside the x64 & x86 folders but still no luck