summaryrefslogtreecommitdiff
path: root/megapixels/app/utils/draw_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'megapixels/app/utils/draw_utils.py')
-rw-r--r--megapixels/app/utils/draw_utils.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/megapixels/app/utils/draw_utils.py b/megapixels/app/utils/draw_utils.py
index f6d53609..47bb7978 100644
--- a/megapixels/app/utils/draw_utils.py
+++ b/megapixels/app/utils/draw_utils.py
@@ -49,17 +49,3 @@ def draw_degrees(im, pose_data, color=(0,255,0)):
t = '{}: {:.2f}'.format(k, v)
origin = (10, 30 + (25 * i))
cv.putText(im, t, origin, cv.FONT_HERSHEY_SIMPLEX, 0.5, clr, thickness=2, lineType=2)
-
-
-# ---------------------------------------------------------------------------
-#
-# Matplotlib drawing functions
-#
-# ---------------------------------------------------------------------------
-
-def plot_landmarks3D(im, points, radius=3, color=(0,255,0), stroke_weight=2):
- '''Draws facial landmarks, either 5pt or 68pt
- '''
- for pt in points:
- cv.circle(im, tuple(pt), radius, color, -1, cv.LINE_AA)
-