sharingvast.blogg.se

Online pdf ocr tool
Online pdf ocr tool







Using Input = New OcrInput("example.tiff")ĭim Result As OcrResult = Ocr.Read(Input)ĭim PageNumber As Integer = page.PageNumberĭim PageWordCount As Integer = page.WordCount ' 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 Imports System.Drawing ' For image export OcrResult.Choice Choices = character.Choices Output alternative symbols choices and their probability. Int CharacterNumber = character.CharacterNumber īitmap CharacterImage = character.ToBitmap(Input) ĭouble CharacterOcrAccuracy = character.Confidence Pages -> Paragraphs -> Lines -> Words -> Characters OcrResult.TextFlow paragrapthText_direction = paragraph.TextDirection īitmap LineImage = line.ToBitmap(Input) ĭouble LineOcrAccuracy = line.Confidence ĭouble WordOcrAccuracy = word.Confidence įoreach (var character in word.Characters) Int ParagraphNumber = paragraph.ParagraphNumber īitmap ParagraphImage = paragraph.ToBitmap(Input) ĭouble ParagraphOcrAccuracy = paragraph.Confidence OcrResult.Barcode Barcodes = page.Barcodes ĭouble PageRotation = page.Rotation // angular correction in degrees from OcrInput.Deskew()įoreach (var paragraph in page.Paragraphs) 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()

online pdf ocr tool

Using Input = New OcrInput("images\image.png") Optional: Export modified images so you can view them.

online pdf ocr tool

most users only need Deskew() and occasionally DeNoise() Using Input = New OcrInput("images\mixed-lang.pdf") Ocr2.AddSecondaryLanguage(OcrLanguage.EnglishBest) Using Input = New OcrInput("images\arabic.gif") Using (var Input = new Result = Ocr2.Read(Input) Using (var Input = new Result = Ocr.Read(Input)









Online pdf ocr tool