Open Ren94-cpu opened 2 years ago
Im using Tesseract Wrapper and when I run I get the following error:
System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception. at InteropRuntimeImplementer.TessApiSignaturesInstance.TessApiSignaturesImplementation.BaseApiInit(HandleRef handle, String datapath, String language, Int32 mode, String[] configs, Int32 configs_size, String[] vars_vec, String[] vars_values, UIntPtr vars_vec_size, Boolean set_only_non_debug_params) at Tesseract.Interop.TessApi.BaseApiInit(HandleRef handle, String datapath, String language, Int32 mode, IEnumerable1 configFiles, IDictionary2 initialValues, Boolean setOnlyNonDebugParams) at Tesseract.TesseractEngine.Initialise(String datapath, String language, EngineMode engineMode, IEnumerable1 configFiles, IDictionary2 initialValues, Boolean setOnlyNonDebugVariables) at Tesseract.TesseractEngine..ctor(String datapath, String language, EngineMode engineMode, IEnumerable1 configFiles, IDictionary2 initialOptions, Boolean setOnlyNonDebugVariables) at Utility___Tesseract_OCR.GetText(String ImageFilePath, String Tessdata)
1 configFiles, IDictionary
Your build might be expecting certain processor extensions such as AVX2, SSE, and so forth.
https://github.com/Sicos1977/TesseractOCR and see if that one works. It is upgraded to Tesseract 5.1
Im using Tesseract Wrapper and when I run I get the following error:
System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception. at InteropRuntimeImplementer.TessApiSignaturesInstance.TessApiSignaturesImplementation.BaseApiInit(HandleRef handle, String datapath, String language, Int32 mode, String[] configs, Int32 configs_size, String[] vars_vec, String[] vars_values, UIntPtr vars_vec_size, Boolean set_only_non_debug_params) at Tesseract.Interop.TessApi.BaseApiInit(HandleRef handle, String datapath, String language, Int32 mode, IEnumerable
1 configFiles, IDictionary
2 initialValues, Boolean setOnlyNonDebugParams) at Tesseract.TesseractEngine.Initialise(String datapath, String language, EngineMode engineMode, IEnumerable1 configFiles, IDictionary
2 initialValues, Boolean setOnlyNonDebugVariables) at Tesseract.TesseractEngine..ctor(String datapath, String language, EngineMode engineMode, IEnumerable1 configFiles, IDictionary
2 initialOptions, Boolean setOnlyNonDebugVariables) at Utility___Tesseract_OCR.GetText(String ImageFilePath, String Tessdata)