French OCR in C# and .NET

This article was translated from English: Does it need improvement?
Translated
View the article in English
Outras versões deste documento:

IronOCR é um componente de software C# que permite aos programadores .NET ler texto a partir de imagens e documentos PDF em 126 idiomas, incluindo o francê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údos de IronOcr.Languages.French

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

  • Francês
  • FrenchBest
  • FrenchFast

Baixar

Pacote de Idioma Francês [français]

Instalação

A primeira coisa que temos que fazer é instalar nosso pacote OCR Francês em seu projeto .NET.

Install-Package IronOcr.Languages.French

Exemplo de código

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

// Import the IronOcr namespace
using IronOcr;

// Create a new instance of IronTesseract, which is the OCR engine
var Ocr = new IronTesseract();

// Specify the language to French for OCR processing
Ocr.Language = OcrLanguage.French;

// Load the input image or PDF document
using (var Input = new OcrInput(@"images\French.png"))
{
    // Perform OCR and retrieve the result
    var Result = Ocr.Read(Input);

    // Access the text from the OCR result
    var AllText = Result.Text;

    // Output or further process `AllText` as needed
}
// Import the IronOcr namespace
using IronOcr;

// Create a new instance of IronTesseract, which is the OCR engine
var Ocr = new IronTesseract();

// Specify the language to French for OCR processing
Ocr.Language = OcrLanguage.French;

// Load the input image or PDF document
using (var Input = new OcrInput(@"images\French.png"))
{
    // Perform OCR and retrieve the result
    var Result = Ocr.Read(Input);

    // Access the text from the OCR result
    var AllText = Result.Text;

    // Output or further process `AllText` as needed
}
$vbLabelText   $csharpLabel