Hi everyone,
I have two big questions regarding the graphics object [gemwin]:
How does one change the focus of the graphics window? For example, we are using a computer video camera to look at the surface of a pepperoni pizza (in real time), but i want to change the view so that all you see is one pepperoni slice in the graphics window (still a square window/image).
Also, How does one go about temporarily storing an image/frame of the live video going through the graphics window object? For example, now that i have the piece of pepperoni in view, i want to capture ONLY this portion of the entire pizza/live video stream.
I am new to [gemwin], but would like to implement it into an audio/video installation due next week. Any help would be greatly appreciated!
Thank you so much for your time, Sebastian
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-12-12 22:19, Sebastian Valenzuela wrote:
Hi everyone,
I have two big questions regarding the graphics object [gemwin]:
How does one change the focus of the graphics window? For example, we are using a computer video camera to look at the surface of a pepperoni pizza (in real time), but i want to change the view so that all you see is one pepperoni slice in the graphics window (still a square window/image).
Also, How does one go about temporarily storing an image/frame of the live video going through the graphics window object? For example, now that i have the piece of pepperoni in view, i want to capture ONLY this portion of the entire pizza/live video stream.
I am new to [gemwin], but would like to implement it into an audio/video installation due next week. Any help would be greatly appreciated!
if you are new to [gemwin], you might want to checkout the help-patch of it.
it should mention something along the lines of "view".
for your 2nd problem you might want to have a look at the examples/02/*snapshot* patches. in short [pix_snap(2tex)], [pix_write(r)] and [pix_record] are the key objects here.
fgmasdr IOhannes