From 09ad22aaf82bbe19c2f17c1d397201e24698a4e8 Mon Sep 17 00:00:00 2001 From: Clement Rey Date: Fri, 27 Sep 2024 12:01:04 +0200 Subject: [PATCH] Update examples/python/face_tracking/face_tracking.py Co-authored-by: Andreas Reich --- examples/python/face_tracking/face_tracking.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/examples/python/face_tracking/face_tracking.py b/examples/python/face_tracking/face_tracking.py index 7c389014104a..a6edeedb361d 100755 --- a/examples/python/face_tracking/face_tracking.py +++ b/examples/python/face_tracking/face_tracking.py @@ -20,7 +20,14 @@ import tqdm from mediapipe.tasks.python import vision -# If set, log everything as static +# If set, log everything as static. +# +# Generally, the Viewer accumulates data until its set memory budget at which point it will +# remove the oldest data from the recording (see https://rerun.io/docs/howto/limit-ram) +# By instead logging data as static, no data will be accumulated over time since previous +# data is overwritten. +# Naturally, the drawback of this is that there's no history of previous data sent to the viewer, +# as well as no timestamps, making the Viewer's timeline effectively inactive. global ALL_STATIC ALL_STATIC: bool = False