import json
from typing import List


def load_encoding(path: str) -> List[str]:
    """
    Load character table from OCR engine configuration
    :param path: Path to OCR engine config file.
    :return: array containing characters from encoding
    """
    with open(path, "r") as f:
        engine = json.load(f)
    return engine['characters']