Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

react-native-vision-camera

> 前端框架
Open source

A powerful, high-performance React Native Camera library.

9.5K stars0 likes2 views
WebsiteGitHub

About

A powerful, high-performance React Native Camera library.



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 (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 resizer (Metal/Vulkan)

Install VisionCamera from npm:

bash
npm i react-native-vision-camera
cd ios && pod install

..and get started by setting up permissions!

Links

  • VisionCamera Documentation
  • VisionCamera LLMs.txt
  • Community Discord
  • Example App
  • AWS Device Farm Tests (sign in via the AWS Access Portal first)

VisionCamera V4

As VisionCamera V5 is released, VisionCamera V4 is no longer actively maintained. The VisionCamera V4 code has been archived under margelo/react-native-vision-camera-v4-snapshot, and the old documentation page is deployed at visioncamera4.margelo.com.

ShadowLens

To see VisionCamera in action, check out ShadowLens!

Example

typescript
function App() {
  return (
    <Camera
      style={StyleSheet.absoluteFill}
      device="back"
      isActive={true}
    />
  )
}

See the example app

Adopting at scale

VisionCamera is built by Margelo. We make apps better and faster.

Socials

  • Follow me on Twitter for updates
  • Check out my blog for examples and experiments
  • Join the Margelo Community Discord for chatting about VisionCamera

Issues· 94 open

View all issuesOpen on GitHub
  • #4180

    Android: every <Camera> mount leaks its SurfaceView and camera output stream

    🐛 bugUpdated Sep 25, 2026
  • #4196

    iOS 26: .mp4 recordings play silent in AVFoundation — QuickTime-branded file with an MPEG-4 audio sample entry (recommendedMovieMetadata path)

    Updated Sep 23, 2026
  • #4156

    [iOS] Sharing one output between two CameraSession's aborts in [AVCaptureOutput detachFromFigCaptureSession:]

    🐛 bugUpdated Sep 21, 2026
  • #4194

    Camera cannot focus at close range (~10cm) on iPhone 18 Pro — works on iPhone 12 Pro

    Updated Sep 21, 2026
  • #4183

    resizer: Vulkan shader is not packaged with AGP 9 (shader sourceSet compilation removed)

    Updated Sep 6, 2026
  • #4178

    iOS: video output `outputOrientation` reports the set value, not connection state; `currentResolution` returns undefined

    Updated Aug 31, 2026
  • #4114

    convertCameraPointToFramePoint ignores normalising extents on orientation swap (iOS) — square region maps to a 3.16:1 strip

    Updated Aug 30, 2026
  • #4174

    ✨ Support Camera2 native face detection on Android

    🤖 android✨ featureUpdated Aug 25, 2026
  • #4096

    CameraOrientation.fromDegrees() has LEFT/RIGHT swapped on Android — doesn't round-trip its own .degrees getter

    🐛 bugUpdated Aug 20, 2026
  • #3997

    ️ (iOS) iOS build fails: 'React/RCTMessageThread.h' file not found when building VisionCameraWorklets (when using react-native-vision-camera-worklets)

    Updated Aug 19, 2026

> Tags

TypeScriptandroidbarcodecamerainstagram

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架