google-ar / arcore-android-sdk

ARCore SDK for Android Studio
https://developers.google.com/ar
Other
4.91k stars 1.2k forks source link

acquireCameraImage returns empty Buffer #1628

Open LionelMyFit opened 6 months ago

LionelMyFit commented 6 months ago

SPECIFIC ISSUE ENCOUNTERED

I use acquireCameraImage to get ArCore current image and later convert the YUV420 data in bitmap but on Xiaomi Redmi Note 11 pro the buffer of the planes are empty I retrieve 3 planes with correct rowStride (2048) , correct pixelStride (1, 2) but with empty buffer

VERSIONS USED

mrichards commented 6 months ago

Hi @LionelMyFit, Marc from the ARCore team here. Can you post a bug report for this issue? https://developer.android.com/studio/debug/bug-report