The Vintasoftimaging.net SDK is a powerful and easy to use image Toolkit developed for. NET developers. It lets you load, view, process, print, and save digital images, convert them to different image formats, and increase your productivity with a variety of TIFF and animated GIF files.
And the product can also add multiple modules: Picture annotation module, PDF module, JBIG2 module, JPEG2000 module, document cleaning module, dicom module, OCR module and form processing module, together with these module developers can develop a modern business application This article mainly introduces Vintasoft Imaging. NET how and OCR module, the recognition rate of OCR recognition module is high, support multi-language contains Chinese, and can customize a variety of functions, the following code mainly describes how to set up OCR only the number in the image to identify, as follows:
Using system;using vintasoft.imaging;using vintasoft.imaging.ocr;using vintasoft.imaging.ocr.results;using Vintasoft.Imaging.Ocr.Tesseract; Class tesseractocrsetvariableexample{//Required assemblies to run this code://Vintasoft.Imaging.dll, VINTASOFT.I Maging. Ocr.dll, Vintasoft.Imaging.Ocr.Tesseract.dll public static void Ocrimagewithdigits (string filename) {//load Image (s) imagecollection images = new ImageCollection (); Images. ADD (filename); Console.WriteLine ("Create tesseract OCR engine ..."); using (TESSERACTOCR TESSERACTOCR = new TESSERACTOCR ()) {Console.WriteLine ("Initialize OCR engine ..."); Tesseractocr.init (New Ocrenginesettings (Ocrlanguage.english)); Set White list tesseractocr.setvariable ("Tessedit_char_whitelist", "01234567890"); foreach image foreach (vintasoftimage image in images) {Console.WriteLine("Recognize the image ..."); Ocrpage page = tesseractocr.recognize (image); Console.WriteLine ("Page Text:"); Console.WriteLine (page. GetText ()); Console.WriteLine (); }//Shutdown OCR engine tesseractocr.shutdown (); }//Free resources images. Clearanddisposeitems (); Images. Dispose (); }}
This article goes from Vintasoft Imaging. NET
View Product Details evget.com/product/1750
Vintasoft Imaging. NET use Tutorial: How to set OCR to recognize numbers only