CameraView
camera-samples
Our great sponsors
CameraView | camera-samples | |
---|---|---|
3 | 9 | |
4,851 | 4,771 | |
- | 1.7% | |
1.5 | 6.1 | |
2 months ago | 10 days ago | |
Java | Kotlin | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
CameraView
-
CameraX vs Camera2 (library development)
..and a few wrappers around Camera2, such as CameraView and camerakit-android (this one even uses C++ for rendering the Preview, that's interesting for me since I want to draw on the Surface using Skia C++!).
-
Is it possible to add real-time effects/filters to camera in React Native?
The ultimate solution is to practice native languages and create a native module. For my case, I created a wrapper of this library: https://github.com/natario1/CameraView Which nicely works. I created a JS function to apply GL Shader effects instantly from React Native side. I will soon make my module open so people can try it. Meanwhile, try yourself :)
-
Camera X, Camera 2 or something else?
i looked into camera2 but am struggling to find any good resources on it. i've come across a few people suggesting a third party library, CameraView - https://github.com/natario1/CameraView
camera-samples
-
CameraX vs Camera2 (library development)
For the device formats, what you get on CameraX should be what you get on Camera2, but you can verify with the Camera2Video sample app. It lists the available resolutions and framerates (which notably calculates it in largely the same way that you're already doing).
- As an amateur photographer who most often shoots with a DSLR, I'm quite impressed with the Google Pixel 7 Pro suite of cameras.
- CameraX 1.2 is now in Beta
-
Questions on native code access to android APIs / hardware / devices
It's been many years since I used camera APIs, and only camera1. I don't have experience with camera2 and cameraX. The android camera docs https://developer.android.com/training/camerax/choose-camera-library lists the available libraries and in additional resources at bottom of pages, there are samples available. You probably need https://github.com/android/camera-samples/tree/master/Camera2Basic or https://github.com/android/camera-samples/tree/master/Camera2Extensions
- CameraX slowmotion high fps rate
-
Memory leak on official CameraX sample?
https://issuetracker.google.com/issues/178121821 https://issuetracker.google.com/issues?q=camerax%20leak https://issuetracker.google.com/issues/141188637 https://groups.google.com/a/android.com/g/camerax-developers/c/j8T9iRtTGtw https://github.com/android/camera-samples/issues/94
-
Camera X, Camera 2 or something else?
https://github.com/android/camera-samples They have both Camera2 and X code.
-
Camera X
Have you checked out the official samples: https://github.com/android/camera-samples/tree/master/CameraXBasic
What are some alternatives?
RootEncoder - RootEncoder for Android (rtmp-rtsp-stream-client-java) is a stream encoder to push video/audio to media servers using protocols RTMP, RTSP, SRT and UDP with all code written in Java/Kotlin
MLKit-Barcode-Scanner-Sample - A Basic app which uses Google's ML Kit library to check for any QR or Barcodes
Fotoapparat - Making Camera for Android more friendly. 📸
motioncam - Motion Cam is a camera application for Android that replaces the entire camera pipeline. It consumes RAW images and uses computational photography to combine multiple images to reduce noise.
librecamera - A free and open source camera app for Android written in Flutter and Dart
wear-os-samples - Multiple samples showing best practices in app and watch face development on Wear OS.
EZFilter - A lightweight (<180KB), easy-to-extend Android filter and dynamic sticker framework for adding filters and stickers for camera, video, bitmap and view.(一个轻量级(<180KB)、易扩展的Android滤镜和动态贴纸框架,支持摄像头、视频、图片和视图添加滤镜和贴纸。)
camerakit-android - Library for Android Camera 1 and 2 APIs. Massively increase stability and reliability of photo and video capture on all Android devices.
CameraViewEx - Easy Android camera integration, advanced features.
termux-boot - Termux add-on app allowing programs to be run at boot.