arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.14042cs.SE
收藏

SeeHow:通过动作感知视频分析从编程屏幕录像中提取工作流

SeeHow: Workflow Extraction from Programming Screencasts through Action-Aware Video Analytics

Dehai Zhao, Zhenchang Xing, Xin Xia, Deheng Ye, Xiwei Xu, Liming Zhu

AI总结:

本文提出 SeeHow,利用计算机视觉动作感知分析从编程屏幕录像中自动识别代码行编辑步骤及相关代码片段,从而提取可理解的编程工作流。

摘要:

编程屏幕录像(例如 YouTube 上的视频教程或 Twitch 上的直播编程流)是开发者学习编程知识的重要知识来源,尤其是学习完成编程任务的工作流。尽管如此,编程屏幕录像的图像属性限制了屏幕录像内容及嵌入其中的工作流的可访问性,从而造成了在访问和交互编程屏幕录像中的内容与工作流方面的鸿沟。现有的非侵入式方法局限于只能提取原始人机交互(HCI)动作,或只能提取粗粒度视频片段。在本工作中,我们利用计算机视觉(CV)技术构建了一个编程屏幕录像分析工具,该工具能够从屏幕录像中自动提取代码行编辑步骤(输入文本、删除文本、编辑文本和选中文本)。给定一个编程屏幕录像,我们的方法会输出一系列编码步骤以及每个步骤涉及的代码片段,我们将其称为编程工作流。所提出的方法在涵盖多样编程环境的 41 小时教程视频和直播编程屏幕录像上进行了评估。结果表明,我们的工具能够准确提取代码行编辑步骤,并且提取出的工作流步骤能够被开发者直观理解。

英文摘要:

Programming screencasts (e.g., video tutorials on Youtube or live coding stream on Twitch) are important knowledge source for developers to learn programming knowledge, especially the workflow of completing a programming task. Nonetheless, the image nature of programming screencasts limits the accessibility of screencast content and the workflow embedded in it, resulting in a gap to access and interact with the content and workflow in programming screencasts. Existing non-intrusive methods are limited to extract either primitive human-computer interaction (HCI) actions or coarse-grained video fragments.In this work, we leverage Computer Vision (CV) techniques to build a programming screencast analysis tool which can automatically extract code-line editing steps (enter text, delete text, edit text and select text) from screencasts.Given a programming screencast, our approach outputs a sequence of coding steps and code snippets involved in each step, which we refer to as programming workflow. The proposed method is evaluated on 41 hours of tutorial videos and live coding screencasts with diverse programming environments.The results demonstrate our tool can extract code-line editing steps accurately and the extracted workflow steps can be intuitively understood by developers.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑