code: def open_vocabulary_object_detection(presets: str = DEFAULT):
      """
      Register the presets for open_vocabulary_object_detection.
  
      Parameters
      ----------
      presets
          The preset name.
  
      Returns
      -------
      hyperparameters
          The hyperparameters for a given preset.
      hyperparameter_tune_kwargs
          The hyperparameter tuning kwargs.
      """
      hyperparameters = {
          "model.names": ["ovd"],  # TODO: update with more preset hps
          "env.num_gpus": 1,  # TODO: add multi gpu support and remove this
          "env.eval_batch_size_ratio": 1,
      }
      hyperparameter_tune_kwargs = {}
  
      if presets in [DEFAULT, BEST_QUALITY]:
          hyperparameters.update(
              {
                  "model.ovd.checkpoint_name": "GroundingDINO_SwinB",
              }
          )
      elif presets == HIGH_QUALITY:
          hyperparameters.update(
              {
                  "model.ovd.checkpoint_name": "GroundingDINO_SwinT_OGC",
              }
          )
      elif presets == MEDIUM_QUALITY:
          hyperparameters.update(
              {
                  "model.ovd.checkpoint_name": "GroundingDINO_SwinT_OGC",
              }
          )
      else:
          raise ValueError(f"Unknown preset type: {presets}")
  
      return hyperparameters, hyperparameter_tune_kwargs
  
imports: from typing import List, Optional
  from autogluon.common.utils.try_import import try_import_ray
  from .constants import BEST_QUALITY, BINARY, DATA, DEFAULT, ENVIRONMENT, HIGH_QUALITY, MEDIUM_QUALITY, MODEL, MULTICLASS, OPTIMIZATION, REGRESSION
  from .registry import Registry
label_desc: Use image node_id 6 for calling a global function with example usage: open_vocabulary_object_detection(presets) and returns: hyperparameters,  hyperparameter_tune_kwargs