主要内容

本页采用了机器翻译。点击此处可查看英文原文。

视频分类

使用深度学习对视频进行分类并执行活动识别

使用深度学习将来自视频流等视觉数据源的图像序列中包含的活动或动作分类成一组类别。基于视觉的活动识别涉及使用一组视频帧来预测图像序列中的动作,例如行走、游泳或静坐。视频中的活动识别应用广泛,例如人机交互、异常检测和监控。要了解详细信息,请参阅Getting Started with Video Classification Using Deep Learning

App

视频标注器Label video for computer vision applications

函数

全部展开

groundTruthGround truth label data
writeVideoScenesWrite video sequence to video file (自 R2021b 起)
sceneTimeRangesTime ranges of scene labels from ground truth data (自 R2021b 起)
VideoReader创建对象以读取视频文件
fileDatastore具有自定义文件读取器的数据存储
transform变换数据存储
combine合并来自多个数据存储的数据
folders2labels从文件夹名称中获取标签列表
splitlabels查找用于根据指定比例拆分标签的索引
inflated3dVideoClassifierInflated-3D (I3D) video classifier. Requires Computer Vision Toolbox Model for Inflated-3D Video Classification (自 R2021b 起)
slowFastVideoClassifierSlowFast video classifier. Requires Computer Vision Toolbox Model for SlowFast Video Classification (自 R2021b 起)
r2plus1dVideoClassifierR(2+1)D video classifier. Requires Computer Vision Toolbox Model for R(2+1)D Video Classification (自 R2021b 起)
predictCompute video classifier predictions (自 R2021b 起)
forwardCompute video classifier outputs for training (自 R2021b 起)
imwarp对图像应用几何变换
imcrop裁剪图像
imresize调整图像大小
randomAffine2dCreate randomized 2-D affine transformation
centerCropWindow2dCreate rectangular center cropping window
classifyVideoFileClassify a video file (自 R2021b 起)
classifySequenceClassify video sequence (自 R2021b 起)
updateSequenceUpdate video sequence for classification (自 R2021b 起)
resetSequenceReset video sequence properties for streaming video classification (自 R2021b 起)
vision.VideoPlayer播放视频或显示图像
vision.DeployableVideoPlayerDisplay video
insertText在图像或视频中插入文字

主题

精选示例