Datasets:
Formats:
csv
Languages:
English
Size:
< 1K
Tags:
robotics
embodied-ai
human-demonstration
egocentric-video
bimanual-manipulation
tactile-sensing
License:
Download player/runtime/python/Lib/site-packages/rerun/components/image_buffer.py from alinarus/MultimodalData: direct link, hf CLI and curl.
- Browser
- Download file 1.17 kB
-
https://huggingface.co/datasets/alinarus/MultimodalData/resolve/main/player/runtime/python/Lib/site-packages/rerun/components/image_buffer.py
- Command line
-
hf download hf://datasets/alinarus/MultimodalData/player/runtime/python/Lib/site-packages/rerun/components/image_buffer.py
-
curl -L -o image_buffer.py https://huggingface.co/datasets/alinarus/MultimodalData/resolve/main/player/runtime/python/Lib/site-packages/rerun/components/image_buffer.py
1.17 kB
| # DO NOT EDIT! This file was auto-generated by crates/build/re_types_builder/src/codegen/python/mod.rs | |
| # Based on "crates/build/re_type_definitions/rerun/components/image_buffer.def.rs". | |
| # You can extend this class by creating a "ImageBufferExt" class in "image_buffer_ext.py". | |
| from __future__ import annotations | |
| from .. import encodings | |
| from .._baseclasses import ( | |
| ComponentBatchMixin, | |
| ComponentMixin, | |
| ) | |
| __all__ = ["ImageBuffer", "ImageBufferBatch"] | |
| class ImageBuffer(encodings.Blob, ComponentMixin): | |
| """ | |
| **Component**: A buffer that is known to store image data. | |
| To interpret the contents of this buffer, see, [`components.ImageFormat`][rerun.components.ImageFormat]. | |
| """ | |
| _BATCH_TYPE = None | |
| # You can define your own __init__ function as a member of ImageBufferExt in image_buffer_ext.py | |
| # Note: there are no fields here because ImageBuffer delegates to encodings.Blob | |
| class ImageBufferBatch(encodings.BlobBatch, ComponentBatchMixin): | |
| _COMPONENT_TYPE: str = "rerun.components.ImageBuffer" | |
| # This is patched in late to avoid circular dependencies. | |
| ImageBuffer._BATCH_TYPE = ImageBufferBatch # type: ignore[assignment] | |