method to get raw data of streaming

305 views Asked by At

I want porting my application for android phone what analyze live streaming to smarteyeglass.

I use raw data (YUV420SP) onPreviewFrame(byte[] data,Camera camera)/setPreviewCallbackWithBuffer() in android SDK, and I found "onCameraReceived(CameraEvent event)/SmartEyeglassEventListener" in SmartEyeGlass SDK, but event.getData() return JPEG data.

Is there method to get raw data in SmartEyeGlass SDK?

1

There are 1 answers

2
mldeveloper On

Unfortunately is not possible to get the raw data, only JPEG data. What is the reason for wanting raw data instead of JPEG?