Go to file
dependabot[bot] cdbd605b76
Bump react and react-dom in /docs (#44)
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom). These dependencies needed to be updated together.

Updates `react` from 16.14.0 to 17.0.1
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v17.0.1/packages/react)

Updates `react-dom` from 16.14.0 to 17.0.1
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v17.0.1/packages/react-dom)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-12 09:53:07 +01:00
.github Use Ruby Gemfile (bundle) to optimize pod install times 2021-03-11 19:08:51 +01:00
.vscode VSCode settings 2021-02-20 17:13:02 +01:00
android Use JRE Kotlin instead of Kotlin/Native 2021-03-09 13:08:30 +01:00
docs Bump react and react-dom in /docs (#44) 2021-03-12 09:53:07 +01:00
example Bump @types/react-native from 0.63.50 to 0.63.51 in /example (#47) 2021-03-12 09:52:18 +01:00
ios Update AVFrameRateRange+includes.swift 2021-03-11 19:47:51 +01:00
scripts Add "check-all" script 2021-03-09 12:19:18 +01:00
src Update code example languages 2021-03-09 12:02:10 +01:00
.eslintrc.js Remove prettier/@typescript-eslint 2021-03-04 10:43:53 +01:00
.gitignore Update .gitignore 2021-03-03 21:24:44 +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
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2021-03-04 14:18:37 +01:00
CONTRIBUTING.md Add "check-all" script 2021-03-09 12:19:18 +01:00
LICENSE Update LICENSE 2021-02-25 22:48:21 +01:00
package.json chore: release 1.0.1 2021-03-09 12:22:11 +01:00
react-native-vision-camera.podspec Fix old links 2021-03-04 10:45:50 +01:00
README.md Update README.md 2021-03-04 11:23:24 +01:00
tsconfig.build.json Bootstrap 2021-02-19 16:07:53 +01:00
tsconfig.docs.json Ignore example/ for building docs 2021-03-04 10:38:42 +01:00
tsconfig.json Automatically build API documentation (#11) 2021-03-03 12:37:43 +01:00
yarn.lock Android: Use kotlinx-coroutines-android instead of core (fixes #9) 2021-03-09 12:21:27 +01:00

Vision Camera



📸 The Camera library that sees the vision.






Documentation

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 (Work in progress: #2)
  • Reanimated zooming
  • 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!