How can I obtain the colors of ARFrame.rawFeaturePoints? The task requires interaction with iPhone's GPU through metal but I had no previous experience working with metal probably through Vision framework and I have no idea where to start from. If you happen to be a metal guru and can throw a brief example I showing the concept I would really appreciate this. Btw. I've tried mapping ARFrame.rawFeaturePoints
from 3d to 2d and then mapping them to ARFrame.capturedImage
based on these posts:
iOS11 ARKit: Can ARKit also capture the Texture of the user's face?
https://medium.com/@ugiacoman/arkit-tool-or-toy-bbaf8cd70338
but it hits performance of the application drastically probably due the amount of memory copying and ycbcr to rgb transform. So the only option that is left for me is GPU...