Skip to content
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

Loading USB camera buffer to the Texture #2061

Open
DimithraC opened this issue Dec 2, 2023 · 1 comment
Open

Loading USB camera buffer to the Texture #2061

DimithraC opened this issue Dec 2, 2023 · 1 comment

Comments

@DimithraC
Copy link

I'm new to the Helix Tool Kit, I want to load a USB camera image frame by frame to the Given texture, the camera is running 60 frames at a second, any example will be helpful, My app is based on HelixToolkit.SharpDX.WPF

@holance
Copy link
Member

holance commented Dec 6, 2023

The most efficient way is to render camera feed onto a direct x 11 texture using direct show and use the texture in Helix toolkit with a custom texture loader.

Slower way is to create a texture loader and upload the image frame by frame into a texture.

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