0

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?

Ahmed Ashour
  • 5,179
  • 10
  • 35
  • 56

1 Answers1

0

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

mldeveloper
  • 2,253
  • 1
  • 13
  • 14
  • Humm...I checked event.getData() in onCameraReceived when CAMERA_MODE_JPG_STREAM_HIGH_RATE,CAMERA_MODE_JPG_STREAM_LOW_RATE and CAMERA_MODE_STILL by using SampleCameraExtention, but all lossy JPEG YUV422 data. Do you mean that is raw data? – ghn ssm Jun 21 '16 at 10:56
  • Sorry, I checked with our team and I was wrong about the raw data -- it is only JPEG as you have noted above. Edited my answer above. – mldeveloper Jun 22 '16 at 19:15