Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 726 Bytes

README.md

File metadata and controls

31 lines (17 loc) · 726 Bytes

@react-native-ml-kit/object-detection

React Native On-Device Custom Image Labeling w/ Google ML Kit

Getting started

npm install @react-native-ml-kit/object-detection --save

Linking

React Native > 0.59

CLI autolink feature links the module while building the app.

React Native <= 0.59

react-native link @react-native-ml-kit/object-detection

Installing Pods

On iOS, use CocoaPods to add the native RNMLKitObjectDetection to your project:

npx pod-install

Usage

import ObjectDetection from '@react-native-ml-kit/object-detection';

const labels = await ObjectDetection.label(imageURL);