class_docstr: SVT Text Detection Parser.
  
  Args:
      data_root (str): The root of the dataset. Defaults to None.
      nproc (int): The number of processes to parse the annotation. Defaults
          to 1.
docstr: Parse annotations.
code: def parse_files(self, img_dir: str, ann_path: str) -> List:
      """Parse annotations."""
      assert isinstance(ann_path, str)
      samples = list()
      for img_name, instance in self.loader(ann_path):
          samples.append(
              (osp.join(img_dir, osp.basename(img_name)), instance)
          )
  
      return samples
  
file_path: mmocr/mmocr/datasets/preparers/parsers/svt_parser.py
imports: import os.path
  import xml.etree.ElementTree
  from typing import List, Tuple
  from mmocr.registry import DATA_PARSERS
  from .base import BaseParser
label_desc: Use image node_id 1 for calling the SVTTextDetAnnParser obj's underlying member method code with example usage: obj.parse_files(img_dir, ann_path) and returns: samples