code: def define_flags() -> None:
      """Define flags for the object detection model maker demo."""
      flags.DEFINE_string(
          "export_dir", None, "The directory to save exported files."
      )
      flags.DEFINE_string(
          "input_data_dir",
          None,
          """The directory with input training data. If the training data is not
        specified, the pipeline will use the test dataset.""",
      )
      flags.DEFINE_bool("qat", True, "Whether or not to do QAT.")
      flags.mark_flag_as_required("export_dir")
  
file_path: mediapipe/mediapipe/model_maker/python/vision/object_detector/object_detector_demo.py
imports: import os
  from absl import app
  from absl import flags
  from absl import logging
  from mediapipe.model_maker.python.vision import object_detector
label_desc: Use image node_id 1 for calling a global function with example usage: define_flags() without return types