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

Get Images or Frames #41

Closed
lumbbumba opened this issue Mar 20, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@lumbbumba
Copy link

commented Mar 20, 2019

Hi,

I am trying to get an image or a video capture like in the Leap Motion Visualizer build in Unity for Unreal.
Is there any way to get the image in C++?

@getnamo

This comment has been minimized.

Copy link
Collaborator

commented Mar 21, 2019

Use SetLeapPolicy to enable raw image streaming (https://github.com/leapmotion/LeapUnreal#set-leap-policy), then subscribe to the OnImageEvent on your leap component https://github.com/leapmotion/LeapUnreal/blob/master/Source/LeapMotion/Public/LeapComponent.h#L74

@getnamo getnamo added the question label Mar 21, 2019

@lumbbumba

This comment has been minimized.

Copy link
Author

commented Mar 23, 2019

Use SetLeapPolicy to enable raw image streaming (https://github.com/leapmotion/LeapUnreal#set-leap-policy), then subscribe to the OnImageEvent on your leap component https://github.com/leapmotion/LeapUnreal/blob/master/Source/LeapMotion/Public/LeapComponent.h#L74

Ty really much. It works. Now I need to convert the 2DTexture type to a format where I can use open cv with.

@getnamo getnamo closed this Mar 26, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.