dee957648b
* Test forbid `<View>` * Update validate-js.yml * Run yarn lint with custom formatter lib * Revert "Test forbid `<View>`" This reverts commit d36ab54b48b7e86e594d360bd71c82b541ed63fa. * Test: Intentional tsc error * Update notice-new-dependencies.yml * Update validate-js.yml * Use reviewdog again, but with custom efm * Fix <Camera> props * Update validate-js.yml * Try use github-check * Update validate-js.yml * Update validate-js.yml * Add two reporters * Update validate-js.yml * Level error * Use github-pr-review * Update validate-js.yml * Revert "Test: Intentional tsc error" This reverts commit a4e7f6f599d403848729143f1bd87a3435c70826. |
||
---|---|---|
.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}
/>
)
}