0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Azure Cognitive Search のカスタムAPIで画像を処理する際の設定

0
Posted at

初見で手こずったので記録を残す。

手順

  • ストレージアカウント と blob コンテナーの作成

  • Azure Cognitive Search サービスの作成

    • プランなどを選択する
  • Azure Cognitive Search の データソースの作成

    • 前工程で作成した blob コンテナー を参照させる
  • Azure Cognitive Search のインデックスを作成

    • 最初は特に設定しない
    • スクリーンショット 2022-04-22 16.39.22.png
  • インデクサーを作成する

    • スクリーンショット 2022-04-22 19.10.17.png
    • 抽出されるデータ
      • コンテンツとメタデータを選択する
    • 解析モード
      • 規定を選択する
    • 画像アクション imageAction は 3パターン
      • None : image を出さない
      • generateNormalizedImages : ドキュメント解析の一部として正規化された画像の配列を生成
      • generateNormalizedImagePerPage : PDF 内の各ページを 1 つの出力画像にレンダリングする正規化された画像の配列を生成
    • スキルセットでのファイルデータの読み取りを許可する
      • チェックをつける

カスタムスキルで画像を入力にする際

  • カスタム スキル内で画像を使用するには、カスタム スキルへの入力として /document/normalized_images/*/data を設定します

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?