Set input frame source for Super Resolution algorithm
obj.setInput(frameSourceType, ...)
obj.setInput('Camera', deviceId)
obj.setInput('Video', filename)
Input
- frameSourceType Input frame source type. One of:
- deviceId id of the opened video capturing device (i.e. a
camera index). If there is a single camera connected, just
pass 0. default 0
- filename name of the opened video file (eg.
video.avi
)
or image sequence (eg. img_%02d.jpg
, which will read
samples like img_00.jpg
, img_01.jpg
, img_02.jpg
, ...)