Vedio=2D+Time(4D tensor:T×3×H×W)
Videos are ~30 frames per second (fps)
Size of uncompressed video
(3 bytes per pixel):
SD (640 x 480): ~1.5 GB per minute
HD (1920 x 1080): ~10 GB per minute
Solution: Train on short clips: low fps and low spatial resolution

Image

1、Vedio Classification

1.1 Single-Frame CNN

Image

1.2 Late Fusion

a:(with FC layers)

Image

Problem:需要用到非常大的全连接层。

b:(with pooling)

Image

Problem:可能会丢失某些信息。

1.2 Early Fusion

a:
Image

输入视频片段维度: $T×3×H×W$

b:3D-CNN
Image

Image

Image

Late Fusion图示:
Image

1.3 3D卷积的图示

Image

1.4 C3D

Image

1.5

(1)光流

Image

光流的核心是计算相邻帧中像素的移动 ### (2)双流神经网络

Image

两路分支: Spatial stream 空间流:外观分类 Temporal stream 时间流:利用光流判断动作 一般来说,时间流比空间流效果更好

1.6 Modeling long-term temporal structure

(1)借助RNN

Image

Image

某一单元的输出取决于同层上一时间步的输出和同一时间步上一层的输出

原理图示:

Image

Problem:

RNN处理非常慢,视频序列一般很长,所以非常费时间

(2)Spatio-Temporal Self-Attention(Nonlocal Block)

引入注意力机制:
Image

Image