Completed system to monitor a driver and display their awareness using metrics based off distraction, phone usage, sleeping and happiness
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
frontend
logs
pylibs
src
x64/Debug
.gitignore
DEMO.bat
Driver_Awareness.sln
FaceBasics-D2D.vcxproj
README.md
driver_metrics.py

README.md

Driver Awareness

Utilizes the kinect hardware, with a python, C++ backend and Electron web based frontend. Once best innovation and commuting app at DubHacks and placed 3rd in Consumer Appeal at EcoCar competition.

Demo

  • Demo the frontend dashboard and interactive log explorer here
  • You can find videos of this in action here

Requirements

  • Python 2.7
  • Visual Studio
  • Election
  • Node
  • ZMQ
  • See readme in frontend/dashboard for electron requirements

Settings

There are settings to configure how the code will run.

  • If you don't have Windows 10 or a kinect, you will want to set SIMULATE = True
  • You can choose a kinect_log from the logs/ folder, or use the default.
  • Make sure ZMQ=True and ELECTRON=True if you want to use the frontend
  • Set LOG=True if you want to create a csv of the scores

Execute

  • Run python driver_metrics.py, the json data will be printed in the console
  • Electron should open up, and also start showing data
  • You can debug electron with ctrl + shift + i