code: def parse_args(args=None):
      parser = PAIArgumentParser()
      parser.add_root_argument(
          "root", EvalArgs, ignore=["gt.images", "pred.images"]
      )
      return parser.parse_args(args=args).root
  
file_path: calamari/calamari_ocr/scripts/eval.py
imports: from dataclasses import dataclass, field
  from typing import Optional
  import tfaip.util.logging
  import numpy
  from calamari_ocr.ocr.dataset.params import DATA_GENERATOR_CHOICES
  from paiargparse import PAIArgumentParser, pai_dataclass, pai_meta
  from calamari_ocr.ocr import SavedCalamariModel
  from calamari_ocr.ocr.dataset.datareader.base import CalamariDataGeneratorParams
  from calamari_ocr.ocr.dataset.datareader.file import FileDataParams
  from calamari_ocr.ocr.evaluator import EvaluatorParams
label_desc: Use image node_id 5 for calling a global function with example usage: parse_args(args) and returns: parser