code: def _test_recog(self):
      # test random rotate for recognition (image only) input
      transform = RandomRotate(max_angle=10)
      results = transform(copy.deepcopy(self.data_info1))
      self.assertTrue(
          np.allclose(results["img"], self.data_info1["img"])
      )
  
imports: import copy
  import unittest
  import unittest.mock
  import numpy
  from mmocr.datasets.transforms import FixInvalidPolygon, RandomCrop, RandomRotate, RemoveIgnored, Resize
  from mmocr.utils import poly2shapely
label_desc: Use image node_id 4 for calling the TestRandomRotate obj's underlying member method code with example usage: obj._test_recog() without return types