How Can I get RGB image information?

Include the following details (edit as applicable):

  • Issue category: Real-time Mapping-Depth / ARDK
  • Device type & OS version: iOS
  • Host machine & OS version: Mac
  • Issue Environment : On Device
  • Xcode version:
  • ARDK version:
  • Unity version:

Description of the issue:

Hello, I want to get Camara’s RGB information per pixel!
I tried to get the data of ImageBuffer, but I don’t know whether this is real RGB data of image.

So, Is there any information about it?
How Can I get real RGB info which income to Camera??

Hello Jaeyi,

ARRenderingManager’s GPUTexture and CPUTexture do this. If you are using ARRenderingManager, that makes this easier.
If you are using raw data, you need to use the IARFrame.CapturedImageBuffer and then handle the data format from YCbCr → RGB. I hope this helps!