UiPath Documentation
activities
latest
false
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。
UiPath logo, featuring letters U and I in white

Document Understanding アクティビティ

最終更新日時 2026年4月22日

ドキュメントのデジタル化の手動検証

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.

注:

このワークフローは UiPath.IntelligentOCR.Activities パッケージの古いバージョンを使用しています。

Steps:

  1. Studio を開いて、新しいプロセスを作成します。プロセスの既定の名前は Main です。

    注:

    プロジェクト フォルダー内に必要なすべてのファイル (.json ファイルとすべての画像) を必ず追加してください。

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

    Table 1. Variables to be created

    変数の型既定値
    Text文字列
    DOMUiPath.DocumentProcessing.Contracts.Dom.Document
    DataUiPath.DocumentProcessing.Contracts.Taxonomy.DocumentTaxonomy
    DocumentTaxonomyUiPath.DocumentProcessing.Contracts.Taxonomy.DocumentTaxonomy
    TaxonomyJSON文字列
    HumanValidatedUiPath.DocumentProcessing.Contracts.Results.ExtractionResult
  3. Add a Read Text File activity inside the sequence.

    • [プロパティ] パネルで [FileName] フィールドにファイルの名前 (この場合は、"taxonomy.json") を追加します。
    • Content (コンテンツ) フィールドに変数 TaxonomyJSON を追加します。
  4. Add an Assign activity after the Read Text File activity.

    • [To] フィールドに変数 Data を追加し、[Value] フィールドに式 DocumentTaxonomy.Deserialize(TaxonomyJSON) を追加します。このアクティビティは抽出用のタクソノミーを構築します。
  5. Add a Digitize Document activity after the Assign activity.

    • [プロパティ] パネルで [並列度] フィールドに値 1 を追加します。
    • [ドキュメント パス] フィールドに式 "Input\Invoice01.tif" を追加します。
    • [ドキュメント オブジェクト モデル] フィールドに変数 DOM を追加します。
    • [ドキュメント テキスト] フィールドに変数 Text を追加します。
  6. Add a Google OCR engine inside the Digitize Document activity.

    • [プロパティ] パネルで [Image] フィールドに変数 Image を追加します。
    • [ExtractWords] オプションのチェック ボックスをオンにします。このオプションは、検出されたすべての単語の画面上の位置を抽出します。
    • [Language] フィールドに式 "eng" を追加します。
    • Profile ドロップダウン リストからオプション Legacy を選択します。
    • [Scale] フィールドに値 2 を追加します。
  7. Add a Present Validation Station activity after the Digitize Document activity.

    • [プロパティ] パネルで [ドキュメント オブジェクト モデル] フィールドに変数 DOM を追加します。
    • [ドキュメント パス] フィールドに式 "Input\Invoice01.tif" を追加します。
    • [ドキュメント テキスト] フィールドに変数 Text を追加します。
    • [Taxonomy] フィールドに変数 Data を追加します。
    • [承認された抽出結果] フィールドに変数 HumanValidated を追加します。
  8. Add a For Each activity under the Present Validation Station activity.

    • [プロパティ] パネルで TypeArgument ドロップダウン リストからオプション UiPath.DocumentProcessing.Contracts.Results.ResultsDataPoint を選択します。
    • HumanValidated.ResultsDocument.FieldsValue (値) フィールドに追加します。
  9. [繰り返し (コレクションの各要素)]アクティビティの [本体] 内に [メッセージをログ] アクティビティを追加します。

    • [レベル] ドロップダウン リストからオプション Info を選択します。
    • item.FieldNameMessage フィールドに追加します。
  10. Add a Log Message activity below the first Log Message activity.

    • Select the option Info from the Level dropdown list.
    • item.Values(0).Value.ToStringMessage フィールドに追加します。
  11. Add a Write Line activity under the Log Message activities.

    • Text (テキスト) フィールドに値 "" を追加します。
  12. プロセスを実行します。ロボットは Intelligent OCR アクティビティを使用して、データを手動で処理し、結果を表示します。

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

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得