[PD] two webcam in gem

Ricardo Brazileiro rbrazileiro at gmail.com
Fri Aug 27 04:01:31 CEST 2010


hi,

i try to do using two pix_video but only one capture.

i attached the patch.

any idea?

tkz

On Wed, Aug 25, 2010 at 12:19 PM, Jose Luis Santorcuato <
santorcuato76 at gmail.com> wrote:

> 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 at 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 at iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>
>
> --
>
> http://arselectronicachile.blogspot.com
> http://www.myspace.com/santorcuato
>
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>


-- 
ricardo brazileiro
http://rbrazileiro.info
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100826/59f31888/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: twocameras.pd
Type: text/x-puredata
Size: 4273 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100826/59f31888/attachment.bin>


More information about the Pd-list mailing list