code: def test_textdet_parsers(self):
      ann_path = self._create_fake_sample()
      parser = FUNSDTextDetAnnParser(split="train")
      _, instances = parser.parse_file("fake.jpg", ann_path)
      self.assertEqual(len(instances), 2)
      self.assertEqual(instances[0]["text"], "Date:")
      self.assertEqual(instances[0]["ignore"], False)
      self.assertEqual(instances[1]["ignore"], True)
      self.assertListEqual(
          instances[0]["poly"], [91, 279, 123, 279, 123, 294, 91, 294]
      )
  
file_path: mmocr/tests/test_datasets/test_preparers/test_parsers/test_funsd_parser.py
imports: import json
  import os.path
  import tempfile
  import unittest
  from mmocr.datasets.preparers import FUNSDTextDetAnnParser
label_desc: Use image node_id 3 for calling the TestFUNSDTextDetAnnParser obj's underlying member method code with example usage: obj.test_textdet_parsers() without return types