Marc Rousavy c657bf8718 Revert "fix: Fix Frame Processor null-dereference error (use ref-counted JNI local_ref) (#351)"
This reverts commit d06bcf648c32899d768297432c24f870d9f8e40d.
2021-08-20 16:05:09 +02:00
2021-02-20 17:13:02 +01:00
2021-07-07 14:55:25 +02:00
2021-06-21 22:42:46 +02:00
2021-08-20 16:03:08 +02:00

Vision Camera



📸 The Camera library that sees the vision.
npm i react-native-vision-camera
npx pod-install
Buy Me a Coffee at ko-fi.com



Documentation

Features

  • Photo, Video and Snapshot capture
  • Customizable devices and multi-cameras (smoothly zoom out to "fish-eye" camera)
  • Customizable 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

See the example app

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}
    />
  )
}

🚀 Get started by setting up permissions!

Description
No description provided
Readme 56 MiB
Languages
Swift 29.9%
Kotlin 26.7%
TypeScript 17.6%
C++ 11.2%
Objective-C++ 7%
Other 7.6%