Automatic Detection of Intro and Credits in Video using CLIP and Multihead Attention

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Korolkov, Vasilii, Yanchenko, Andrey
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866915240716795904
author Korolkov, Vasilii
Yanchenko, Andrey
author_facet Korolkov, Vasilii
Yanchenko, Andrey
contents Detecting transitions between intro/credits and main content in videos is a crucial task for content segmentation, indexing, and recommendation systems. Manual annotation of such transitions is labor-intensive and error-prone, while heuristic-based methods often fail to generalize across diverse video styles. In this work, we introduce a deep learning-based approach that formulates the problem as a sequence-to-sequence classification task, where each second of a video is labeled as either "intro" or "film." Our method extracts frames at a fixed rate of 1 FPS, encodes them using CLIP (Contrastive Language-Image Pretraining), and processes the resulting feature representations with a multihead attention model incorporating learned positional encoding. The system achieves an F1-score of 91.0%, Precision of 89.0%, and Recall of 97.0% on the test set, and is optimized for real-time inference, achieving 11.5 FPS on CPU and 107 FPS on high-end GPUs. This approach has practical applications in automated content indexing, highlight detection, and video summarization. Future work will explore multimodal learning, incorporating audio features and subtitles to further enhance detection accuracy.
format Preprint
id arxiv_https___arxiv_org_abs_2504_09738
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Automatic Detection of Intro and Credits in Video using CLIP and Multihead Attention
Korolkov, Vasilii
Yanchenko, Andrey
Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
Multimedia
68T07
I.2.10; I.4.8; I.5.1
Detecting transitions between intro/credits and main content in videos is a crucial task for content segmentation, indexing, and recommendation systems. Manual annotation of such transitions is labor-intensive and error-prone, while heuristic-based methods often fail to generalize across diverse video styles. In this work, we introduce a deep learning-based approach that formulates the problem as a sequence-to-sequence classification task, where each second of a video is labeled as either "intro" or "film." Our method extracts frames at a fixed rate of 1 FPS, encodes them using CLIP (Contrastive Language-Image Pretraining), and processes the resulting feature representations with a multihead attention model incorporating learned positional encoding. The system achieves an F1-score of 91.0%, Precision of 89.0%, and Recall of 97.0% on the test set, and is optimized for real-time inference, achieving 11.5 FPS on CPU and 107 FPS on high-end GPUs. This approach has practical applications in automated content indexing, highlight detection, and video summarization. Future work will explore multimodal learning, incorporating audio features and subtitles to further enhance detection accuracy.
title Automatic Detection of Intro and Credits in Video using CLIP and Multihead Attention
topic Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
Multimedia
68T07
I.2.10; I.4.8; I.5.1
url https://arxiv.org/abs/2504.09738