Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
titleVideoStream Protocol Handler
linenumberstrue
video = ACCESS({source='Video', 
				 wrapper='GenericPull', 
				 transport='none', 
				 protocol='OpenCVVideoStream', 
				 datahandler='Tuple',
				 options=[
							['streamUrl', 'camera://0'],
							['timeStampMode', 'none']
					     ],
				 schema= [	
        					['image', 		'IMAGEJCV']
        				 ]})
 
/// or shorter, as a source operator:
video = OPENCVVIDEO({source='Video', options=[['streamUrl', 'camera://0'], ['timeStampMode', 'none']]})
 
 
output = UDO({class='ShowImageJCV', init='0,Video'}, video)

...