1

I have a question. How can getting RGB data in stream from camera? Or YUV data from camera and that translate to RGB? tha

Ljudmila
  • 79
  • 2
  • 2
  • 10

1 Answers1

7

See http://developer.android.com/reference/android/hardware/Camera.html for information on how to set up the camera, then see Getting frames from Video Image in Android to decode the YUV data.

In that last thread there is a link to some code that reads data from the camera continuously, which I will paste here.

Community
  • 1
  • 1
user1064799
  • 163
  • 7