CameraX vs Camera2 (library development)

This page summarizes the projects mentioned and recommended in the original post on /r/androiddev

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers
Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.
www.nutrient.io
featured
  1. react-native-vision-camera

    📸 A powerful, high-performance React Native Camera library.

    I'm the author of react-native-vision-camera, a library that exposes platform native Camera features to React Native.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. 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)

    ..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++!).

  4. camerakit-android

    Library for Android Camera 1 and 2 APIs. Massively increase stability and reliability of photo and video capture on all Android devices.

    ..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++!).

  5. camera-samples

    Multiple samples showing the best practices in camera APIs on Android.

    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).

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Is it possible to add real-time effects/filters to camera in React Native?

    1 project | /r/reactnative | 8 Dec 2021
  • Camera X, Camera 2 or something else?

    4 projects | /r/androiddev | 12 Mar 2021
  • /e/OS: A complete "deGoogled" mobile ecosystem

    1 project | news.ycombinator.com | 21 Nov 2024
  • Day 54. Voyager issue

    1 project | dev.to | 2 Nov 2024
  • Show HN: Enioka Scan 3.0, improved user and developer experience

    1 project | news.ycombinator.com | 9 Aug 2024