wangcan26 / CameraCVGLView

Implementations of camera2 api

Home Page:https://www.jianshu.com/u/e112ff6418cd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CameraCVGLView

This Project is a collection demos of opengl or computer vision based on android camera2 api

camera2 basic demo

The master branch shows a basic demo for displaying camera preview using a SurfaceView with a SurfaceTexture created by OpenGL ES

The demo contains two parts:

CameraRenderView.java

All the functions of camera2 api is encapsulating or to be encapsulated into this java class.

Its lifecycles are as follows:

  1. init(Activity activity)
  2. onResume()
  3. onPause()
  4. deinit()

NVRenderer.h

This file implements a gl environment for rendering things into android SurfaceView

Welcom to join QQ Group: 207298950

About

Implementations of camera2 api

https://www.jianshu.com/u/e112ff6418cd


Languages

Language:Java 46.8%Language:C++ 46.4%Language:C 3.5%Language:CMake 3.3%