Dashboard API Controller
Opened this issue · 0 comments
SSRF commented
We need a dashboard api controller to serve statistics
/dashboard
- Total Faces Enrolled (just a count of how many users without logins we have)
- New faces enrolled (how many more or less faces we've had enrolled since last week)
- Valid detections from the camera (recognized faces)
- Invalid detections from the camera (unrecognized faces)
/dashboard/cameraDetections
- Camera location (name of camera)
- Total face hits (invalid and valid)
- Invalid hits
- Success rate of hits (invalid over valid)
/dashboard/cameraCapacities
- Camera location (name of camera)
- How many visits this location has had (invalid and valid face hits, but excluding multiple hits of a valid face on the same day)
- Capacity (some arbitrary value that states how many people the location can handle, returned as a percentage compared to the visitors on a day)