8000 fix haarcascades path · chenhh0/opencv-python@1f2328a · GitHub
[go: up one dir, main page]

Skip to content

Commit 1f2328a

Browse files
committed
fix haarcascades path
1 parent 6d654f9 commit 1f2328a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def main():
8383
['python/([^/]+/){1,2}cv2[^/]*%(ext)s' % {'ext': re.escape(sysconfig.get_config_var('SO'))}],
8484

8585
'cv2.data': [ # OPENCV_OTHER_INSTALL_PATH
86-
('etc' if os.name == 'nt' else 'share/OpenCV') +
86+
('etc' if os.name == 'nt' else 'share/opencv4/') +
8787
r'/haarcascades/.*\.xml'
8888
]
8989
}

0 commit comments

Comments
 (0)
0