Facing an issue while processing OCR in .net Core


Message=Resource file is not correct.
at ​ .(Stream )
at Aspose.OCR.LanguageFactory.Load(Stream stream)
at Aspose.OCR.LanguageContainer.()
at Aspose.OCR.LanguageContainer…ctor()
at Aspose.OCR.OcrEngine…ctor()
at OCRDemoWeb.PerformingandManagingOCR.ExtractingText.Run() in \PerformingandManagingOCR\ExtractingText.cs:line 230
at Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(Object target, Object[] parameters)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.d__12.MoveNext()

Inner Exception 1:
TypeInitializationException: The type initializer for ' ’ threw an exception.

Inner Exception 2:
ArgumentException: ‘IBM437’ is not a supported encoding name. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method.



.NET Core is not supported by Aspose.OCR for .NET. We recommend migrating to Aspose.OCR for Cloud which supports almost all languages and platforms including .NET Core. Please visit https://www.aspose.cloud/ for more details.