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