29c401bb8a
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.2 to 4.2.3. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.2...v4.2.3) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
---|---|---|
.github | ||
.vscode | ||
android | ||
docs | ||
example | ||
ios | ||
scripts | ||
src | ||
.eslintrc.js | ||
.gitignore | ||
.prettierrc.js | ||
babel.config.js | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
package.json | ||
react-native-vision-camera.podspec | ||
README.md | ||
tsconfig.build.json | ||
tsconfig.docs.json | ||
tsconfig.json | ||
yarn.lock |
Vision Camera
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}
/>
)
}