Skip to content

How to load the depth file from offline mode~ #17

Description

@YZsZY

Hello author~ I use offline mode to collect the RGB-D information and try to load the depth file from the local file.
I use this code to load the "*.depth.png"
np.array(Image.open(depth_file).resize((rgb.shape[1], rgb.shape[0]), Image.Resampling.NEAREST))
and find it's a 4-channel array (Usually it should be 1-channel)
image

This is the depth file:
0 depth
So I would like to ask for advice on how to properly load a depth file, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions