Tibetan Alphabet OCR in C# and .NET
IronOCR es un componente de software en C# que permite a los desarrolladores en .NET leer texto de imágenes y documentos PDF en 126 idiomas, incluido el alfabeto tibetano.
Es una bifurcación avanzada de Tesseract, desarrollada exclusivamente para desarrolladores .NET, y supera regularmente a otros motores Tesseract tanto en velocidad como en precisión.
Contenido de IronOcr.Languages.Tibetan
Este paquete contiene 114 idiomas OCR for .NET:
- Tibetano
- TibetanooBest
- TibetanooFast
- AlfabetoTibetano
- AlfabetoTibetanoBest
- AlfabetoTibetanoFast
Descargar
Paquete de idioma del alfabeto tibetano [Estándar Tibetano]
Instalación
Lo primero que necesitas hacer es instalar el paquete de OCR del Alfabeto Tibetano en tu proyecto .NET.
Ejemplo de código
Este ejemplo de código en C# lee texto del alfabeto tibetano de una imagen o documento PDF.
// Import the IronOcr namespace to use its components
using IronOcr;
class Program
{
static void Main()
{
// Initialize a new IronTesseract object for OCR
var Ocr = new IronTesseract();
// Set the OCR language to Tibetan
Ocr.Language = OcrLanguage.Tibetan;
// Use a using statement for automatic resource disposal
using (var Input = new OcrInput(@"images\Tibetan.png"))
{
// Perform OCR to read text from the input image
var Result = Ocr.Read(Input);
// Retrieve all recognized text from the OCR Result
var AllText = Result.Text;
// Output the recognized text to the console
// Note: Ensure that the console supports Tibetan script for correct display
Console.WriteLine(AllText);
}
}
}' Import the IronOcr namespace to use its components
Imports IronOcr
Module Program
Sub Main()
' Initialize a new IronTesseract object for OCR
Dim Ocr As New IronTesseract()
' Set the OCR language to Tibetan
Ocr.Language = OcrLanguage.Tibetan
' Use a Using statement for automatic resource disposal
Using Input As New OcrInput("images\Tibetan.png")
' Perform OCR to read text from the input image
Dim Result = Ocr.Read(Input)
' Retrieve all recognized text from the OCR Result
Dim AllText = Result.Text
' Output the recognized text to the console
' Note: Ensure that the console supports Tibetan script for correct display
Console.WriteLine(AllText)
End Using
End Sub
End ModuleNotas
- La biblioteca OCR (
IronTesseract) está configurada para leer el idioma tibetano a partir de la imagen proporcionada. OcrInputse encarga de cargar la imagen de entrada y garantiza la correcta liberación de recursos mediante la instrucciónusing.Result.Textcontiene el texto procesado mediante OCR que se puede imprimir o utilizar dentro de la aplicación.

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.