Go to file
Hanno J. Gödecke a814cedeea
Update README.md
2021-02-25 13:42:12 +01:00
.github Update PULL_REQUEST_TEMPLATE.md 2021-02-23 16:47:35 +01:00
.vscode VSCode settings 2021-02-20 17:13:02 +01:00
android Skip devices with harwarde level LEGACY 2021-02-25 10:20:23 +01:00
docs Add info about frame processors still being WIP 2021-02-25 12:55:02 +01:00
example Fix a few ESLint errors 2021-02-23 11:57:43 +01:00
img Update 11_back.png 2021-02-24 21:49:22 +01:00
ios ErrorWithCause: add .code and .domain 2021-02-23 15:59:07 +01:00
scripts Bootstrap 2021-02-19 16:07:53 +01:00
src ErrorWithCause: add .code and .domain 2021-02-23 15:59:07 +01:00
.eslintrc.js Ignore scripts/ & lib/ 2021-02-23 11:57:31 +01:00
.gitignore VSCode settings 2021-02-20 17:13:02 +01:00
.prettierrc.js Finish devDependencies setup 2021-02-19 16:20:19 +01:00
babel.config.js Fix include 2021-02-20 17:09:57 +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 chore: release 1.0.0-alpha.1 2021-02-25 13:00:41 +01:00
react-native-vision-camera.podspec update config 2021-02-19 21:18:31 +01:00
README.md Update README.md 2021-02-25 13:42:12 +01:00
tsconfig.build.json Bootstrap 2021-02-19 16:07:53 +01:00
tsconfig.json Fix include 2021-02-20 17:09:57 +01:00
yarn.lock Run lint through formatter 2021-02-23 14:17:10 +01:00

README SETUP DEVICES FORMATS FRAME_PROCESSORS ANIMATED ERRORS

Camera



📸 The Camera library that sees the vision.






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 (WIP #2)
  • 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}
      isActive={true}
    />
  )
}

🚀 Get started by setting up permissions!