[android-developers] Processing camera preview frames and display results via OpenGL

2012-03-27 Thread Qianqian Fang
hi there I am trying to write a program to process camera preview data on-the- fly, and display the results as (semitransparent) overlays. I found one example that is particularly useful: http://nhenze.net/?p=172 the source code is at http://nhenze.net/uploads/OpenGL_Cam_1_2.zip In this sa

[android-developers] Processing Camera Preview

2010-06-02 Thread Marc Lester Tan
Hi everybody, I just want to ask what is the best way to do processing of preview frame from the Camera. Right now, I am doing it like this: 1. I put the byte[] from onPreviewFrame to a queue (limited to 10, for this example) until the queue is full. 2. ProcessingThread fetches from this queue

[android-developers] processing camera preview before display

2008-11-14 Thread Sean
I'm somewhat new to the Android platform. I've been digging around lots of sample code, and haven't seen anything that does what I want: I'd like to create my own code path for getting the camera data from the PreviewCallback, and then displaying it on my own SurfaceView, since I'd like to do som