%% Video Stabilization

% This example shows how to remove the effect of camera motion from a video stream.

% Copyright 2006-2010 The MathWorks, Inc.

%% Introduction

% In this example we first define the target to track. In this case, it is the

% back of a car and the license plate. We also establish a dynamic search

% region, whose position is determined by the last known target location.

% We then search for the target only within this search region, which

% reduces the number of computations required to find the target. In each

% subsequent video frame, we determine how much the target has moved

% relative to the previous frame. We use this information to remove

% unwanted translational camera motions and generate a stabilized video.

%% Initialization

% Create a System object to read video from a multimedia file. We set the

% output to be of intensity only video.

% Input video file which needs to be stabilized. filename = 'v1.avi';

hVideoSource = vision.VideoFileReader(filename, ...

'ImageColorSpace', 'Intensity',...

'VideoOutputDataType', 'double');

%%

% Create a geometric translator System object used to

GitHub 加速计划 / vi / vision
36
0
下载
pytorch/vision: 一个基于 PyTorch 的计算机视觉库,提供了各种计算机视觉算法和工具,适合用于实现计算机视觉应用程序。
最近提交(Master分支:4 个月前 )
1e53952f 15 天前
269805e1 Co-authored-by: Nicolas Hug <nh.nicolas.hug@gmail.com> 16 天前
Logo

AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。

更多推荐