Go to file
Marc Rousavy fdbd45871a ES
2021-02-20 17:08:35 +01:00
android Remove CONTROL_SCENE_MODES for HDR and Night-Mode 2021-02-20 10:34:46 +01:00
docs Update TODO.md 2021-02-19 21:31:01 +01:00
example ES 2021-02-20 17:08:35 +01:00
img Add example screenshot 2021-02-20 16:37:42 +01:00
ios Pin SWIFT_VERSION to 5.2 2021-02-19 17:55:37 +01:00
scripts Bootstrap 2021-02-19 16:07:53 +01:00
src ESLint autofix 2021-02-20 17:07:10 +01:00
.eslintrc.js ES 2021-02-20 17:08:35 +01:00
.gitignore Update .gitignore 2021-02-19 21:29:50 +01:00
.prettierrc.js Finish devDependencies setup 2021-02-19 16:20:19 +01:00
babel.config.js update a whole lotta stuff 2021-02-19 19:06:28 +01:00
CONTRIBUTING.md move md to docs 2021-02-19 21:26:49 +01:00
LICENSE Bootstrap 2021-02-19 16:07:53 +01:00
package.json Finish devDependencies setup 2021-02-19 16:20:19 +01:00
react-native-vision-camera.podspec update config 2021-02-19 21:18:31 +01:00
README.md Update README.md 2021-02-20 16:51:53 +01:00
tsconfig.build.json Bootstrap 2021-02-19 16:07:53 +01:00
tsconfig.json TS: enable noUncheckedIndexedAccess 2021-02-20 16:59:21 +01:00
yarn.lock Create yarn.lock 2021-02-19 21:29:22 +01:00

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 device = useCameraDevice('wide-angle')

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