class_docstr: A class representing an OCR engine with capabilities similar to Tesseract OCR.
  
  This could be used to create a plugin for another OCR engine instead of
  Tesseract OCR.
docstr: Returns the orientation of the image.
code: def get_orientation(
      input_file: Path, options: Namespace
  ) -> OrientationConfidence:
      """Returns the orientation of the image."""
  
imports: from __future__ import annotations
  from abc import ABC, abstractmethod
  from argparse import ArgumentParser, Namespace
  from collections.abc import Sequence, Set
  from logging import Handler
  from pathlib import Path
  from typing import TYPE_CHECKING, NamedTuple
  import pluggy
  from ocrmypdf import Executor, PdfContext
  from ocrmypdf._progressbar import ProgressBar
  from ocrmypdf.helpers import Resolution
label_desc: Use image node_id 5 for calling the OcrEngine obj's underlying member method code with example usage: obj.get_orientation(input_file, options) without return types