diff options
| author | adamhrv <adam@ahprojects.com> | 2018-12-16 01:03:07 +0100 |
|---|---|---|
| committer | adamhrv <adam@ahprojects.com> | 2018-12-16 01:03:07 +0100 |
| commit | a52dc6f8edc4e5d00e7c05e34c6c6fe6252ec2bd (patch) | |
| tree | 98f6bdfc1985590cf5db0580bf0a18eed6198656 /megapixels/app/processors/face_mesh.py | |
| parent | 82b2c0b5d6d7baccbe4d574d96e18fe2078047d7 (diff) | |
add Dataset model, stub face_*analsysi
Diffstat (limited to 'megapixels/app/processors/face_mesh.py')
| -rw-r--r-- | megapixels/app/processors/face_mesh.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/megapixels/app/processors/face_mesh.py b/megapixels/app/processors/face_mesh.py new file mode 100644 index 00000000..2d3deb4f --- /dev/null +++ b/megapixels/app/processors/face_mesh.py @@ -0,0 +1,27 @@ +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 FaceMesh3D: + + # Estimates 3D face mesh + + def __init__(self): + self.log = logger_utils.Logger.getLogger() + pass + + + def mesh(self): + return [1,2,3,4,100]
\ No newline at end of file |
