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

How to convert Bitmap to textureFrame? #2553

Closed
wangzi815 opened this issue Sep 17, 2021 · 5 comments
Closed

How to convert Bitmap to textureFrame? #2553

wangzi815 opened this issue Sep 17, 2021 · 5 comments
Assignees
Labels
legacy:hands Hand tracking/gestures/etc platform:android Issues with Android as Platform type:others issues not falling in bug, perfromance, support, build and install or feature

Comments

@wangzi815
Copy link

About mediapipe hand tracking:
In python,i can process an image in static image mode or video stream mode,only simply set static_image_mode True or False.But when i process an image in android,if i set video stream mode,it gets err.It seems need to convert Bitmap to textureFame,how can i implement it?

@sgowroji sgowroji added platform:android Issues with Android as Platform legacy:hands Hand tracking/gestures/etc stat:awaiting response Waiting for user response type:others issues not falling in bug, perfromance, support, build and install or feature labels Sep 17, 2021
@sgowroji
Copy link

Hi @wangzi815, Could you please provide your code changes and error logs to understand and investigate the issue further. Thanks!

@wangzi815
Copy link
Author

no code changes,In android,just setMode(HandsOption.STREAMING_MODE),and hands.send(bitmap),i input an image,not a video.In python,when i input an image,and set static_image_mode = False,also get the result.How can i implement it in android like in python?

@sgowroji sgowroji assigned jiuqiant and unassigned sgowroji Sep 21, 2021
@sgowroji sgowroji added stat:awaiting googler Waiting for Google Engineer's Response and removed stat:awaiting response Waiting for user response labels Sep 21, 2021
@sgowroji sgowroji assigned camillol and unassigned jiuqiant Sep 21, 2021
@wangzi815
Copy link
Author

maybe below is the answer,thank you for afsaredrisy,@afsaredrisy
https://github.com/afsaredrisy/MediapipeHandtracking_GPU_Bitmap_Input

@wangzi815
Copy link
Author

when i run the project,the err produce ,see :#2604
what is the problem,@afsaredrisy

@sgowroji
Copy link

Hi @wangzi815, Assuming your resolved from this #310. We are closing this issue now. Thanks!

@sgowroji sgowroji removed the stat:awaiting googler Waiting for Google Engineer's Response label Oct 14, 2021
@sgowroji sgowroji assigned sgowroji and unassigned camillol Oct 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
legacy:hands Hand tracking/gestures/etc platform:android Issues with Android as Platform type:others issues not falling in bug, perfromance, support, build and install or feature
Projects
None yet
Development

No branches or pull requests

4 participants