-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Android mlkit:pose-detection #344
Comments
Hi liuyunlong-pro, Thanks for actively providing feedbacks to our SDK, but just a general ask: could you help include more details when asking a question in the future? For this specific issue:
Best, |
HI, |
Hi liuyunlong, We tested this feature on API 25 on our devices but didn't observe the issue you mentioned. Since we don't have a vivo x9, could you help provide a bit more clarification as mentioned earlier? Specifically:
Thanks! |
Hi liuyunlong-pro, In this github repo, we typically focus on common SDK issues and don't debug for specific apps. Since the vision-quickstart app works, could you try comparing the difference between your implementation and the quickstart?
|
Close due to no response. |
Hi steven, D/VisionProcessorBase: Num of Runs: 268 |
Thank you tcll321 for the stacktrace. ML Kit's pose detection is built on top of MediaPipe and I found a similar issue from MediaPipe github as well: google-ai-edge/mediapipe#2604 Will work with MediaPipe team to investigate further. In the meanwhile, would appreciate if you could provide a bit more info:
|
@steven-chengji-yan
|
I ran on OPPO PDCM00 platform and did not reproduce this problem。
|
We reproduced the issue on a Pixel device with API level 25 and made a fix. We also noticed that, on the same Pixel device, if we flashed it to API level 29, the issue is gone. If you have time, please try flashing your device with issue to API 29+ and see if you still observe the issue. This could give us more confidence that the issue we fixed is the same one as you observed. |
i test on phone:HRY-AL00,the API level is 29+,but the problem produce again. google-ai-edge/mediapipe#2604 is just mentioned by me. |
Re wangzi815: I see. Based on the stacktrace, the size of the ref table is 512, which is relatively small and could cause the issue. Our fix is to release some java class reference more eagerly by ourselves instead of relying on the system to release them. ML Kit will release the new version with this fix in December. Please give it a try by then. For MediaPipe, I just asked their team to provide a release timeline for google-ai-edge/mediapipe#2604 |
FYI: fix is released in ML Kit December release. Pose SDK version: 17.0.1-beta7 |
pose-detection:17.0.1-beta4 app crashed
A/art: art/runtime/indirect_reference_table.cc:132] JNI ERROR (app bug): local reference table overflow (max=512)
A/art: art/runtime/indirect_reference_table.cc:132] local reference table dump:
A/art: art/runtime/indirect_reference_table.cc:132] Last 10 entries (of 512):
A/art: art/runtime/indirect_reference_table.cc:132] 511: 0x13092fe8 java.util.ArrayList
A/art: art/runtime/indirect_reference_table.cc:132] 510: 0x7056cae0 java.lang.Class<java.util.ArrayList>
A/art: art/runtime/indirect_reference_table.cc:132] 509: 0x7056cae0 java.lang.Class<java.util.ArrayList>
A/art: art/runtime/indirect_reference_table.cc:132] 508: 0x7056cae0 java.lang.Class<java.util.ArrayList>
A/art: art/runtime/indirect_reference_table.cc:132] 507: 0x7056cae0 java.lang.Class<java.util.ArrayList>
A/art: art/runtime/indirect_reference_table.cc:132] 506: 0x7056cae0 java.lang.Class<java.util.ArrayList>
A/art: art/runtime/indirect_reference_table.cc:132] 505: 0x7056cae0 java.lang.Class<java.util.ArrayList>
A/art: art/runtime/indirect_reference_table.cc:132] 504: 0x7056cae0 java.lang.Class<java.util.ArrayList>
A/art: art/runtime/indirect_reference_table.cc:132] 503: 0x7056cae0 java.lang.Class<java.util.ArrayList>
A/art: art/runtime/indirect_reference_table.cc:132] 502: 0x7056cae0 java.lang.Class<java.util.ArrayList>
A/art: art/runtime/indirect_reference_table.cc:132] Summary:
A/art: art/runtime/indirect_reference_table.cc:132] 511 of java.lang.Class (2 unique instances)
A/art: art/runtime/indirect_reference_table.cc:132] 1 of java.util.ArrayList
A/art: art/runtime/indirect_reference_table.cc:132]
The text was updated successfully, but these errors were encountered: