code: def mock_recognition_label(tmpdir_factory):
      label_file = tmpdir_factory.mktemp("labels").join("labels.json")
      label = {
          "mock_image_file_0.jpeg": "I",
          "mock_image_file_1.jpeg": "am",
          "mock_image_file_2.jpeg": "a",
          "mock_image_file_3.jpeg": "jedi",
          "mock_image_file_4.jpeg": "!",
      }
      with open(label_file, "w") as f:
          json.dump(label, f)
      return str(label_file)
  
imports: import json
  import shutil
  import tempfile
  from io import BytesIO
  import cv2
  import hdf5storage
  import numpy
  import pytest
  import requests
  import scipy.io
  from PIL import Image
  from doctr.datasets.generator.base import synthesize_text_img
  from doctr.io import reader
  from doctr.utils import geometry
label_desc: Use image node_id 11 for calling a global function with example usage: mock_recognition_label(tmpdir_factory) and returns: str