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

QUICKPOSE WARNING: HIGH NUMBER OF FRAMES IN CACHE: XX #1

Open
herol-gl opened this issue Oct 9, 2023 · 2 comments
Open

QUICKPOSE WARNING: HIGH NUMBER OF FRAMES IN CACHE: XX #1

herol-gl opened this issue Oct 9, 2023 · 2 comments

Comments

@herol-gl
Copy link

herol-gl commented Oct 9, 2023

Sometimes I get this warning but I couldn't resolve it because it doesn't show up for another same project. When this warning shows up, it fails to detect the pose.
Is it a bug?

@pablonosh
Copy link
Collaborator

Sounds like a performance issue.
Quickpose will attempt to match the camera framerate you provide, and this warning will only show when there are lots of camera frames being discarded. So I'd lower your framerate for the device, or consider making the onFrame callback faster.

@herol-gl
Copy link
Author

herol-gl commented Oct 9, 2023

I see. On the same device (iPhone XR), it's working fine when I used SDK version 1.2.0 but the warning show up in the latest version. How can I make the onFrame callback faster or lower the framerate?

Btw, the warning also shows up on iPhone 15 pro and it crashed after less than minute.

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