Mobile computer-vision demo app built with Expo + React Native.
It includes on-device AI demos powered by react-native-executorch, plus a real-time camera pipeline using react-native-vision-camera.
- Real-time Vision Camera screen with model/task switching
- Image demos for:
- Object Detection
- OCR
- OCR Vertical
- Vision camera task variants:
- Classification
- Object Detection (SSDLite / RF-DETR / YOLO26N)
- Segmentation (DeepLab / FCN / LRASPP / Selfie)
- Instance Segmentation
- OCR
- Style Transfer
- Expo SDK 54
- React Native 0.81.5
- Expo Router (file-based navigation)
- React Native Vision Camera
- React Native Worklets
- React Native ExecuTorch
- Node.js LTS
- Yarn 1.x
- Xcode + CocoaPods (for iOS)
- Android Studio + SDK (for Android)
yarn installyarn iosyarn androidyarn start- This app uses native modules (
react-native-executorch,react-native-vision-camera,react-native-nitro-modules), so use a development build. - Do not use Expo Go for full functionality.
- Camera permission is required (configured via
NSCameraUsageDescriptionin app.json).
- app – routes/screens
- app/vision_camera/index.tsx – real-time camera + model switching UI
- components/vision_camera/tasks – per-task camera processing components
- assets – model files (
.pte) and app assets
yarn start– start Expo dev serveryarn ios– run iOS dev buildyarn android– run Android dev buildyarn web– run web targetyarn lint– lint project
cd ios && pod installThen rerun:
yarn iosMake sure react-native-worklets is on a compatible version (0.8.1 in this project) and reinstall pods.
watchman watch-del '/Users/minhazhe/Documents/react-native-computer-vision'
watchman watch-project '/Users/minhazhe/Documents/react-native-computer-vision'Private project.