- 概要
- Document Understanding Process
- クイックスタート チュートリアル
- 領収書からデータを抽出する
- 請求書のフィールドを 1 つ追加して再トレーニングする
- フォームからデータを抽出する
- フレームワーク コンポーネント
- ML パッケージ
- パイプライン
- Document Manager
- OCR サービス
- Automation Suite にデプロイされた Document Understanding
- AI Center スタンドアロンにデプロイされた Document Understanding
- ディープ ラーニング
- 優れたパフォーマンスのモデルをトレーニングする
- ライセンス
- 参照
- UiPath.Abbyy.Activities
- UiPath.AbbyyEmbedded.Activities
- UiPath.DocumentUnderstanding.ML.Activities
- UiPath.DocumentUnderstanding.OCR.LocalServer.Activities
- UiPath.IntelligentOCR.Activities
- UiPath.OCR.Activities
- UiPath.OCR.Contracts
- UiPath.DocumentProcessing.Contracts
- UiPath.OmniPage.Activities
- UiPath.PDF.Activities
このページは、Document Understanding を初めて使用するユーザーに Document Understanding の機能を分かりやすく紹介するためのページです。
For scalable production deployments, we strongly recommend using the Document Understanding Process available in UiPath Studio under the Templates section.
This quickstart guides you through the steps required to extract information from W-9 forms using the Intelligent Form Extractor. The W-9 forms are used as an example, but the procedure is similar for other types of documents where the data is structured.
ゼロから始める場合、以下の手順に従う必要があります。
- 空のプロセスを作成する
- 必要なアクティビティ パッケージをインストールする
- タクソノミーを作成する
- ドキュメントをデジタル化する
- [インテリジェント フォーム抽出器] アクティビティを使用してデータを抽出する
- 検証ステーションを使用して結果を検証する
- 抽出結果をエクスポート
次に、各ステップについて詳しく説明します。
1. 空のプロセスを作成する
UiPath Studio を起動します。
[ホーム] の Backstage ビューで [プロセス] をクリックして、新しいプロジェクトを作成します。
[新しい空のプロセス] ウィンドウが表示されます。このウィンドウで、新しいプロジェクトの名前を入力します。プロジェクトを簡単に見つけられるように、必要に応じてプロジェクトの説明を追加することもできます。
[作成] をクリックします。新しいプロジェクトが Studio で開きます。
2. 必要なアクティビティ パッケージをインストールする
既定でプロジェクトに追加されるコア アクティビティ パッケージ (UiPath.Excel.Activities、UiPath.Mail.Activities、UiPath.System.Activities、UiPath.UIAutomation.Activities) に加えて、リボンの [パッケージを管理] ボタンから、次のアクティビティ パッケージをインストールします。
3. タクソノミーを作成する
アクティビティ パッケージをインストールしたら、必要なフィールドをリストアップします。この例では、以下のフィールドのデータを抽出します。
- 1_Name -
Text - 2_BusinessName -
Text - 3a_Individual -
Boolean - 3b_CCorp -
Boolean - 3c_SCorp -
Boolean - 3d_Partnership -
Boolean - 3e_TrustEstate -
Boolean - 3f_LLC -
Boolean - 3f_LLCTaxClassification -
Boolean - 3g_Other -
Boolean - 3g_OtherDetail -
Boolean - 5_Address -
Text - 6_CityStateZip -
Text - 7_AcctNumber -
Text - TIN_SSN -
Text - TIN_ETN -
Text - Certification_Signature -
Boolean - Certification_SignatureDate -
Date
Open Taxonomy Manager and create a group named "Structured Documents", a category named "Lending Forms", and a document type named "W-9". Create above listed fields with user friendly names along with respective data types.
4. ドキュメントをデジタル化する
Main.xaml ファイルに [タクソノミーを読み込み] アクティビティを追加し、タクソノミー データの出力用の変数を作成します。
[ ドキュメントをデジタル化 ] アクティビティを追加し、[ UiPath Document OCR] を配置します。入力プロパティの [ドキュメント パス ] を指定し、[ ドキュメント テキスト ] および [ドキュメント オブジェクト モデル] の出力変数を作成します。
[UiPath Document OCR] アクティビティに Document Understanding の API キーを追加します。
5. [インテリジェント フォーム抽出器] アクティビティを使用してデータを抽出する
[データ抽出スコープ] アクティビティを追加し、プロパティを入力します。
その中に [ インテリジェント フォーム抽出器 ] をドラッグ アンド ドロップします。このエンドポイントに、インテリジェント フォーム抽出器のエンドポイント ( https://du.uipath.com/svc/intelligentforms) が自動的に入力されます。Document Understanding の API キーを入力します。
その後、新しいテンプレートを作成します。[テンプレートを管理] > [テンプレートを作成] をクリックします。ポップアップ ウィンドウが開きます。
[ドキュメントの種類] で前の手順で作成した「W9 (米国の納税申告書)」を選択します。
[ドキュメント名] にテンプレートの名前を入力します。
[テンプレート ドキュメント] (可能な場合はネイティブ PDF)] で、フィールドの位置をマップするテンプレート ドキュメントを添付します。
[ OCR エンジン] で、 もう一度 [UiPath Document OCR] を選択します。前と同様に、エンドポイント、つまり https://du.uipath.com/ocr が自動入力される必要があります。APIキーを指定するだけです。
[設定] をクリックして次の手順に進みます。[テンプレート マネージャー] ポップアップ ウィンドウが開きます。
Here, we will need to select the areas where we want Intelligent Form Extractor to search for our fields. Configure them by following the steps detailed here. You also have the option of using anchors for your fields. More information on anchors here.
最終的に画面は次のようになります。
[保存] をクリックします。この画面では、必要に応じて手書きまたは署名のフィールドを定義できます。Boolean フィールドの類義語を定義することもできます。設定が完了したらウィンドウを閉じます。
次に抽出器を設定します。これはつまり、インテリジェント フォーム抽出器がすべての W9 (米国の納税申告書) ドキュメントを処理するように設定するということです。
6. 検証ステーションを使用して結果を検証する
抽出結果を検証ステーションで確認するには、[ 検証ステーションを提示] アクティビティをドラッグ アンド ドロップして、入力の詳細を入力します。
7. 抽出結果をエクスポートする
検証済みか否かに関わらず抽出結果をエクスポートするには、[ 抽出結果をエクスポート ] アクティビティをワークフローの最後にドラッグ アンド ドロップします。これにより、複数の表を含む DataSet に結果が出力され、Excel ファイルに書き込んだり下流工程で直接使用したりできます。
サンプルをダウンロードする
[インテリジェント フォーム抽出器] アクティビティを使用する W9 (米国の納税申告書) のワークフローを実行するサンプル プロジェクトは、こちらからダウンロードできます。