code: def object_tracker_scope(object_tracker: ObjectTracker):
      """A context to manage trackable objects.
  
      Collects all trackable objects annotated using `track_object` within the body
      of its scope.
  
      Args:
        object_tracker: The passed in ObjectTracker object
  
      Yields:
        A scope in which the object_tracker is active.
      """
      global _OBJECT_TRACKER
      # Multiple nested object_tracker_scope calls are not expected.
      assert _OBJECT_TRACKER is None
      _OBJECT_TRACKER = object_tracker
      try:
          yield
      finally:
          _OBJECT_TRACKER = None
  
file_path: transform/tensorflow_transform/annotators.py
imports: import contextlib
  import os
  from typing import Callable, List, Optional
  import tensorflow
  from tensorflow_transform.graph_context import TFGraphContext
  from tensorflow_transform.keras_lib import tf_keras
  from tensorflow.python.trackable import base
label_desc: Use image node_id 1 for calling a global function with example usage: object_tracker_scope(object_tracker) without return types