Since I am trying to use the face-detection-retail-0004, I must use the ColorCamera, but my second NN requires grayscale images. I tried using an ImageManip to convert it to
RawImgFrame.Type.GRAY8, but I get this error:
Input tensor 'x' (0) exceeds available data range. Data size (2304B), tensor offset (0), size (4608B) - skipping inference
I require a 48x48x1 image. Since it's a U8, I am confused why each number takes 2 bytes. How can I fix this issue?