evlib.codec.fileformat.text

Text format.

Classes

IteratorText(textfile)

IteratorTextEvent(textfile)

IteratorTextFrame(textfile)

IteratorTextImu(textfile)

IteratorTextPose(textfile)

IteratorTextTimestamps(textfile)

class evlib.codec.fileformat.text.IteratorText(textfile)
Parameters:

textfile (str)

FORMAT = 'text'
read_next_lines()
Return type:

List[str]

__next__()
Return type:

Any

class evlib.codec.fileformat.text.IteratorTextEvent(textfile)
Parameters:

textfile (str)

__next__()
Returns:

events

Return type:

RawEvents

FORMAT = 'text'
read_next_lines()
Return type:

List[str]

class evlib.codec.fileformat.text.IteratorTextPose(textfile)
Parameters:

textfile (str)

__next__()
Returns:

{“pose”: np.ndarray (N, 7)}

Return type:

dict

FORMAT = 'text'
read_next_lines()
Return type:

List[str]

class evlib.codec.fileformat.text.IteratorTextImu(textfile)
Parameters:

textfile (str)

__next__()
Returns:

{“imu”: np.ndarray (N, 7)}

Return type:

dict

FORMAT = 'text'
read_next_lines()
Return type:

List[str]

class evlib.codec.fileformat.text.IteratorTextFrame(textfile)
Parameters:

textfile (str)

__next__()
Returns:

{“frame”: np.ndarray (N, H, W), “t”: np.ndarray (N)}

Return type:

dict

FORMAT = 'text'
read_next_lines()
Return type:

List[str]

class evlib.codec.fileformat.text.IteratorTextTimestamps(textfile)
Parameters:

textfile (str)

__next__()
Returns:

{“t”}

Return type:

dict

FORMAT = 'text'
read_next_lines()
Return type:

List[str]