TrafficEye is a mobile application built with React Native (Expo) that transforms any smartphone into a real-time traffic monitoring unit. It captures video, extracts frames on-device, and streams them to a backend inference API for live traffic congestion prediction.
- Real-time frame extraction from the device camera
- Continuous streaming of images to a congestion-prediction API
- Lightweight mobile CCTV-style workflow
- Cross-platform (Android/iOS) using Expo
- Designed for low-latency traffic monitoring scenarios
- React Native / Expo
- JavaScript
- Camera module for video capture
- HTTP streaming to backend ML service
- App captures live video from the device camera
- Frames are extracted at a configured interval
- Each frame is sent to the backend prediction service
- The server responds with congestion analysis results in real time
- Traffic flow monitoring
- Low-cost smart city deployments
- Road congestion analysis
- Mobile or temporary surveillance setups
This is an Expo project created with create-expo-app.
-
Install dependencies
npm install
-
Start the app
npx expo start
In the output, you'll find options to open the app in a
- development build
- Android emulator
- iOS simulator
- Expo Go, a limited sandbox for trying out app development with Expo
You can start developing by editing the files inside the app directory. This project uses file-based routing.
When you're ready, run:
npm run reset-projectThis command will move the starter code to the app-example directory and create a blank app directory where you can start developing.
To learn more about developing your project with Expo, look at the following resources:
- Expo documentation: Learn fundamentals, or go into advanced topics with our guides.
- Learn Expo tutorial: Follow a step-by-step tutorial where you'll create a project that runs on Android, iOS, and the web.