code: def test_textdet_parsers(self):
      parser = SVTTextDetAnnParser(split="train")
      file = self._create_dummy_svt_det()
      samples = parser.parse_files(self.root.name, file)
      self.assertEqual(len(samples), 1)
      self.assertEqual(
          samples[0][0], osp.join(self.root.name, "test.jpg")
      )
      self.assertEqual(len(samples[0][1]), 3)
      self.assertEqual(samples[0][1][0]["text"], "living")
      self.assertEqual(samples[0][1][1]["text"], "room")
      self.assertEqual(samples[0][1][2]["text"], "theaters")
      self.assertEqual(
          samples[0][1][0]["poly"],
          [375, 253, 611, 253, 611, 328, 375, 328],
      )
      self.assertEqual(samples[0][1][0]["ignore"], False)
  
file_path: mmocr/tests/test_datasets/test_preparers/test_parsers/test_svt_parsers.py
imports: import os.path
  import tempfile
  import unittest
  from mmocr.datasets.preparers.parsers.svt_parser import SVTTextDetAnnParser
  from mmocr.utils import list_to_file
label_desc: Use image node_id 3 for calling the TestSVTParsers obj's underlying member method code with example usage: obj.test_textdet_parsers() without return types