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

Käynnissä Julkaistu Sep 16, 2012 Maksettu toimituksen yhteydessä
Käynnissä Maksettu toimituksen yhteydessä

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.

Android OpenGL

Projektin tunnus: #2490410

Tietoa projektista

5 ehdotusta Etäprojekti Aktiivinen Sep 17, 2012

5 freelanceria on tarjonnut keskimäärin $144 tähän työhön

gordongao

very experienced android/ios/3D team

$120 AUD 1 päivässä
(7 arvostelua)
4.4
Coder1983

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

$150 AUD 10 päivässä
(4 arvostelua)
4.0
LT7d5B4Hy

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

$250 AUD 1 päivässä
(0 arvostelua)
0.0
pcpdesilva

I am working on a project similar to your specs.

$100 AUD 20 päivässä
(0 arvostelua)
0.0
MahmoudAlaa

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

$100 AUD 7 päivässä
(0 arvostelua)
0.0