class_docstr: TotalText Text Detection Parser.
  
  The original annotation format of this dataset is stored in txt files,
  which is formed as the following format:
      x: [[x1 x2 x3 ... xn]], y: [[y1 y2 y3 ... yn]],
      ornt: [u'c'], transcriptions: [u'transcription']
  
  Args:
      data_root (str): Path to the dataset root.
      ignore (str): The text of the ignored instances. Default: '#'.
      nproc (int): Number of processes to load the data. Default: 1.
code: def __init__(self, ignore: str = "#", **kwargs) -> None:
      self.ignore = ignore
      super().__init__(**kwargs)
  
file_path: mmocr/mmocr/datasets/preparers/parsers/totaltext_parser.py
imports: import re
  from typing import Dict, Tuple
  import yaml
  from mmocr.registry import DATA_PARSERS
  from .base import BaseParser
label_desc: Use image node_id 1 to create a new TotaltextTextDetAnnParser object from inherited base classes: BaseParser with example: obj = TotaltextTextDetAnnParser(ignore)