Ask Your Question

How to stack static pixels from frames to construct a clean background?

asked 2017-09-27 06:33:47 -0600

I'm interested in combining the static components of multiple frames to generate to create an image without the dynamic contributors. This is a first step to perform accurate line recognition on a sports field. Does anyone have a good suggestion on how to script it in python?

Currently I'm using the absdiff to obtain the dynamic pixels and use them to create an inverted, slightly diluted mask that I slowly fill by using other frames.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-09-27 07:55:39 -0600

VxW gravatar image

have a look at opencv foreground background segmentation techniques, e.g.:

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-09-27 06:33:47 -0600

Seen: 135 times

Last updated: Sep 27 '17