Skip to content

Commit

Permalink
Update examples/python/face_tracking/face_tracking.py
Browse files Browse the repository at this point in the history
Co-authored-by: Andreas Reich <andreas@rerun.io>
  • Loading branch information
teh-cmc and Wumpf committed Sep 27, 2024
1 parent 33f53a2 commit 09ad22a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion examples/python/face_tracking/face_tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 09ad22a

Please sign in to comment.