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

poseLandmarker.detectForVideo does not work in Android 13 google chrome (GL ERROR :GL_INVALID_OPERATION : glFramebufferTexture2D: <- error from previous GL command) #5100

Closed
galharth opened this issue Jan 27, 2024 · 5 comments
Assignees
Labels
platform:android Issues with Android as Platform platform:javascript MediaPipe Javascript issues task:pose landmarker Issues related to Pose Landmarker: Find people and body positions type:bug Bug in the Source Code of MediaPipe Solution

Comments

@galharth
Copy link

galharth commented Jan 27, 2024

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)

None

OS Platform and Distribution

Android 13

Mobile device if the issue happens on mobile device

Pixel 6 API 33 android studio emulator

Browser and version if the issue happens on browser

Google Chrome

Programming Language and version

Javascript

MediaPipe version

0.9.10

Bazel version

No response

Solution

Pose

Android Studio, NDK, SDK versions (if issue is related to building in Android environment)

No response

Xcode & Tulsi version (if issue is related to building for iOS)

No response

Describe the actual behavior

poseLandmarkerResults = poseLandmarker.detectForVideo(videoElement, performance.now()); should return poselandmarks

Describe the expected behaviour

poseLandmarkerResults = poseLandmarker.detectForVideo(videoElement, performance.now()); does not return pose landmarks, it returns empty array []

I get the following errors in the console log:

[.WebGL-0x206a0ce00]GL ERROR :GL_INVALID_OPERATION : glFramebufferTexture2D: <- error from previous GL command

Standalone code/steps you may have used to try to get what you need

Install pose landmarks using javascript tasks vision.
Run on google chrome android 13:
poseLandmarkerResults = poseLandmarker.detectForVideo(videoElement, performance.now());

poseLandmarkerResults should include landmarks when the person is inside the video, but instead it returns empty landmarks.

Other info / Complete Logs

No response

@galharth galharth added the type:bug Bug in the Source Code of MediaPipe Solution label Jan 27, 2024
@galharth galharth changed the title poseLandmarker.detectForVideo does not work in Android 13 google chrome poseLandmarker.detectForVideo does not work in Android 13 google chrome (GL ERROR :GL_INVALID_OPERATION : glFramebufferTexture2D: <- error from previous GL command) Jan 27, 2024
@kuaashish kuaashish added platform:android Issues with Android as Platform platform:javascript MediaPipe Javascript issues task:pose landmarker Issues related to Pose Landmarker: Find people and body positions stat:awaiting googler Waiting for Google Engineer's Response labels Feb 9, 2024
@kuaashish
Copy link
Collaborator

Hi @galharth,

We are currently investigating this matter. In the meantime, could you please try using the latest available version, which is 0.10.9? It appears that you are currently using an older version.

Thank you!!

@kuaashish
Copy link
Collaborator

Hi @BoHellgren,

We have identified that using an emulator to run this program might not be ideal due to hardware limitations and the program's reliance on specific hardware features for optimal performance. Using a physical device is highly recommended for the best experience and functionality.

Because, Machine learning programs often require direct interaction with real-world hardware resources to function effectively. Emulators, while valuable for development and testing, may not provide the necessary hardware capabilities for this program to run smoothly. Unfortunately, due to limitations, We can not do much about this issue.

Thank you!!

@kuaashish kuaashish added the stat:awaiting response Waiting for user response label Feb 22, 2024
Copy link

github-actions bot commented Mar 1, 2024

This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.

@github-actions github-actions bot added the stale label Mar 1, 2024
Copy link

github-actions bot commented Mar 9, 2024

This issue was closed due to lack of activity after being marked stale for past 7 days.

@github-actions github-actions bot closed this as completed Mar 9, 2024
Copy link

Are you satisfied with the resolution of your issue?
Yes
No

@kuaashish kuaashish removed stat:awaiting response Waiting for user response stale labels Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:android Issues with Android as Platform platform:javascript MediaPipe Javascript issues task:pose landmarker Issues related to Pose Landmarker: Find people and body positions type:bug Bug in the Source Code of MediaPipe Solution
Projects
None yet
Development

No branches or pull requests

3 participants