filtering out the background

Apr 2, 2012 at 2:33pm

filtering out the background

Hello, I;ve been trying to filter out the background by first generating an empty background frame in a matrix and then comparing this to another matrix which uses a live camera. But it isn’t working since I probably using the wrong techniques for this. Can somebody check out my patch whether Im heading in the right direction. and give me some pointers.
thanks in advance,
Rik

– Pasted Max Patch, click to expand. –
#62730
Apr 2, 2012 at 7:39pm

here’s one way to do it using jit.op @op absdiff

you can also use jit.slide to smooth the background matrix, which may or may not give better results.

– Pasted Max Patch, click to expand. –
#226531

You must be logged in to reply to this topic.