Seems to me everything you need is nicely documented...
http://developer.android.com/reference/android/hardware/Camera.PreviewCallback.html#onPreviewFrame%28byte[],%20android.hardware.Camera%29

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Tue, Apr 24, 2012 at 11:57 PM, Taylor Niver <[email protected]> wrote:

> I have a code that opens the camera and displays it to a SurfaceHolder. I
> then call onPreviewFrame which grabs the displayed image and stores the
> data as a byte array. I then TCPIP the info over to my computer which is
> where I hope to decode the array back into an image so I can do some
> off-processor vision processing. My only issue is that the byte array isn't
> in any logical format. Does anybody know how to decode the byte array from
> an 'onPreviewFrame' to become an image again?
>
> Thanks, Taylor
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to