Skip to content

Susie0605/android_camera_v4l2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

🔥 V4L2 Camera on Android.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 34.6%
  • C 32.7%
  • Assembly 18.3%
  • HTML 8.1%
  • Java 2.9%
  • CMake 1.3%
  • Other 2.1%