ARCore for Unity save camera image

前端 未结 1 501
予麋鹿
予麋鹿 2021-01-25 20:46

Using ARCore for Unity, trying to save Frame.CameraImage.AcquireCameraImageBytes() as image and scanning the image for QR code. But the converted image is not i

相关标签:
1条回答
  • 2021-01-25 21:31

    An ARCore camera image with its data accessible from the CPU in YUV-420-888 formatCheck this. The buffer size is width*height*1.5 for YUV. You may need to convert YUV to RGB format.

    0 讨论(0)
提交回复
热议问题