Filipino OCR in C# and .NET
IronOCR es un componente de software C# que permite a los programadores .NET leer texto de imágenes y documentos PDF en 126 idiomas, incluido el filipino. Es una versión avanzada de Tesseract, construida exclusivamente para desarrolladores .NET y supera regularmente a otros motores Tesseract tanto en velocidad como en precisión.
Contenido de IronOcr.Languages.Filipino
Este paquete contiene 49 idiomas OCR for .NET:
- Filipino
- FilipinoBest
- FilipinoFast
Descargar
Paquete de Idioma Filipino [Idioma Nacional de Filipinas]
Instalación
Lo primero que tenemos que hacer es instalar nuestro paquete OCR Filipino en tu proyecto .NET.
Ejemplo de código
Este ejemplo de código C# lee texto en filipino de una imagen o documento PDF.
// Import the IronOcr namespace to use its classes and methods.
using IronOcr;
class Program
{
static void Main()
{
// Create a new instance of the IronTesseract OCR engine.
var Ocr = new IronTesseract();
// Set the OCR language to Filipino.
Ocr.Language = OcrLanguage.Filipino;
// Create a new OcrInput object, specifying the path to the image
// or document that contains the text you want to read.
using (var Input = new OcrInput(@"images\Filipino.png"))
{
// Perform OCR on the input.
var Result = Ocr.Read(Input);
// Extract the read text from the OCR result.
var AllText = Result.Text;
// Output the text to the console or use it in your application.
Console.WriteLine(AllText);
}
}
}' Import the IronOcr namespace to use its classes and methods.
Imports IronOcr
Friend Class Program
Shared Sub Main()
' Create a new instance of the IronTesseract OCR engine.
Dim Ocr = New IronTesseract()
' Set the OCR language to Filipino.
Ocr.Language = OcrLanguage.Filipino
' Create a new OcrInput object, specifying the path to the image
' or document that contains the text you want to read.
Using Input = New OcrInput("images\Filipino.png")
' Perform OCR on the input.
Dim Result = Ocr.Read(Input)
' Extract the read text from the OCR result.
Dim AllText = Result.Text
' Output the text to the console or use it in your application.
Console.WriteLine(AllText)
End Using
End Sub
End Class
Curtis Chau tiene una licenciatura en Ciencias de la Computación (Carleton University) y se especializa en el desarrollo front-end con experiencia en Node.js, TypeScript, JavaScript y React. Apasionado por crear interfaces de usuario intuitivas y estéticamente agradables, disfruta trabajando con frameworks modernos y creando manuales bien estructurados y visualmente atractivos.