React Native On-Device Image Labeling w/ Google ML Kit
npm install @react-native-ml-kit/image-labeling --save
CLI autolink feature links the module while building the app.
react-native link @react-native-ml-kit/image-labeling
On iOS, use CocoaPods to add the native RNMLKitImageLabeling to your project:
npx pod-install
import ImageLabeling from '@react-native-ml-kit/image-labeling';
const labels = await ImageLabeling.label(imageURL);