微软 AI 入门课程

Detecting Movements using Optical Flow

微软《AI for Beginners》 · 第 课 · 英文原版 · 本地镜像

Lab Assignment from AI for Beginners Curriculum.

Task

Consider this video, in which a person's palm moves left/right/up/down on the stable background.

Palm Movement Frame

Your goal would be able to use Optical Flow to determine, which parts of video contain up/down/left/right movements.

Stretch goal would be to actually track the palm/finger movement using skin tone, as described in this blog post or here.

Starting Notebook

Start the lab by opening MovementDetection.ipynb

Takeaway

Sometimes, relatively complex tasks such as movement detection or fingertip detection can be solved purely by computer vision. Thus, it is very helpful to know what libraries like OpenCV can do.