ツールボックス - ドキュメントを Vision API レスポンスに変換する
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],[],[[["\u003cp\u003eThis content demonstrates how to convert output from Document AI's \u003ccode\u003eDocument\u003c/code\u003e format to Vision API's \u003ccode\u003eAnnotateFileResponse\u003c/code\u003e format.\u003c/p\u003e\n"],["\u003cp\u003eThe provided code sample utilizes the \u003ccode\u003edocumentai_toolbox\u003c/code\u003e library in Python to perform this conversion.\u003c/p\u003e\n"],["\u003cp\u003eThe conversion process involves loading a \u003ccode\u003eDocument\u003c/code\u003e from Google Cloud Storage (GCS) and then using the \u003ccode\u003econvert_document_to_annotate_file_response()\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eYou can explore the Document AI Toolbox client libraries and handling processing response documentation for further information.\u003c/p\u003e\n"],["\u003cp\u003eAuthentication for Document AI can be set up using Application Default Credentials, as described in the provided link.\u003c/p\u003e\n"]]],[],null,[]]