Ask Your Question

Averaging Video Frames Into One Image

asked 2013-10-27 12:36:57 -0600

pavlucco gravatar image

updated 2013-10-27 12:37:30 -0600

I'm coding application detecting movement. Advise from my teacher was to make "averaged frame" of all frames in video at first. I'm total newbie with OpenCV, so please give my some tips/advise/example how to make this.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-10-27 14:45:54 -0600

r.a. gravatar image

updated 2013-10-27 23:32:17 -0600

1.You need to build a background model of the video.(The average frame) 2.Than the foreground is approximately = current frame - "Average frame".

look at those links with code and detailed explanation:

Also have a look at opencv docs on background subtraction:

Hope this helps

edit flag offensive delete link more

Question Tools


Asked: 2013-10-27 12:36:57 -0600

Seen: 4,133 times

Last updated: Oct 27 '13