Note that we only support JPEG / YUV_420_888 formats at this moment. If you are
using cloud vision detectors, JPEG format is recommended; if you are using on-device
detectors, YUV_420_888 will be more efficient.