Code Monkey home page Code Monkey logo

chhornponleu / 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 55.57 MB

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

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

License: MIT License

Shell 0.55% JavaScript 0.78% Ruby 1.16% C++ 10.96% C 0.02% Objective-C 1.79% Java 2.70% Kotlin 25.32% TypeScript 22.84% Objective-C++ 6.80% Swift 26.63% CMake 0.45%

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:

npm i react-native-vision-camera
cd ios && pod install

..and get started by setting up permissions!

Documentation

ShadowLens

To see VisionCamera in action, check out ShadowLens!

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 xulihang avatar rodgomesc avatar thomas-coldwell avatar mateusz1913 avatar developerantoniosousa avatar janicduplessis avatar menardi avatar manuelbieh avatar vonovak avatar titozzz avatar erwanlpfr avatar g0retz avatar rutvik24 avatar hrupesh avatar romick2005 avatar rbarman avatar rocket13011 avatar rhysjosmin avatar parlet avatar chhornponleu avatar philparzer avatar paulrostorp avatar nilskrause avatar ntkrieger avatar bear-junior avatar didithilmy 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.