8000 how to run lightglue with 2 numpy images? · Issue #161 · cvg/LightGlue · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
how to run lightglue with 2 numpy images? #161
Open
@MasIgor

Description

@MasIgor

Hello!

I am unable to understand how I can replace the image path with 2 numpy images..

load each image as a torch.Tensor on GPU with shape (3,H,W), normalized in [0,1]

image0 = load_image('path/to/image_0.jpg').cuda()
image1 = load_image('path/to/image_1.jpg').cuda()

i alread have the images in memory as they come from a camera.
any help appreciated.

thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0