Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrousavy/react-native-vision-camera
📸 A powerful, high-performance React Native Camera library.
https://github.com/mrousavy/react-native-vision-camera
ai android barcode camera instagram ios javascript jsi library native qr qrcode react react-native react-native-camera scanner snapchat typescript vision worklet
Last synced: 1 day ago
JSON representation
📸 A powerful, high-performance React Native Camera library.
- Host: GitHub
- URL: https://github.com/mrousavy/react-native-vision-camera
- Owner: mrousavy
- License: mit
- Created: 2021-02-19T14:59:44.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T09:00:03.000Z (3 months ago)
- Last Synced: 2024-10-29T09:55:31.497Z (3 months ago)
- Topics: ai, android, barcode, camera, instagram, ios, javascript, jsi, library, native, qr, qrcode, react, react-native, react-native-camera, scanner, snapchat, typescript, vision, worklet
- Language: Swift
- Homepage: https://react-native-vision-camera.com
- Size: 107 MB
- Stars: 7,494
- Watchers: 57
- Forks: 1,092
- Open Issues: 174
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-github-star - react-native-vision-camera
- awesome - mrousavy/react-native-vision-camera - 📸 A powerful, high-performance React Native Camera library. (Swift)
- awesome-list - react-native-vision-camera
- StarryDivineSky - mrousavy/react-native-vision-camera
- awesome - mrousavy/react-native-vision-camera - 📸 A powerful, high-performance React Native Camera library. (Swift)
- awesome - mrousavy/react-native-vision-camera - 📸 A powerful, high-performance React Native Camera library. (Swift)
README
### Features
VisionCamera is a powerful, high-performance Camera library for React Native. It features:
* 📸 Photo and Video capture
* 👁️ QR/Barcode scanner
* 📱 Customizable devices and multi-cameras ("fish-eye" zoom)
* 🎞️ Customizable resolutions and aspect-ratios (4k/8k images)
* ⏱️ Customizable FPS (30..240 FPS)
* 🧩 [Frame Processors](https://react-native-vision-camera.com/docs/guides/frame-processors) (JS worklets to run facial recognition, AI object detection, realtime video chats, ...)
* 🎨 Drawing shapes, text, filters or shaders onto the Camera
* 🔍 Smooth zooming (Reanimated)
* ⏯️ Fast pause and resume
* 🌓 HDR & Night modes
* ⚡ Custom C++/GPU accelerated video pipeline (OpenGL)Install VisionCamera from npm:
```sh
npm i react-native-vision-camera
cd ios && pod install
```..and get started by [setting up permissions](https://react-native-vision-camera.com/docs/guides)!
### Documentation
* [Guides](https://react-native-vision-camera.com/docs/guides)
* [API](https://react-native-vision-camera.com/docs/api)
* [Example](./example/)
* [Frame Processor Plugins](https://react-native-vision-camera.com/docs/guides/frame-processor-plugins-community)### ShadowLens
To see VisionCamera in action, check out [ShadowLens](https://mrousavy.com/projects/shadowlens)!
### Example
```tsx
function App() {
const device = useCameraDevice('back')if (device == null) return
return (
)
}
```> See the [example](./example/) app
### Adopting at scale
VisionCamera is provided _as is_, I work on it in my free time.
If you're integrating VisionCamera in a production app, consider [funding this project](https://github.com/sponsors/mrousavy) and contact me to receive premium enterprise support, help with issues, prioritize bugfixes, request features, help at integrating VisionCamera and/or Frame Processors, and more.
### Socials
* 🐦 [**Follow me on Twitter**](https://twitter.com/mrousavy) for updates
* 📝 [**Check out my blog**](https://mrousavy.com/blog) for examples and experiments
* 💬 [**Join the Margelo Community Discord**](https://margelo.com/discord) for chatting about VisionCamera
* 💖 [**Sponsor me on GitHub**](https://github.com/sponsors/mrousavy) to support my work
* 🍪 [**Buy me a Ko-Fi**](https://ko-fi.com/mrousavy) to support my work