From 088bd18adbe75f57caa6e34466d528bfc0f8555a Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Sun, 23 Feb 2020 18:11:39 -0600 Subject: [PATCH] add a few more metrics to debug --- detect_objects.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/detect_objects.py b/detect_objects.py index a631c7482..ddbefec37 100644 --- a/detect_objects.py +++ b/detect_objects.py @@ -194,6 +194,11 @@ def main(): 'inference_speed': round(tflite_process.avg_inference_speed.value*1000, 2) } + rc = plasma_process.poll() + stats['plasma_store_rc'] = rc + + stats['tracked_objects_queue'] = tracked_objects_queue.qsize() + return jsonify(stats) @app.route('//