Real-time Arabic Video Captioning Using CNN and Transformer Networks Based on Parallel Implementation

A. J. Yousif, M. H. Al-Jammas
{"title":"Real-time Arabic Video Captioning Using CNN and Transformer Networks Based on Parallel Implementation","authors":"A. J. Yousif, M. H. Al-Jammas","doi":"10.24237/djes.2024.17108","DOIUrl":null,"url":null,"abstract":"Video captioning techniques have practical applications in fields like video surveillance and robotic vision, particularly in real-time scenarios. However, most of the current approaches still exhibit certain limitations when applied to live video, and research has predominantly focused on English language captioning. In this paper, we introduced a novel approach for live real-time Arabic video captioning using deep neural networks with a parallel architecture implementation. The proposed model primarily relied on the encoder-decoder architecture trained end-to-end on Arabic text. Video Swin Transformer and deep convolutional network are employed for video understanding, while the standard Transformer architecture is utilized for both video feature encoding and caption decoding. Results from experiments conducted on the translated MSVD and MSR-VTT datasets demonstrate that utilizing an end-to-end Arabic model yielded better performance than methods involving the translation of generated English captions to Arabic. Our approach demonstrates notable advancements over compared methods, yielding a CIDEr score of 78.3 and 36.3 for the MSVD and MSRVTT datasets, respectively. In the context of inference speed, our model achieved a latency of approximately 95 ms using an RTX 3090 GPU for a temporal video segment with 16 frames captured online from a camera device.","PeriodicalId":294128,"journal":{"name":"Diyala Journal of Engineering Sciences","volume":"36 11","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-03-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Diyala Journal of Engineering Sciences","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.24237/djes.2024.17108","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Video captioning techniques have practical applications in fields like video surveillance and robotic vision, particularly in real-time scenarios. However, most of the current approaches still exhibit certain limitations when applied to live video, and research has predominantly focused on English language captioning. In this paper, we introduced a novel approach for live real-time Arabic video captioning using deep neural networks with a parallel architecture implementation. The proposed model primarily relied on the encoder-decoder architecture trained end-to-end on Arabic text. Video Swin Transformer and deep convolutional network are employed for video understanding, while the standard Transformer architecture is utilized for both video feature encoding and caption decoding. Results from experiments conducted on the translated MSVD and MSR-VTT datasets demonstrate that utilizing an end-to-end Arabic model yielded better performance than methods involving the translation of generated English captions to Arabic. Our approach demonstrates notable advancements over compared methods, yielding a CIDEr score of 78.3 and 36.3 for the MSVD and MSRVTT datasets, respectively. In the context of inference speed, our model achieved a latency of approximately 95 ms using an RTX 3090 GPU for a temporal video segment with 16 frames captured online from a camera device.
使用基于并行执行的 CNN 和变换器网络实时制作阿拉伯语视频字幕
视频字幕技术在视频监控和机器人视觉等领域有着实际应用,尤其是在实时场景中。然而,目前的大多数方法在应用于实时视频时仍表现出一定的局限性,而且研究主要集中在英语字幕方面。在本文中,我们介绍了一种利用并行架构实现的深度神经网络为实时阿拉伯语视频添加字幕的新方法。所提出的模型主要依赖于在阿拉伯语文本上进行端到端训练的编码器-解码器架构。视频 Swin 变换器和深度卷积网络用于视频理解,而标准变换器架构则用于视频特征编码和字幕解码。在翻译后的 MSVD 和 MSR-VTT 数据集上进行的实验结果表明,与将生成的英文字幕翻译成阿拉伯文的方法相比,使用端到端阿拉伯文模型能产生更好的性能。与同类方法相比,我们的方法取得了显著的进步,在 MSVD 和 MSRVTT 数据集上的 CIDEr 得分分别为 78.3 和 36.3。在推理速度方面,我们的模型在使用 RTX 3090 GPU 处理从摄像设备在线捕获的 16 帧时空视频片段时,延迟时间约为 95 毫秒。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信