Creazione di blueprint per video - Amazon Bedrock

Le traduzioni sono generate tramite traduzione automatica. In caso di conflitto tra il contenuto di una traduzione e la versione originale in Inglese, quest'ultima prevarrà.

Creazione di blueprint per video

I blueprint per file video hanno alcune qualità uniche rispetto ad altri blueprint, in particolare nella creazione di campi. I blueprint video hanno un parametro chiamato granularità, che consente di impostare un campo su Video o Capitolo. Se il campo è impostato su Video, viene rilevato tutto il video. Ad esempio, per generare un riepilogo di tutti il clip, è necessario impostare la granularità di quel campo Video.

Un campo con la granularità impostata su Capitolo restituisce invece una risposta per ogni capitolo del video. Il campo restituisce un valore per ogni capitolo del video. Continuando dall’esempio precedente, per generare un riepilogo di ogni parte di un video, è necessario impostare la granularità su Capitolo.

Quando viene creato un campo con la granularità impostata su Capitolo, è possibile impostare un tipo di dati univoco, un array di entità. Ad esempio, per rilevare gli oggetti visivamente più importanti nel video, è possibile creare un campo chiamato key-visual-objects e impostare il tipo come array di entità. Questo campo restituisce i nomi delle entità in un oggetto array.

Di seguito sono riportati alcuni campi di esempio per l’elaborazione video. Tutti i campi nei blueprint video sono considerati dedotti, ad eccezione delle entità e degli array di entità.

Campo Istruzioni Tipo di estrazione Tipo Granularità
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" ]

Esempi di campi del blueprint per momenti salienti del keynote

Campo Istruzioni Tipo di estrazione Tipo Granularità
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" ]

Esempi di campi del blueprint per l’analisi della pubblicità

Campo Istruzioni Tipo di estrazione Tipo Granularità
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" ]

Il video supporta anche il tipo array di entità che consente di identificare e localizzare entità specifiche nei contenuti di un video. Questa funzionalità restituisce un array di entità rilevate. Di seguito è riportato un esempio di un array di entità in un blueprint del cliente:

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

bedrock-data-automation#/definitions/Entity è un tipo di servizio di proprietà di BDA. Per analizzare i risultati, è possibile utilizzare il seguente schema.

{ "$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": {} }