Giter VIP home page Giter VIP logo

android_camera_v4l2's Introduction

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

android_camera_v4l2's People

Contributors

shengjunhu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

android_camera_v4l2's Issues

Preview rotated 90 degree

預覽視窗跟實際鏡頭拍攝出來的畫面差90度
從buffer裡面dump出來的圖檔是正常的
請問這是正常的嗎

Failed to install on Redroid Images (Docker enviroment)

Failed to install on Redroid Images...

C:\Users\android\Desktop\scrcpy-win64-v1.24>adb install android_v4l2_camera.apk
Performing Streamed Install
adb: failed to install android_v4l2_camera.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]

any tips ?
thx

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.