You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Replaced snippet using `rerun::TensorBuffer::u8` with `rerun::borrow`
* Changed `reinterpret_cast` snippet to use an existing constructor
### Related
Closes#9459
### What
Brings snippets in the README up-to-date with the current API for the
[cpp/eigen_opencv](https://github.com/rerun-io/rerun/tree/main/examples/cpp/eigen_opencv)
example.
Copy file name to clipboardExpand all lines: examples/cpp/eigen_opencv/README.md
+23-3Lines changed: 23 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -64,11 +64,31 @@ rec.log(
64
64
## Images
65
65
Images are logged using the [`Image`](https://www.rerun.io/docs/reference/types/archetypes/image) archetype. Two methods are demonstrated: logging images with a tensor buffer and logging images by passing a pointer to the image data.
66
66
```cpp
67
-
// Log image to rerun using the tensor buffer adapter defined in `collection_adapters.hpp`.
0 commit comments