I'm trying to do real time hand detection app . In android devices not all devices support RGB output from camera devices. Mediapipe seems to work on RGB frames by default. As Mediapipe might be trained on RGB images so I just can't give YUV frames as input without conversion.
Conversion using loops is too costly , Using library like opencv is overkill just for coversion (as it increases app size), Neon implementation is hard for me as beginner programmer .
Is there is any MediaPipe way to convert to RGB format? (Answers on android way are also welcome)
(I'm using camera2 api , I can't use cameraX as my use case doesn't support it)