CameraView
📸 A well documented, high-level Android interface that makes capturing pictures and videos easy, addressing all of the common issues and needs. Real-time filters, gestures, watermarks, frame processing, RAW, output of any size. (by natario1)
camera-samples
Multiple samples showing the best practices in camera APIs on Android. (by android)
CameraView | camera-samples | |
---|---|---|
3 | 12 | |
5,055 | 5,252 | |
0.2% | 0.5% | |
0.0 | 3.8 | |
10 months ago | 1 day ago | |
Java | Kotlin | |
GNU General Public License v3.0 or later | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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
Posts with mentions or reviews of CameraView.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-24.
-
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
Posts with mentions or reviews of camera-samples.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-02-04.
-
Using Android to stream to Twitch. Part 3. Manual video encoding
Camera2 code example Preview Fragment (MAIN RESOURCE)
-
Using Android to stream to Twitch. Part 1. Securing a Socket
CameraX example code
- Implementing Flutter Barcode Scanner with Kotlin and CameraX for Android
-
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.
What are some alternatives?
When comparing CameraView and camera-samples you can also consider the following projects:
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
termux-boot - Termux add-on app allowing programs to be run at boot.
HiddenCamera - 📸 A library that allows you to capture images in background without displaying UI.
wear-os-samples - Multiple samples showing best practices in app and watch face development on Wear OS.
Fotoapparat - Making Camera for Android more friendly. 📸
MLKit-Barcode-Scanner-Sample - A Basic app which uses Google's ML Kit library to check for any QR or Barcodes