This allows us to explore, export and draw OCR content using other APIs/ Pages, Barcodes, Paragraphs, Lines, Words and Characters We can delve deep into OCR results as an object model of ' Export the modified image so you can manually inspect it. Input.ReplaceColor(Color.Blue, Color.Black, 5) Input.ReplaceColor(Color.Pink, Color.White, 10) Using Input = New OcrInput("blue_and_pink.png") Export the modified image so you can manually inspect it. ![]() Using (var Input = new OcrInput("blue_and_pink.png")) ' Optional: Export modified images so you can view them. ' most users only need Deskew() and occasionally DeNoise() Using Input = New OcrInput("images\image.png") Optional: Export modified images so you can view them. most users only need Deskew() and occasionally DeNoise() Using Input = New OcrInput("images\mixed-lang.pdf") Ocr2.AddSecondaryLanguage(OcrLanguage.EnglishBest) Ocr2.UseCustomTesseractLanguageFile("custom_tesseract_files/aineddata") Using Input = New OcrInput("images\arabic.gif") Using (var Input = new Result = Ocr2.Read(Input) ![]() Using (var Input = new Result = Ocr.Read(Input)
0 Comments
Leave a Reply. |