class documentation
class OpenLABELStream(object): (source)
Constructor: OpenLABELStream(name, type, properties, uris, other_attrs)
An OpenLABEL stream corresponding to one uri or file_id.
Parameters | |
name | the name of the stream |
type | the type of the stream |
description | a string description for this stream |
properties | a dict of properties for this stream |
uri | the uri or file_id of the media corresponding to this stream |
other | a dictionary of other attributes corresponding to this stream |
Class Method | from |
Create an OpenLABEL stream from the stream information dictionary. |
Method | __init__ |
Undocumented |
Method | get |
Get frame numbers corresponding to the given uri. |
Method | update |
Updates this stream with additional information. |
Instance Variable | frame |
Undocumented |
Instance Variable | height |
Undocumented |
Instance Variable | name |
Undocumented |
Instance Variable | other |
Undocumented |
Instance Variable | properties |
Undocumented |
Instance Variable | type |
Undocumented |
Instance Variable | width |
Undocumented |
Property | uris |
Get uris corresponding to any stream in this collection. |
Class Method | _parse |
Undocumented |
Method | _check |
Undocumented |
Method | _parse |
Undocumented |
Constant | _HEIGHT |
Undocumented |
Constant | _URI |
Undocumented |
Constant | _WIDTH |
Undocumented |
Instance Variable | _uris |
Undocumented |
Create an OpenLABEL stream from the stream information dictionary.
Parameters | |
stream | the name of the stream |
d | a dict containing information about this stream |
frame | the frame number from which this stream information dict was parsed, 'None' if from the top-level streams |
Returns | |
An OpenLABELStream |
Updates this stream with additional information.
Parameters | |
d | a dict containing additional stream information |
frameNone | the frame number from which this stream information dict was parsed, 'None' if from the top-level streams |