From 3507191a236c6a9d246aa6ecbebf4d3eedf39d97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Thu, 15 Dec 2022 09:18:45 +0100 Subject: [PATCH] feat: bodyparts module file --- src/bodyparts/__init__.py | 8 ++++++++ src/environment.py | 8 +------- 2 files changed, 9 insertions(+), 7 deletions(-) create mode 100644 src/bodyparts/__init__.py diff --git a/src/bodyparts/__init__.py b/src/bodyparts/__init__.py new file mode 100644 index 0000000..761faba --- /dev/null +++ b/src/bodyparts/__init__.py @@ -0,0 +1,8 @@ +from .body import Body +from .crown import Crown +from .ear import Ear +from .eye import Eye +from .head import Head +from .moustache import Moustache +from .mouth import Mouth +from .test import Test diff --git a/src/environment.py b/src/environment.py index c722504..acbf969 100644 --- a/src/environment.py +++ b/src/environment.py @@ -4,13 +4,7 @@ import cv2 import mediapipe as mp import pygame as pg -from bodyparts.body import Body -from bodyparts.crown import Crown -from bodyparts.ear import Ear -from bodyparts.eye import Eye -from bodyparts.head import Head -from bodyparts.moustache import Moustache -from bodyparts.mouth import Mouth +from bodyparts import Body, Crown, Ear, Eye, Head, Moustache, Mouth, Test from utils import landmark3vec