Skip to content

Commit

Permalink
add a few more metrics to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeblackshear committed Feb 24, 2020
1 parent 2f5e322 commit 7686c51
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions detect_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,11 @@ def stats():
'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('/<camera_name>/<label>/best.jpg')
Expand Down

0 comments on commit 7686c51

Please sign in to comment.