alexcohn / OpenGLCamera

Android camera using SurfaceTexture

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenGLCamera

Android camera using SurfaceTexture

This is a minimalistic example of custom camera preview app that uses SurfaceTexture and uses a matrix transform to change the way it is displayed.

Here, we show front camera image not as a mirror.

Many details like error checking have been skipped for brevity. In the real world, you will open the camera on a separate EventThread, so that the camera callbacks would not interfere with UI thread.

Depends on android-support-v4.jar

About

Android camera using SurfaceTexture

License:The Unlicense


Languages

Language:Java 100.0%