react-native-vision-camera-mlkit

    A powerful React Native Vision Camera plugin delivering high-performance Google ML Kit frame processor features—including text recognition (OCR), face detection, barcode scanning, pose detection, and more. Seamlessly bridges native ML Kit capabilities for real-time, on-device computer vision in your React Native apps.

    Language: typescript

    Author: Julia Ouellet (@thejulia)

    71 stars · 373 views

    Files

    • Orientation.kt (kt)
    • services (txt)
    • IRecognitionService.kt (kt)
    • IImagePreprocessor.kt (kt)
    • bridge (txt)
    • constants (txt)
    • MLKitFeatureKeys.kt (kt)
    • registry (txt)
    • MLKitTextAdapter.kt (kt)
    • MLKitTextRecognitionService.kt (kt)
    • modules (txt)
    • eslint.config.mjs (mjs)
    • README.md (md)
    • tsconfig.json (json)
    • example (txt)
    • .bundle (bundle)
    • android (txt)
    • gradle (txt)
    • wrapper (txt)
    • app (txt)
    • src (txt)
    • debug (txt)
    • main (txt)
    • java (txt)
    • visioncameramlkit (txt)
    • example (txt)
    • package.json (json)
    • metro.config.js (js)
    • react-native.config.js (js)
    • jest.config.js (js)
    • ios (txt)
    • VisionCameraMLKitExample (txt)
    • AppDelegate.swift (swift)
    • Images.xcassets (xcassets)
    • AppIcon.appiconset (appiconset)
    • Contents.json (json)
    • Contents.json (json)
    • VisionCameraMLKitExample.xcworkspace (xcworkspace)
    • .xcode.env (env)
    • VisionCameraMLKitExample.xcodeproj (xcodeproj)
    • xcshareddata (txt)
    • xcschemes (txt)
    • src (txt)
    • utils (txt)
    • safeStringify.ts (ts)
    • formatTimestamp.ts (ts)
    • constants (txt)
    • PLUGINS.ts (ts)
    • stores (txt)
    • settingsStore.ts (ts)
    • LICENSE (txt)
    • tsconfig.build.json (json)
    • package.json (json)
    • .yarnrc.yml (yml)
    • .github (github)
    • actions (txt)
    • setup (txt)
    • action.yml (yml)
    • workflows (txt)
    • npm-release.yml (yml)
    • sync-labels.yml (yml)
    • lint-typecheck.yml (yml)
    • stale.yml (yml)
    • labels.yml (yml)
    • ISSUE_TEMPLATE (txt)
    • feature-request.yml (yml)
    • VisionCameraMLKitModule.swift (swift)
    • Image (txt)
    • ImagePreprocessor.swift (swift)
    • Serializers (txt)
    • TextRecognitionSerializer.swift (swift)
    • MLKit (txt)
    • Adapters (txt)
    • MLKitTextAdapter.swift (swift)
    • MLKitTextRecognitionService.swift (swift)
    • Factories (txt)
    • NativeBridge.test.ts (ts)
    • VisionCameraMLKitSpec.ts (ts)
    • hooks (txt)
    • useMLKitPlugin.ts (ts)
    • core (txt)
    • NativeBridge.ts (ts)
    • constants.ts (ts)
    • IImagePreprocessor.swift (swift)
    • src (txt)
    • __tests__ (txt)
    • ProcessedImage.kt (kt)
    • BoundingBox.kt (kt)
    • ImagePreprocessingOptions.kt (kt)
    • OutputOrientation.kt (kt)
    • Corner.kt (kt)
    • TextRecognitionOptions.kt (kt)
    • LinkCard.tsx (tsx)
    • TextRecognitionResult.kt (kt)
    • docs (txt)
    • static (txt)
    • img (txt)
    • testocr.png (image)
    • android (txt)
    • src (txt)
    • main (txt)
    • java (txt)
    • com (txt)
    • visioncameramlkit (txt)
    • VisionCameraMLKitPackage.kt (kt)
    • domain (txt)
    • models (txt)
    • PluginRegistry.kt (kt)
    • plugins (txt)
    • TextRecognitionPlugin.kt (kt)
    • BaseMLKitPlugin.kt (kt)
    • handlers (txt)
    • StaticTextRecognitionHandler.kt (kt)
    • IStaticImageHandler.kt (kt)
    • infrastructure (txt)
    • mlkit (txt)
    • factories (txt)
    • TextRecognitionServiceFactory.kt (kt)
    • adapters (txt)
    • VisionCameraMLKitModule.kt (kt)
    • serializers (txt)
    • TextRecognitionSerializer.kt (kt)
    • image (txt)
    • ImagePreprocessor.kt (kt)
    • application (txt)
    • usecases (txt)
    • RecognizeTextUseCase.kt (kt)
    • .yarn (yarn)
    • releases (txt)
    • SECURITY.md (md)
    • MainApplication.kt (kt)
    • MainActivity.kt (kt)
    • res (txt)
    • values (txt)
    • mipmap-mdpi (txt)
    • ic_launcher.png (image)
    • ic_launcher_round.png (image)
    • drawable (txt)
    • mipmap-xhdpi (txt)
    • ic_launcher.png (image)
    • ic_launcher_round.png (image)
    • mipmap-xxxhdpi (txt)
    • ic_launcher.png (image)
    • ic_launcher_round.png (image)
    • mipmap-xxhdpi (txt)
    • ic_launcher.png (image)
    • ic_launcher_round.png (image)
    • mipmap-hdpi (txt)
    • ic_launcher.png (image)
    • ic_launcher_round.png (image)
    • index.js (js)
    • app.json (json)
    • README.md (md)
    • babel.config.js (js)
    • imageProcessingOptionsStore.ts (ts)
    • pluginOptionsStore.ts (ts)
    • terminalStore.ts (ts)
    • index.ts (ts)
    • hooks (txt)
    • usePermission.ts (ts)
    • useAppState.ts (ts)
    • index.ts (ts)
    • App.tsx (tsx)
    • screens (txt)
    • CameraScreen.tsx (tsx)
    • SettingsScreen.tsx (tsx)
    • HomeScreen.tsx (tsx)
    • index.ts (ts)
    • ImageScreen.tsx (tsx)
    • styles (txt)
    • themes (txt)
    • index.ts (ts)
    • services (txt)
    • ImagePicker.ts (ts)
    • providers (txt)
    • TerminalProvider.tsx (tsx)
    • CameraControls.tsx (tsx)
    • ThemeProvider.tsx (tsx)
    • PortalProvider.tsx (tsx)
    • components (txt)
    • views (txt)
    • HeaderView.tsx (tsx)
    • NoPluginErrorView.tsx (tsx)
    • TerminalBottomSheet.tsx (tsx)
    • NoCameraPermissionErrorView.tsx (tsx)
    • lefthook.yml (yml)
    • PortalSegmentedToggle.tsx (tsx)
    • CameraView.tsx (tsx)
    • index.ts (ts)
    • NoDeviceErrorView.tsx (tsx)
    • ui (txt)
    • SegmentedToggle.tsx (tsx)
    • SectionImageInput.tsx (tsx)
    • Divider.tsx (tsx)
    • SectionPicker.tsx (tsx)
    • SectionSwitch.tsx (tsx)
    • GithubFab.tsx (tsx)
    • Text.tsx (tsx)
    • SectionTitle.tsx (tsx)
    • Section.tsx (tsx)
    • SectionSlider.tsx (tsx)
    • TerminalEntryRow.tsx (tsx)
    • index.ts (ts)
    • Button.tsx (tsx)
    • CameraButton.tsx (tsx)
    • navigation (txt)
    • RootNavigator.tsx (tsx)
    • index.ts (ts)
    • babel.config.js (js)
    • ktlint-format.yml (yml)
    • unit-tests.yml (yml)
    • swift-format.yml (yml)
    • build-android.yml (yml)
    • build-package.yml (yml)
    • build-ios.yml (yml)
    • build-error.yml (yml)
    • bug-report.yml (yml)
    • config.yml (yml)
    • FUNDING.yml (yml)
    • turbo.json (json)
    • CONTRIBUTING.md (md)
    • ios (txt)
    • Bridge (txt)
    • Handlers (txt)
    • RecognizeTextUseCase.swift (swift)
    • StaticTextRecognitionHandler.swift (swift)
    • IStaticImageHandler.swift (swift)
    • Constants (txt)
    • MLKitFeatureKeys.swift (swift)
    • Plugins (txt)
    • TextRecognitionPlugin.swift (swift)
    • BaseMLKitPlugin.swift (swift)
    • Registry (txt)
    • PluginRegistry.swift (swift)
    • Application (txt)
    • UseCases (txt)
    • VisionCameraMLKit-Bridging-Header.h (h)
    • Infrastructure (txt)
    • Modules (txt)
    • TextRecognitionServiceFactory.swift (swift)
    • Domain (txt)
    • Models (txt)
    • BoundingBox.swift (swift)
    • ProcessedImage.swift (swift)
    • Corner.swift (swift)
    • TextRecognitionOptions.swift (swift)
    • Orientation.swift (swift)
    • ImagePreprocessingOptions.swift (swift)
    • OutputOrientation.swift (swift)
    • TextRecognitionResult.swift (swift)
    • Services (txt)
    • IRecognitionService.swift (swift)
    • types.ts (ts)
    • PluginFactory.ts (ts)
    • shared (txt)
    • constants.ts (ts)
    • features (txt)
    • text-recognition (txt)
    • types.ts (ts)
    • index.ts (ts)
    • index.ts (ts)
    • CODE_OF_CONDUCT.md (md)
    • ATTRIBUTION.md (markdown)

    Loading code snippet…