from __future__ import annotations import numpy as np import cv2 from PIL import Image try: from .utils import * except: from utils import * HTML_TEMPLATES = {"resolution": """