Yes, we can, I have three cameras connect only limited by the usb ports, I sometimes use a single gemhead, under it add up how many objects you want, however I prefer to use for monitoring ctrack pidip , pdp libraries, those pd are not in order for windows.
Best regards
José
2010/8/25 IOhannes m zmoelnig zmoelnig@iem.at
On 2010-08-24 21:51, Ricardo Brazileiro wrote:
hi all,
How can I use two webcam in Gem to tracking (pix_blob) ?
use 2 [pix_video] objects.
Is it possible?
yes.
I have two webcam, /dev/video0 and /dev/video1. I tested using pix_video
but
I only change the device in the same window.
the window has nothing to do with either the video grabbing nor the video analysis. you can grab video, run [pix_blob] on it and still only see a teapot :-)
anyhow: pix_blob will only ever work on single pixes ("frames"). if you want to use 2 cameras (e.g. to enlargen the viewing angle), you basically have 2 possibilities:
- merge the two video streams into one, by using whatever compositing
techniques you are easy with. a simple one would be to display both pixes (probably in a not-displayed [gemframebuffer]), and use [pix_snap] to grab the composited image). then run whatever analysis you want on the new big pix.
- do analysis on each stream and then merge the results
gfmasdr IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list