code: def setUp(self) -> None:
      self.root = tempfile.TemporaryDirectory()
  
imports: import os.path
  import tempfile
  import unittest
  from mmocr.datasets.preparers import TextDetConfigGenerator
label_desc: Use image node_id 1 for calling the TestTextDetConfigGenerator obj's underlying member method code with example usage: obj.setUp() without return types