react-native-vision-camera/README.md
2021-02-22 09:43:47 +01:00

1.9 KiB

README.md ANIMATED.md DEVICES.md FORMATS.md ERRORS.md



📸 The Camera library that sees the vision.


Buy Me a Coffee at ko-fi.com





Install

npm i react-native-vision-camera
npx pod-install

Features

  • Photo and Video capture
  • Customizable device (ultra-wide-angle, wide-angle, telephoto and virtual multi-cameras)
  • Customizable FPS
  • JS worklet frame processors powered by JSI and Reanimated
  • Reanimated zooming
  • HDR & Night modes

See the example app

Example

function App() {
  const devices = useCameraDevices('wide-angle-camera')
  const device = devices.back

  return (
    <Camera
      style={StyleSheet.absoluteFill}
      device={device}
    />
  )
}