react-native-vision-camera  by mrousavy

Powerful camera SDK for React Native

Created 5 years ago
9,342 stars

Top 5.6% on SourcePulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

A powerful, high-performance React Native Camera library, VisionCamera addresses the need for advanced camera functionalities within mobile applications. It targets React Native developers seeking to integrate sophisticated features like real-time AI processing, high-resolution capture, and custom camera controls, thereby enabling richer user experiences.

How It Works

VisionCamera employs a high-performance architecture, utilizing custom C++/GPU accelerated resizing with Metal/Vulkan for optimal performance. A key feature is its real-time Frame Processors, which allow JavaScript worklets to execute directly on camera frames. This enables low-latency processing for tasks such as AI object detection, facial recognition, and applying real-time filters or shaders.

Quick Start & Requirements

  • Installation: npm i react-native-vision-camera followed by cd ios && pod install.
  • Prerequisites: A standard React Native development environment. Camera permissions must be configured within the application.
  • Documentation: Official documentation is available via a Documentation Website. An Example App and a Community Discord are also provided.
  • Demo: The ShadowLens example showcases the library's capabilities.

Highlighted Details

  • Supports high resolutions (up to 4k/8k) and high frame rates (30-240 FPS).
  • Features real-time Frame Processors for advanced JS worklet-based image analysis and manipulation.
  • Includes custom C++/GPU accelerated resizing (Metal/Vulkan) for enhanced performance.
  • Offers advanced camera controls such as smooth zooming, HDR, and Night modes.

Maintenance & Community

Developed by Margelo, the project maintains an active community on Discord. Developers can follow updates via Twitter and find additional examples on the developer's blog.

Licensing & Compatibility

The license type is not explicitly stated in the provided README excerpt. Compatibility for commercial use would require verification of the full license terms.

Limitations & Caveats

VisionCamera V4 is no longer actively maintained and has been archived. Users should ensure they are utilizing the latest supported version, V5, to benefit from ongoing development and support.

Health Check
Last Commit

20 hours ago

Responsiveness

Inactive

Pull Requests (30d)
53
Issues (30d)
61
Star History
97 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.