/* This file includes instructions for running the code */
The Code struture is as follows:
- cars.m (MATLAB code for video processing)
- server.py (python code for running the server)
- Traffic2 (a folder with all android files)
Instructions to run the server:
- Run the file server.py on a python IDE or an a linux terminal using the command 'python server.py'
Instructions to run and use the android app:
- Connect an android device to the system running the code.
- Open the folder, Traffic, on Android Studio and run the MapsActivity.java file. The app, Traffic2, opens on the android device.
- On the first screen, a map with marker indicating nearby signals is displayed. The user can click on any of the markers to get the congestion details.
Instructions to run the video processing code:
- Run cars.m file on MATLAB, which outputs the speed and congestion level of traffic in a particular input video.