开发者

How can I detect the movement of an rectangle in an image-stream efficiently?

开发者 https://www.devze.com 2023-02-14 13:15 出处:网络
I\'d like to fi开发者_运维知识库nd an algorithm that can detect the movement (and movement-vector) of a rectangular area -- like scrolling a window would produce -- in an image-stream. Any ideas? :)Op

I'd like to fi开发者_运维知识库nd an algorithm that can detect the movement (and movement-vector) of a rectangular area -- like scrolling a window would produce -- in an image-stream. Any ideas? :)


Optical Flow's idea should work, but it depends on the type of features you have in the window (images, text), and whether they're unique enough to be matched reliably in subsequence frames.

RANSAC is a method of given two images, it would compute the homography affine transformation from one image to the other, given that the features matched between them are mostly matched correctly

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号