Update stats config

This commit is contained in:
Nick Mowen 2022-11-09 15:21:34 -07:00
parent d0fb3bbec6
commit 0736bdbdc1

View File

@ -39,6 +39,7 @@ export const handlers = [
return res( return res(
ctx.status(200), ctx.status(200),
ctx.json({ ctx.json({
cpu_usages: { 64: { cpu: 5, mem: 5 }, 54: { cpu: 4, mem: 4 }, 71: { cpu: 3, mem: 3}, 60: {cpu: 2, mem: 2} },
detection_fps: 0.0, detection_fps: 0.0,
detectors: { coral: { detection_start: 0.0, inference_speed: 8.94, pid: 52 } }, detectors: { coral: { detection_start: 0.0, inference_speed: 8.94, pid: 52 } },
front: { camera_fps: 5.0, capture_pid: 64, detection_fps: 0.0, pid: 54, process_fps: 0.0, skipped_fps: 0.0 }, front: { camera_fps: 5.0, capture_pid: 64, detection_fps: 0.0, pid: 54, process_fps: 0.0, skipped_fps: 0.0 },