add a few more metrics to debug

This commit is contained in:
Blake Blackshear 2020-02-23 18:11:39 -06:00
parent 2e8c7ec225
commit 088bd18adb

View File

@ -194,6 +194,11 @@ def main():
'inference_speed': round(tflite_process.avg_inference_speed.value*1000, 2) '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) return jsonify(stats)
@app.route('/<camera_name>/<label>/best.jpg') @app.route('/<camera_name>/<label>/best.jpg')