code: def test_textdet_parsers(self):
      file = self._create_dummy_ic15_det()
      parser = ICDARTxtTextDetAnnParser(split="train")
  
      img, instances = parser.parse_file(*file)
      self.assertEqual(img, file[0])
      self.assertEqual(len(instances), 4)
      self.assertIn("poly", instances[0])
      self.assertIn("text", instances[0])
      self.assertIn("ignore", instances[0])
      self.assertEqual(instances[0]["text"], "Genaxis Theatre")
      self.assertEqual(instances[2]["ignore"], True)
      self.assertEqual(instances[3]["text"], "100,000")
  
file_path: mmocr/tests/test_datasets/test_preparers/test_parsers/test_icdar_txt_parsers.py
imports: import os.path
  import tempfile
  import unittest
  from mmocr.datasets.preparers.parsers.icdar_txt_parser import ICDARTxtTextDetAnnParser, ICDARTxtTextRecogAnnParser
  from mmocr.utils import list_to_file
label_desc: Use image node_id 4 for calling the TestIC15Parsers obj's underlying member method code with example usage: obj.test_textdet_parsers() without return types