README | SETUP | DEVICES | FORMATS | FRAME_PROCESSORS | ANIMATED | ERRORS |
---|
Install
npm i [email protected]
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!
Camera
npm i [email protected]
npx pod-install
ultra-wide-angle
, wide-angle
, telephoto
and virtual multi-cameras)See the example app
function App() {
const devices = useCameraDevices('wide-angle-camera')
const device = devices.back
return (
<Camera
style={StyleSheet.absoluteFill}
device={device}
isActive={true}
/>
)
}