def METHOD_NAME(self):
    transform = MMDet2MMOCR()
    results = transform(self.data_info_det_mask.copy())
    self.assertEqual(results['img'].shape, (15, 30, 3))
    self.assertEqual(results['img_shape'], (15, 30))
    self.assertTrue(
        np.allclose(results['gt_bboxes'], self.data_info_ocr['gt_bboxes']))
    self.assertTrue(
        np.allclose(results['gt_ignored'],
                    self.data_info_ocr['gt_ignored']))