GithubHelp home page GithubHelp logo

iamfat / react-native-vision-camera Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mrousavy/react-native-vision-camera

0.0 1.0 0.0 54.06 MB

๐Ÿ“ธ A powerful, high-performance React Native Camera library.

Home Page: https://react-native-vision-camera.com

License: MIT License

Shell 0.64% JavaScript 0.92% Ruby 1.36% C++ 13.77% C 0.09% Objective-C 0.52% Java 2.26% Kotlin 24.56% TypeScript 24.39% Objective-C++ 7.29% Swift 23.73% CMake 0.48%

react-native-vision-camera's Introduction

VisionCamera

Features

VisionCamera is a powerful, high-performance Camera library for React Native. It features:

  • ๐Ÿ“ธ Photo and Video capture
  • ๐Ÿ‘๏ธ QR/Barcode scanner
  • ๐Ÿ“ฑ Customizable devices and multi-cameras ("fish-eye" zoom)
  • ๐ŸŽž๏ธ Customizable resolutions and aspect-ratios (4k/8k images)
  • โฑ๏ธ Customizable FPS (30..240 FPS)
  • ๐Ÿงฉ Frame Processors (JS worklets to run facial recognition, AI object detection, realtime video chats, ...)
  • ๐Ÿ” Smooth zooming (Reanimated)
  • โฏ๏ธ Fast pause and resume
  • ๐ŸŒ“ HDR & Night modes
  • โšก Custom C++/GPU accelerated video pipeline (OpenGL)

Install VisionCamera from npm:

yarn add react-native-vision-camera
cd ios && pod install

..and get started by setting up permissions!

Documentation

V3

You're looking at the V3 version of VisionCamera, which features a full rewrite on the Android codebase and a huge refactor on the iOS codebase. If you encounter issues on V3, you can also downgrade to V2, which is still partially supported.

Example

function App() {
  const device = useCameraDevice('back')

  if (device == null) return <NoCameraErrorView />
  return (
    <Camera
      style={StyleSheet.absoluteFill}
      device={device}
      isActive={true}
    />
  )
}

See the example app

Adopting at scale

This library helped you? Consider sponsoring!

VisionCamera is provided as is, I work on it in my free time.

If you're integrating VisionCamera in a production app, consider funding this project and contact me to receive premium enterprise support, help with issues, prioritize bugfixes, request features, help at integrating VisionCamera and/or Frame Processors, and more.

Socials

react-native-vision-camera's People

Contributors

mrousavy avatar dependabot[bot] avatar hirbod avatar simek avatar thomas-coldwell avatar developerantoniosousa avatar janicduplessis avatar xulihang avatar mateusz1913 avatar manuelbieh avatar vonovak avatar titozzz avatar menardi avatar sjchmiela avatar shirangabriel avatar g0retz avatar rutvik24 avatar hrupesh avatar rbarman avatar rodgomesc avatar rocket13011 avatar philparzer avatar paulrostorp avatar nilskrause avatar aarongrider avatar touchmarine avatar r0b0t3d avatar vahidid avatar likern avatar xseignard avatar

Watchers

 avatar

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.