Log in or register to post comments

capturing camera buffer

May 5, 2013 - 3:07am #6

Hi.

 

currently i am grabbing a frame from the camera (YUV) format

my question is how can i read this buffer byte-by-byte , i need only the Y component of the image?

 

 

thanks

ozi

capturing camera buffer

May 5, 2013 - 4:03am #5

Hi, could you specify what is your development platform (Unity ? Android native ? iOS native ?)

 

capturing camera buffer

May 5, 2013 - 4:23am #4

Hi.

 

i am currently working on android native

 

 

thanks

capturing camera buffer

May 5, 2013 - 10:35am #3

Hi, have you had a look at this article:

https://developer.vuforia.com/forum/faq/android-how-can-i-access-camera-image

That article explains how to get the pixels from the camera;

then, concerning the YUV to RGB conversion, if you search the internet, you can find many articles explaining how to pass from YUV to RGB (and viceversa);

for example, this is one (but there exist many others):

http://msdn.microsoft.com/en-us/library/ms893078.aspx

 

capturing camera buffer

May 6, 2013 - 3:25am #2

hi.

 

 

thanks alot

ozi

capturing camera buffer

May 6, 2013 - 3:29am #1

you're welcome

Log in or register to post comments