$ account mrousavy
This repository is a high-performance React Native camera library (VisionCamera) that provides photo/video capture, real-time frame processing, barcode scanning, location tagging, and GPU-accelerated frame resizing. It is organized as a monorepo with a core package and several plugin packages (barcode-scanner, location, resizer, skia, worklets). The architecture uses NitroModules to generate C++/Swift/Kotlin hybrid object bridges, enabling zero-copy data flow from platform camera APIs (AVFoundation on iOS, CameraX on Android) to JavaScript. Key entry points include the `<Camera>` React component, hooks like `useCameraSession`, `useFrameOutput`, `useBarcodeScannerOutput`, and factory functions for creating sessions and outputs. External dependencies include platform camera frameworks, ML Kit for barcode detection, CoreLocation for geotagging, and Metal/Vulkan for GPU compute. The library is production-grade, used by major apps (Amazon, Shopify, Tesla, etc.), and features a constraint resolution system for optimal format selection, gesture controllers for zoom and tap-to-focus, and a worklet runtime for offloading frame processing to native threads.