Nepali OCR in C# and .NET

Curtis Chau
Curtis Chau
Updated: 22 de abril de 2026
Outras versões deste documento:

O IronOCR é um componente de software C# que permite aos programadores .NET ler texto de imagens e documentos PDF em 126 idiomas, incluindo o nepalês.

Trata-se de uma versão avançada do Tesseract, criada exclusivamente para desenvolvedores .NET e que supera regularmente outros mecanismos do Tesseract em termos de velocidade e precisão.

Conteúdo de IronOcr.Languages.Nepali

Este pacote contém 43 linguagens OCR for .NET:

  • Nepalês
  • NepalêsMelhor
  • NepalêsRápido

Baixar

Pacote de idioma nepalês [नपाली]

Instalação

A primeira coisa que precisamos fazer é instalar nosso pacote de OCR para nepalês em seu projeto .NET.

PM > Install-Package IronOcr.Languages.Nepali

Exemplo de código

Este exemplo de código C# lê texto nepalês de uma imagem ou documento PDF.

// First, ensure the IronOCR and the Nepali language pack are installed:
// PM> Install-Package IronOcr.Languages.Nepali

// Import the IronOcr namespace to access the required OCR functionalities.
using IronOcr;

class NepaliOcrExample
{
    public void ReadNepaliText()
    {
        // Create an instance of IronTesseract, the main class for performing OCR tasks.
        var Ocr = new IronTesseract();
        
        // Set the language to Nepali. Ensure you have the Nepali language package installed.
        Ocr.Language = OcrLanguage.Nepali;
        
        // Specify the input image or PDF file which contains Nepali text.
        using (var Input = new OcrInput(@"images\Nepali.png"))
        {
            // Perform the OCR operation on the input and get the result.
            var Result = Ocr.Read(Input);
            
            // Extract the recognized text from the result.
            var AllText = Result.Text;
            
            // Print the recognized text to the console.
            System.Console.WriteLine(AllText);
        }
    }
}

Curtis Chau é bacharel em Ciência da Computação (Universidade Carleton) e se especializa em desenvolvimento front-end, com experiência em Node.js, TypeScript, JavaScript e React. Apaixonado por criar interfaces de usuário intuitivas e esteticamente agradáveis, Curtis gosta de trabalhar com frameworks modernos e criar manuais bem estruturados e visualmente atraentes.

Leia mais

Pronto para começar?

Nuget Downloads 6,357,159Versão:2026.11recém-lançado