Skip to content

Cannot see the logged images anywhere in the viewer #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wetoo-cando opened this issue Mar 20, 2025 · 1 comment
Open

Cannot see the logged images anywhere in the viewer #34

wetoo-cando opened this issue Mar 20, 2025 · 1 comment

Comments

@wetoo-cando
Copy link

How can I find the two logged images in the viewer?

// Log image to rerun using the tensor buffer adapter defined in `collection_adapters.hpp`.
    rec.log("image0", rerun::Image::from_rgb24(img, {width, height}));

    // Or by passing a pointer to the image data.
    // The pointer cast here is redundant since `data` is already uint8_t in this case, but if you have e.g. a float image it may be necessary to cast to float*.
    rec.log(
        "image1",
        rerun::Image::from_rgb24(
            rerun::borrow(img.data, img.total() * img.elemSize()),
            {width, height}
        )
    );
``
@Wumpf
Copy link
Member

Wumpf commented Mar 21, 2025

Running off the main branch with pixi run example it shows up for me like that:

Image

What are you seeing instead and how do you run the example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants