a0e063414a
* Bump gradle build-tools to 4.2.1 * Bump kotlinx coroutines to 1.5.0 * Bump Kotlin to 1.5.0 * Replace `jcenter` with `mavenCentral` * Upgrade Kotlin to 1.5.10 * Upgrade gradle plugin to 4.2.1 * Revert "Upgrade gradle plugin to 4.2.1" This reverts commit 0946110ff442ddd24f2f3f31e7587851d7626c9e. * Revert "Upgrade Kotlin to 1.5.10" This reverts commit 2b11c5c911397d1db1ea7a24fb8c8634a25b5c76. * Revert "Replace `jcenter` with `mavenCentral`" This reverts commit 3e40b516619067c0d9da1abf3cfeb9acb6102c71. |
||
---|---|---|
.github | ||
.vscode | ||
android | ||
cpp | ||
docs | ||
example | ||
ios | ||
scripts | ||
src | ||
.eslintrc.js | ||
.gitignore | ||
.prettierrc.js | ||
babel.config.js | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
package.json | ||
README.md | ||
tsconfig.build.json | ||
tsconfig.docs.json | ||
tsconfig.json | ||
VisionCamera.podspec | ||
yarn.lock |
Vision Camera
Documentation
Features
- Photo, Video and Snapshot capture
- Customizable devices and multi-cameras (smoothly zoom out to "fish-eye" camera)
- Customizable FPS
- Frame Processors (JS worklets to run QR-Code scanning, facial recognition, AI object detection, realtime video chats and more)
- Smooth zooming (Reanimated)
- Fast pause and resume
- 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}
/>
)
}