public static bool CompareSimpleProcess(string ExtractedText, string ComparedValue) { LibraryBLL.RemoveSpecialCharacters(ref ExtractedText); if (ExtractedText.Contains(ComparedValue)) { return(true); } return(false); }
public static void ProcessFile(Document document) { try { ResponseOCR response = LibraryBLL.InitializeOCR(document); CompareBLL.ShowExtractedTests(response); } catch (Exception) { throw; } }
public static void Process(List <Document> documents) { try { foreach (Document document in documents) { ResponseOCR response = LibraryBLL.InitializeOCR(document); CompareBLL.ShowExtractedTests(response); } } catch (Exception) { throw; } }