Exemplo n.º 1
0
        public static bool CompareSimpleProcess(string ExtractedText, string ComparedValue)
        {
            LibraryBLL.RemoveSpecialCharacters(ref ExtractedText);

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

            return(false);
        }
Exemplo n.º 2
0
        public static void ProcessFile(Document document)
        {
            try
            {
                ResponseOCR response = LibraryBLL.InitializeOCR(document);

                CompareBLL.ShowExtractedTests(response);
            }
            catch (Exception)
            {
                throw;
            }
        }
Exemplo n.º 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;
            }
        }