This repo contains the prototype of the admin page of a driver drowsiness detection software.
ML Server: https://github.com/hrithik-jha/drowsy-api
-
/
Standard GET to check status of server. -
/getEverything
Get complete profiles of all drivers. -
/getProfileOf
Get complete profile of a single driver.
/addActivity
Send the activity of a certain driver. Follow the format:
payload = {
"id" : id,
"time": timestamp,
"isDrowsy": isDrowsy
}