Skip to content

Latest commit

 

History

History
54 lines (43 loc) · 1.46 KB

README.md

File metadata and controls

54 lines (43 loc) · 1.46 KB

android_v4l2_camera

🔥 V4L2 Camera on Android

Image

Sample

Scan QR code or Download

App Running Environment

If your app can't access /dev/video* on Android device,you need grant read and write permission.

adb shell
su
chmod 666 /dev/video*

Add Function

  • 1.FPS 30 of Dual cameras.
  • 1.Package Android camera based on V4L2 protocol.
  • 2.Support setting resolution and original format of image acquisition: MJPEG, YUYV
  • 3.Use NdkMediaCodec for MJPEG decoding. If the device does not support hard decoding, it is recommended to use libjpeg-turbo instead of HwDecoder.
  • 4.Support OpenGL ES rendering YUYV, NV12, NV21, DEPTH and other image formats.

Plan Add Function

  • 1.Add opengl filter for beauty by face color

About Build

  • CMake: 3.10.2
  • Android Studio 4.0

About Author:

About Third Party Libraries

About License

Copyright (c) 2020 shengjunhu
Please comply with the relevant third party libraries license