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