From 844bec7eabe64359ecadddb5455dbe54c9a05e97 Mon Sep 17 00:00:00 2001 From: JP+ <63192177+joachimpoutaraud@users.noreply.github.com> Date: Sun, 20 Mar 2022 19:38:28 +0100 Subject: [PATCH] Update centerface.py --- musicalgestures/_centerface.py | 2 +- setup.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/musicalgestures/_centerface.py b/musicalgestures/_centerface.py index cd04d87..584d642 100644 --- a/musicalgestures/_centerface.py +++ b/musicalgestures/_centerface.py @@ -11,7 +11,7 @@ def __init__(self, landmarks=True): module_path = os.path.abspath(os.path.dirname(musicalgestures.__file__)) self.landmarks = landmarks - self.net = cv2.dnn.readNetFromONNX(module_path + 'models/centerface.onnx') + self.net = cv2.dnn.readNetFromONNX(module_path + '/models/centerface.onnx') self.img_h_new, self.img_w_new, self.scale_h, self.scale_w = 0, 0, 0, 0 def __call__(self, img, height, width, threshold=0.5): diff --git a/setup.py b/setup.py index 1948d53..7c31d13 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ setup( name='musicalgestures', packages=['musicalgestures'], - version='v1.2.12', + version='v1.2.13', license='GNU General Public License v3 (GPLv3)', description='Musical Gestures Toolbox for Python', long_description=README, @@ -23,7 +23,7 @@ author='University of Oslo fourMs Lab', author_email='a.r.jensenius@imv.uio.no', url='https://github.com/fourMs/MGT-python', - download_url='https://github.com/fourMs/MGT-python/archive/v1.2.12.tar.gz', + download_url='https://github.com/fourMs/MGT-python/archive/v1.2.13.tar.gz', keywords=['Computer Vision', 'Motion Analysis', 'Musical Gestures', 'Video-Analysis'], install_requires=[