Hi
Apologies for the slowness of my reply. Thanks both for the
examples. I couldn't get pix_background working Ben but it seems to
be not what I'm looking for on this occasion anyway. Mark, managed
to see yours working, yep its pretty raw but it's a start which is
what I needed. Many thanks.
a+ gar
You don't actually load a base image into pix_background, you send
a [reset( message to the [pix_background] object and it takes a
snapshot of whatever's in front of the connected camera (or
incoming video stream). Then it compares all incoming frames with
that snapshot and outputs anything that's different between the
two. The right inlet sets the threshold and takes an RGB value, so
you will have to adjust this to reduce inevitable noise and
artifacting. I have attached a very basic version of this patch
I've described. I don't have a cam attached to this computer and
don't have the time to test it, but it should work.-Ben
http://megrimm.net/software/green-screen-pd-0.01/green-screen-pd.zip
this sort of works although its still pretty sloppy. didn't try
with screen yet but with the help of iohannes and jacks color
picker examples one should be able to key out any solid color from
a video just by selecting it in a gem window.works on my side on osx.
mark
Garrett@asquare.org http://www.asquare.org/ http://www.asquare.org/networkresearch/
Mark, managed to see yours working, yep its pretty raw but it's a start which is what I needed.
hey if you get it optimized can you send me the result? my time is really limited lately but i would love to give a demo to my class this semester with your results. i still have not tried it on our own green screen yet for lack of time...
glad i was a little useful!
thanks mark
--- On Mon, 2/9/09, Garrett Lynch lists@asquare.org wrote:
From: Garrett Lynch lists@asquare.org Subject: Re: [PD] video bluescreen To: pd-list@iem.at Date: Monday, February 9, 2009, 2:02 PM Hi
Apologies for the slowness of my reply. Thanks both for the examples. I couldn't get pix_background working Ben but it seems to be not what I'm looking for on this occasion anyway. Mark, managed to see yours working, yep its pretty raw but it's a start which is what I needed. Many thanks.
a+ gar
You don't actually load a base image into
pix_background, you send a [reset( message to the [pix_background] object and it takes a snapshot of whatever's in front of the connected camera (or incoming video stream). Then it compares all incoming frames with that snapshot and outputs anything that's different between the two. The right inlet sets the threshold and takes an RGB value, so you will have to adjust this to reduce inevitable noise and artifacting. I have attached a very basic version of this patch I've described. I don't have a cam attached to this computer and don't have the time to test it, but it should work.
-Ben
http://megrimm.net/software/green-screen-pd-0.01/green-screen-pd.zip
this sort of works although its still pretty sloppy.
didn't try with screen yet but with the help of iohannes and jacks color picker examples one should be able to key out any solid color from a video just by selecting it in a gem window.
works on my side on osx.
mark
Garrett@asquare.org http://www.asquare.org/ http://www.asquare.org/networkresearch/
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 11 Feb 2009, at 13:19, mark edward grimm wrote:
hey if you get it optimized can you send me the result? my time is
really limited lately but i would love to give a demo to my class
this semester with your results. i still have not tried it on our
own green screen yet for lack of time...
Will do, I'm preparing it for a class as well so it will be a fairly
paired down version but my class is next Monday so not sure I'll get
it done - anyway I'll forward it on if I do. Many thanks.
a+ gar
Garrett@asquare.org http://www.asquare.org/ http://www.asquare.org/networkresearch/
maybe you want to check this out:
http://damm-net.org/wiki/index.php?title=Bewegungsmelder
it contains some examples in gem for beginners to get them started.
focus of the patches is to be very basic and simple to make it quickly
understandable yet giving the students ideas on what is possible to
spark their own ideas.
any comments appreciated. feel free to use, recycle, change it.
Am 11.02.2009 um 22:12 schrieb Garrett Lynch:
On 11 Feb 2009, at 13:19, mark edward grimm wrote:
hey if you get it optimized can you send me the result? my time is
really limited lately but i would love to give a demo to my class
this semester with your results. i still have not tried it on our
own green screen yet for lack of time...Will do, I'm preparing it for a class as well so it will be a fairly
paired down version but my class is next Monday so not sure I'll get
it done - anyway I'll forward it on if I do. Many thanks.a+ gar
Garrett@asquare.org http://www.asquare.org/ http://www.asquare.org/networkresearch/
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Max
Many thanks for this, very helpful. Your 07-sound-input.pd, 08-sound-
output.pd and 11-image_manipulation.pd in particular have given me a
few ideas for a second workshop.
a+ gar
On 12 Feb 2009, at 20:39, Max wrote:
maybe you want to check this out: http://damm-net.org/wiki/index.php?title=Bewegungsmelder it contains some examples in gem for beginners to get them started. focus of the patches is to be very basic and simple to make it
quickly understandable yet giving the students ideas on what is
possible to spark their own ideas.any comments appreciated. feel free to use, recycle, change it.
Am 11.02.2009 um 22:12 schrieb Garrett Lynch:
On 11 Feb 2009, at 13:19, mark edward grimm wrote:
hey if you get it optimized can you send me the result? my time
is really limited lately but i would love to give a demo to my
class this semester with your results. i still have not tried it
on our own green screen yet for lack of time...Will do, I'm preparing it for a class as well so it will be a
fairly paired down version but my class is next Monday so not sure
I'll get it done - anyway I'll forward it on if I do. Many thanks.a+ gar
Garrett@asquare.org http://www.asquare.org/ http://www.asquare.org/networkresearch/
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Garrett@asquare.org http://www.asquare.org/ http://www.asquare.org/networkresearch/