import os from os.path import join from pathlib import Path import math import cv2 as cv import numpy as np import imutils from app.utils import im_utils, logger_utils from app.models.bbox import BBox from app.settings import app_cfg as cfg from app.settings import types class FaceEmotion: # Estimates face age def __init__(self, gpu=0): self.log = logger_utils.Logger.getLogger() pass def emotion(self, im, bbox_dim): self.log.warn('not yet implemented') return 0.0