...
This example shows how to grab a video from a webcam and display it in Odysseusa window:
PQL
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
video := ACCESS({source='Video', wrapper='GenericPull', transport='none', protocol='OpenCVVideoStream', datahandler='Tuple', options=[ ['streamUrl', 'camera://0'], ['timeStampMode', 'none'] ], schema= [ ['image', 'IMAGEJCV'] ]}) output = UDO({class='ShowImageJCV', init='0,Video'}, video) |