Skip to content

Commit 5aad8e1

Browse files
committed
Fix path to opencv 5.x for haarcascades
1 parent 3336f67 commit 5aad8e1

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
@@ -109,7 +109,7 @@ def main():
109109
r"python/cv2/.*config.*.py"
110110
],
111111
"cv2.data": [ # OPENCV_OTHER_INSTALL_PATH
112-
("etc" if os.name == "nt" else "share/opencv4") + r"/haarcascades/.*\.xml"
112+
("etc" if os.name == "nt" else "share/opencv5") + r"/haarcascades/.*\.xml"
113113
],
114114
"cv2.gapi": [
115115
"python/cv2" + r"/gapi/.*\.py"

0 commit comments

Comments
 (0)