Frame
s (support for resize and other frame manipulations) (#185)
* batch * Init Frame as box * Use ObjC syntax * Fix access * Revert "Fix access" This reverts commit 7de09e52739d4c2b53f485d5ed696f1665fa5737. * Revert "Use ObjC syntax" This reverts commit e33f05ae8451cc4ee24af41d14dc76a57c157554. * Revert "Init Frame as box" This reverts commit 5adafb6109bfbf7fddb8ddc4af7d306b7b76b476. * use holder * convert buffer <-> jsi object * add docs * add more docs * Update JSIUtils.mm * Update FRAME_PROCESSORS_CREATE_OVERVIEW.mdx * Update CameraView+RecordVideo.swift
feat: Frame Processors: Allow returning
Frame
s (support for resize and other frame manipulations) (#185)
feat: Frame Processors: Allow returning
Frame
s (support for resize and other frame manipulations) (#185)
feat: Frame Processors: Allow returning
Frame
s (support for resize and other frame manipulations) (#185)
feat: Frame Processors: Allow returning
Frame
s (support for resize and other frame manipulations) (#185)
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, ...)
- 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}
/>
)
}
🚀 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%