動画のブループリントの作成 - Amazon Bedrock

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

動画のブループリントの作成

動画ファイルのブループリントでは、他のブループリントと比較して、特にフィールド作成に関して、独自の特徴がいくつかあります。動画ブループリントには、粒度と呼ばれるパラメータがあり、フィールドを動画またはチャプターのどちらかに設定できます。フィールドを動画に設定すると、動画全体にわたって検出が行われます。例えば、クリップ全体の概要が必要な場合は、そのフィールドの粒度を動画に設定します。

粒度をチャプターに設定したフィールドの場合は、その代わりに動画の各チャプターに対するレスポンスを返します。フィールドは、動画の各チャプターの値を返します。前の例から続けて、動画の各部分の概要が必要な場合は、粒度をチャプターに設定します。

チャプター粒度フィールドを作成する際に、固有のデータ型であるエンティティの配列を設定できます。例えば、動画内の視覚的に目立つオブジェクトを検出する場合は、key-visual-objects というフィールドを作成し、このフィールドの型をエンティティの配列に設定します。このフィールドは、配列オブジェクト内のエンティティの名前を返します。

以下は、動画処理でのフィールドの例です。動画ブループリント内のエンティティとエンティティ配列を除くすべてのフィールドは、推論されているものとみなされます。

フィールド 手順 抽出タイプ タイプ 詳細度
key-visual-objects Please detect all the visually prominent objects in the video extractive Array of entities [ "chapter" ]
keywords Searchable terms that capture key themes, cast, plot elements, and notable aspects of TV shows and movies to enhance content discovery. inferred Array of strings ["video"]
genre The genre of the content. inferred string ["video"]
video-type Identify the type of video content inferred enums: ["Movie", "TV series", "News", "Others"] [ "video" ]

基調講演のハイライトでのブループリントのフィールド例

フィールド 手順 抽出タイプ タイプ 詳細度
broadcast-setting The physical setting or environment where the broadcast or training session is taking place. inferred enums["conference hall", "classroom", "outdoor venue", "Others", "Not applicable to the video"] [ "video" ]
broadcast-audience-engagement The level of engagement or interaction between the speakers and the audience. inferred enums["interactive", "passive", "Not applicable to the video"] ["video"]
broadcast-visual-aids A list of notable visual aids or materials used during the presentation, such as slides, diagrams, or demonstrations. inferred Array of strings ["video"]
broadcast-audience-size The size of the audience present at the event. inferred enums["large crowd", "medium crowd", "small group", "Not applicable to this video"] [ "chapter" ]
broadcast-presentation-topics A list of key topics, subjects, or themes covered in the presentation or training session. inferred enums: ["Movie", "TV series", "News", "Others"] [ "video" ]

広告分析でのブループリントのフィールド例

フィールド 手順 抽出タイプ タイプ 詳細度
ads-video-ad-categories The ad categories for the video inferred enums["Health and Beauty", "Weight Loss", "Food and Beverage", "Restaurants", "Political", "Cryptocurrencies and NFT", "Money Lending and Finance", "Tobacco", "Other", "Video is not an advertisement"] [ "video" ]
ads-video-language The primary language of the advertisement inferred string ["video"]
ads-video-primary-brand The main brand or company being advertised in the video. inferred string ["video"]
ads-video-main-message The primary message or tagline conveyed in the advertisement inferred string [ "video" ]
ads-video-message-clarity How clear and understandable the main message of the advertisement is inferred enums: ["clear", "ambiguous", "Not applicable to the video"] [ "video" ]
ads-video-target-audience-interests Specific interests or hobbies that the target audience is likely to have inferred Array of strings [ "video" ]
ads-video-product-type The category or type of product being advertised inferred enums: ["electronics", "apparel", "food_and_beverage", "automotive", "home_appliances", "other", "Not applicable to the video"] [ "video" ]
ads-video-product-placement The way the product is positioned or showcased in the advertisement inferred enums: ["front_and_center", "background", "held_by_person", "other", "Not applicable to the video"] [ "video" ]
ads-video-product-features The key features or specifications of the advertised product highlighted in the video inferred Array of strings [ "video" ]
ads-video-number-of-products The number of distinct products or variations featured in the advertisement inferred number [ "video" ]

動画は、動画コンテンツ内の特定のエンティティを識別して特定するのに役立つエンティティ配列型もサポートしています。この機能は、検出されたエンティティの配列を返します。以下は、顧客のブループリント内のエンティティの配列の例です。

"field_name": { "items": { "$ref": "bedrock-data-automation#/definitions/Entity" }, "type": "array", "instruction": "Please detect all the visually prominent objects in the video", "granularity": [ "chapter" ] }
注記

bedrock-data-automation#/definitions/Entity は BDA 所有のサービスタイプです。結果を解析するには、以下のスキーマを使用できます。

{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "bedrock-data-automation", "type": "object", "definitions": { "BoundingBox": { "type": "object", "additionalProperties": false, "properties": { "left": { "type": "number" }, "top": { "type": "number" }, "width": { "type": "number" }, "height": { "type": "number" } } }, "Entity": { "type": "object", "additionalProperties": false, "properties": { "label": { "type": "string" }, "bounding_box": { "$ref": "bedrock-data-automation#/definitions/BoundingBox" }, "confidence": { "type": "number" } } } }, "properties": {} }