Android/OpenGL App to Access Raw Camera Preview Image Data without Displaying It To Screen

进行中 已发布的 Sep 16, 2012 货到付款
进行中 货到付款

The winning bidder on this project will need good experience in Android and OpenGL ES 2.0

The project is to produce the necessary classes that I can call from my main Activity class to initialize the camera and receive preview data without having to display the camera preview on screen. I need to use this for an app I'm developing that requires the camera preview data without displaying the camera preview which uses significant processing bandwidth. Unfortunately I'm not very familiar with OpenGL so I need your help.

This is what I want the class(es) to do...

- Set up an OpenGL context

- create a SurfaceTexture object in that context

- Initialize the device camera.

- Pass the SurfaceTexture object to setPreviewTexture, and start the camera preview.

- Create a method in the OpenGL code that calls [url removed, login to view] so that the texture ID associated with the SurfaceTexture will be updated to the latest preview frame from the camera.

- Then read back the RGB texture data to the CPU by using glReadPixels.

- This will allow me to access the camera preview data without showing the camera preview on-screen.

From the main activity, I want to be able to call the following methods;

public bool initCamera(...all necesary variables...);

- initialises the camera, the OpenGL context, the surfacetexture object (and anything else needed)

- returns true/false as to whether everything was successfully initialised

public bool newFrame(...all necesary variables...);

- Checks whether there is a new camera preview frame available and returns true/false

public bool getFrame(ByteBuffer ImgBuf, all necesary other variables...);

- pass in a pointer to a ByteBuffer object and copy the current preview frame into the ByteBuffer by using glReadPixels.

- returns true/false whether it was successful.

安卓 OpenGL

项目ID: #2490410

关于项目

5个方案 远程项目 活跃的Sep 17, 2012

有5名威客正在参与此工作的竞标,均价$144/小时

gordongao

very experienced android/ios/3D team

$120AUD 在1天里
(7条评论)
4.4
Coder1983

I am a game developer in Android and have strong knowledge of opengles 2.0.

$150 AUD 在10天内
(4条评论)
4.0
LT7d5B4Hy

Custom software development (<b><i>Removed by Admin</i></b>)

$250AUD 在1天里
(0条评论)
0.0
pcpdesilva

I am working on a project similar to your specs.

$100 AUD 在20天内
(0条评论)
0.0
MahmoudAlaa

hi i am good in android and i can do this thanks

$100 AUD 在7天内
(0条评论)
0.0