UiPath Documentation
activities
latest
false
Important :
Veuillez noter que ce contenu a été localisé en partie à l’aide de la traduction automatique. La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.
UiPath logo, featuring letters U and I in white

Activités Document Understanding

Dernière mise à jour 22 avr. 2026

Valider manuellement des documents numérisés

The example below explains how to manually extract data from an image and present the output in a separate file. It presents activities such as Digitize Document or Present Validation Station. You can find these activities in the UiPath.IntelligentOCR.Activities package.

Remarque :

This workflow is using an older version of the UiPath.IntelligentOCR.Activities package.

Steps:

  1. Ouvrez Studio et créez un nouveau Processus nommé par défaut Principal.

    Remarque :

    Make sure to add all the needed files (.json files and all the images) inside the project folder.

  2. Add a Sequence container in the Workflow Designer and create the variables shown in the following table:

    Table 1. Variables to be created

    Types de variablesValeur par défaut
    TextChaîne de caractères (string)
    DOMUiPath.DocumentProcessing.Contracts.Dom.Document
    DataUiPath.DocumentProcessing.Contracts.Taxonomy.DocumentTaxonomy
    DocumentTaxonomyUiPath.DocumentProcessing.Contracts.Taxonomy.DocumentTaxonomy
    TaxonomyJSONChaîne de caractères (string)
    HumanValidatedUiPath.DocumentProcessing.Contracts.Results.ExtractionResult
  3. Add a Read Text File activity inside the sequence.

    • In the Properties panel, add the name of the file, in this case "taxonomy.json", in the FileName field.
    • Add the variable TaxonomyJSON in the Content field.
  4. Add an Assign activity after the Read Text File activity.

    • Add the variable Data in the To field and the expression DocumentTaxonomy.Deserialize(TaxonomyJSON) in the Value field. This activity builds the taxonomy for extraction.
  5. Add a Digitize Document activity after the Assign activity.

    • In the Properties panel, add the value 1 in the DegreeOfParallelism field.
    • Add the expression "Input\Invoice01.tif" in the DocumentPath field.
    • Add the variable DOM in the DocumentObjectModel field.
    • Add the variable Text in the DocumentText field.
  6. Add a Google OCR engine inside the Digitize Document activity.

    • Dans le panneau Propriétés, ajoutez la variable Image dans le champ Image.
    • Select the check box for the ExtractWords option. This option extracts the on-screen position of all detected words.
    • Add the expression "eng" in the Language field.
    • Select the option Legacy from the Profile drop-down list.
    • Ajoutez la valeur 2 dans le champ Échelle.
  7. Add a Present Validation Station activity after the Digitize Document activity.

    • In the Properties panel, add the variable DOM in the DocumentObjectModel field.
    • Add the expression "Input\Invoice01.tif" in the DocumentPath field.
    • Add the variable Text in the DocumentText field.
    • Add the variable Data in the Taxonomy field.
    • Add the variable HumanValidated in the ValidatedExtractionResults field.
  8. Add a For Each activity under the Present Validation Station activity.

    • In the Properties panel, select the option UiPath.DocumentProcessing.Contracts.Results.ResultsDataPoint from the TypeArgument drop-down list.
    • Add the expression HumanValidated.ResultsDocument.Fields in the Values field.
  9. Add a Log Message activity inside the Body of the For Each activity.

    • Select the option Info from the Level drop-down list.
    • Ajoutez l’expression item.FieldName dans le champ Message.
  10. Add a Log Message activity below the first Log Message activity.

    • Select the option Info from the Level dropdown list.
    • Ajoutez l’expression item.Values(0).Value.ToString dans le champ Message.
  11. Add a Write Line activity under the Log Message activities.

    • Add the value "" in the Text field.
  12. Exécutez le processus. Le robot utilise les activités IntelligentOCR pour traiter manuellement les données et présenter les résultats.

Visit the following link to download the example as a ZIP file: Example.

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour