arcore-android-sdk icon indicating copy to clipboard operation
arcore-android-sdk copied to clipboard

acquireCameraImage returns empty Buffer

Open LionelMyFit opened this issue 2 years ago • 1 comments

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

  • Android Studio: Giraffe | 2022.3.1 Patch 4
  • ARCore SDK for Android: 1.33.0
  • Device manufacturer, model, and O/S: Xiaomi Redmi Note 11
  • Google Play Services for AR (ARCore): 1.40

LionelMyFit avatar Dec 05 '23 11:12 LionelMyFit