@react-native-ml-kit/image-labeling

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

Usage no npm install needed!

<script type="module">
  import reactNativeMlKitImageLabeling from 'https://cdn.skypack.dev/@react-native-ml-kit/image-labeling';
</script>

README

@react-native-ml-kit/image-labeling

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

Getting started

npm install @react-native-ml-kit/image-labeling --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/image-labeling

Installing Pods

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

npx pod-install

Usage

import ImageLabeling from '@react-native-ml-kit/image-labeling';

const labels = await ImageLabeling.label(imageURL);