* Move Guides to docs/guides directory * Rename sidebar * Fix api/ links * Update SETUP.mdx
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}
/>
)
}
🚀 Get started by setting up permissions!
Description
Languages
Swift
29.9%
Kotlin
26.7%
TypeScript
17.6%
C++
11.2%
Objective-C++
7%
Other
7.6%