I am currently trying to deploy some realtime style-transfer model to process yuv pictures frame by frame from camera on mobile devices, and use
to convert yuv to tensor, but the RGB colorspace of the pictures generated afterwards are always tortuous. I fixed this problem by finding some other ways to convert yuv to bitmap and use
instead. It might not affect much for classification or object detection tasks, but it worths to check out if there’s really a bug in it.