video_captioning_from_human_tracks_mapper#
Generate per-person captions for each tracked human in a video using a video-to-text model (VideoLLaMA3). This operator crops video segments around each tracked person and generates a description of the person's appearance, as well as determining whether the person is a child. It must be operated after video_human_tracks_extraction_mapper.
使用视频转文本模型(VideoLLaMA3)为视频中每个跟踪的人物生成个体描述。此算子根据每个跟踪人物裁剪视频片段,生成人物外观描述,并判断该人物是否为儿童。它必须在 video_human_tracks_extraction_mapper 之后运行。
Type 算子类型: mapper
Tags 标签: gpu, hf, video
🔧 Parameter Configuration 参数配置#
name 参数名 |
type 类型 |
default 默认值 |
desc 说明 |
|---|---|---|---|
|
<class 'str'> |
|
prompt for describing the person's appearance. |
|
<class 'bool'> |
|
whether to trust the remote code of HF models. |
|
<class 'str'> |
|
path to the VideoLLaMA3 model. |
|
<class 'str'> |
|
path for temporary video storage. |
|
<class 'str'> |
|
field name to store the track captions. |
|
<class 'str'> |
|
field name to store the child flag. |
|
|
extra args |
|
|
|
extra args |