robokudo.io.file_reader_interface¶
Classes¶
CameraInterface that can read stored data from your local filesystem. |
|
CameraInterface that can read stored data from your local filesystem. |
Module Contents¶
- class robokudo.io.file_reader_interface.FileReaderInterface(camera_config)¶
-
Bases:
robokudo.io.camera_interface.CameraInterface
CameraInterface that can read stored data from your local filesystem. Data must be read from a directory that shall have the following files:
rk_TIMESTAMP_color_image.jpg
rk_TIMESTAMP_depth_image.png
rk_TIMESTAMP_cam_info.json
Please note that rk_ is the default prefix, but could be changed. The data type (the part before the file extension) is derived from the CASViews.x that have been recorded.
Data from the filesystem is read once during initialization.
Please consider using the StorageReaderInterface, as we rather focus on developing that interface. This interface is mostly used for simple use cases in unit tests, small demos, etc.
- class DictIteratorReader(data=dict(), data_sequence=[])¶
-
- index = None¶
- data¶
- data_sequence = []¶
- reset_cursor()¶
- cursor_has_data()¶
- get_next_data() dict | None ¶
- initialized = False¶
- loaded_paths¶
- loaded_data¶
- data_reader¶
- has_new_data()¶
- class robokudo.io.file_reader_interface.RGBDFileReaderInterface(camera_config)¶
-
Bases:
FileReaderInterface
CameraInterface that can read stored data from your local filesystem. Data must be read from a directory that shall have the following files:
rk_TIMESTAMP_color_image.jpg
rk_TIMESTAMP_depth_image.png
rk_TIMESTAMP_cam_info.json
Please note that rk_ is the default prefix, but could be changed. The data type (the part before the file extension) is derived from the CASViews.x that have been recorded.
Data from the filesystem is read once during initialization.
Please consider using the StorageReaderInterface, as we rather focus on developing that interface. This interface is mostly used for simple use cases in unit tests, small demos, etc.
- set_data(cas: robokudo.cas.CAS)¶