Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class ReconocimientoTexto
- {
- public static void Main()
- {
- Document reconocmientoTexto = new Document();
- reconocmientoTexto.Create(@"D:\imagenes\articulo.jpg");
- reconocmientoTexto.OCR();
- Image imagen = (Image) reconocmientoTexto.Images[0];
- Layout layout = imagen.Layout;
- foreach(Word palabra in layout.Palabras)
- {
- Console.WriteLine("Palabra: {0} - Confidencia: {1}",
- palabra.Text, palabra.RecognitionConfidence);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement