Coder Social home page Coder Social logo

paksa92 / 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 0.0 0.0 116.39 MB

๐Ÿ“ธ The Camera library that sees the vision.

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

License: MIT License

Shell 0.76% JavaScript 1.15% Ruby 1.04% C++ 12.17% Objective-C 3.56% Java 2.80% Kotlin 25.95% TypeScript 23.54% Objective-C++ 5.82% Swift 22.71% CMake 0.52%

react-native-vision-camera's Introduction

VisionCamera

Features

VisionCamera is a powerful and fast Camera component for React Native. It features:

  • ๐Ÿ“ธ Photo and Video capture
  • ๐Ÿ“ฑ 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 QR-Code scanning, facial recognition, AI object detection, realtime video chats, ...)
  • ๐Ÿ” Smooth zooming (Reanimated)
  • โฏ๏ธ Fast pause and resume
  • ๐ŸŒ“ HDR & Night modes
  • โšก Highly efficient C++/GPU buffers

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 devices = useCameraDevices('wide-angle-camera')
  const device = devices.back

  if (device == null) return <LoadingView />
  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 manuelbieh avatar vonovak avatar titozzz avatar menardi avatar xulihang avatar aarongrider avatar nilskrause avatar paulrostorp avatar philparzer avatar rocket13011 avatar rodgomesc avatar rbarman avatar hrupesh avatar rutvik24 avatar g0retz avatar sjchmiela avatar likern avatar xseignard avatar alexstanbury avatar arcticfly avatar hmaltr avatar rkmackinnon avatar viniciusyoshioka 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.