code: def generate_hocr(
      input_file: Path, output_hocr, output_text, options
  ):
      if input_file.stem.startswith("000004"):
          # Suicide
          os.kill(os.getpid(), signal.SIGKILL)
      else:
          return NoopOcrEngine.generate_hocr(
              input_file, output_hocr, output_text, options
          )
  
file_path: OCRmyPDF/tests/plugins/tesseract_simulate_oom_killer.py
imports: from __future__ import annotations
  import os
  import signal
  from pathlib import Path
  from ocrmypdf import hookimpl
label_desc: Use image node_id 2 for calling the Page4Engine obj's underlying member method code with example usage: obj.generate_hocr(input_file, output_hocr, output_text, options) and returns: NoopOcrEngine