Skip to content

Commit 844bec7

Browse files
Update centerface.py
1 parent b3f12a3 commit 844bec7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

musicalgestures/_centerface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def __init__(self, landmarks=True):
1111
module_path = os.path.abspath(os.path.dirname(musicalgestures.__file__))
1212

1313
self.landmarks = landmarks
14-
self.net = cv2.dnn.readNetFromONNX(module_path + 'models/centerface.onnx')
14+
self.net = cv2.dnn.readNetFromONNX(module_path + '/models/centerface.onnx')
1515
self.img_h_new, self.img_w_new, self.scale_h, self.scale_w = 0, 0, 0, 0
1616

1717
def __call__(self, img, height, width, threshold=0.5):

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
setup(
1313
name='musicalgestures',
1414
packages=['musicalgestures'],
15-
version='v1.2.12',
15+
version='v1.2.13',
1616
license='GNU General Public License v3 (GPLv3)',
1717
description='Musical Gestures Toolbox for Python',
1818
long_description=README,
@@ -23,7 +23,7 @@
2323
author='University of Oslo fourMs Lab',
2424
author_email='a.r.jensenius@imv.uio.no',
2525
url='https://github.com/fourMs/MGT-python',
26-
download_url='https://github.com/fourMs/MGT-python/archive/v1.2.12.tar.gz',
26+
download_url='https://github.com/fourMs/MGT-python/archive/v1.2.13.tar.gz',
2727
keywords=['Computer Vision', 'Motion Analysis',
2828
'Musical Gestures', 'Video-Analysis'],
2929
install_requires=[

0 commit comments

Comments
 (0)