示例#1
0
        public static bool CompareSimpleProcess(string ExtractedText, string ComparedValue)
        {
            LibraryBLL.RemoveSpecialCharacters(ref ExtractedText);

            if (ExtractedText.Contains(ComparedValue))
            {
                return(true);
            }

            return(false);
        }
示例#2
0
        public static void ProcessFile(Document document)
        {
            try
            {
                ResponseOCR response = LibraryBLL.InitializeOCR(document);

                CompareBLL.ShowExtractedTests(response);
            }
            catch (Exception)
            {
                throw;
            }
        }
示例#3
0
        public static void Process(List <Document> documents)
        {
            try
            {
                foreach (Document document in documents)
                {
                    ResponseOCR response = LibraryBLL.InitializeOCR(document);

                    CompareBLL.ShowExtractedTests(response);
                }
            }
            catch (Exception)
            {
                throw;
            }
        }