File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,10 @@ Installation and Usage
28
28
29
29
``import cv2 ``
30
30
31
+ The package contains haarcascade files. ``cv2.data.haarcascades `` can be used as a shortcut to the data folder. For example:
32
+
33
+ ``cv2.CascadeClassifier(cv2.data.haarcascades + "haarcascade_frontalface_default.xml") ``
34
+
31
35
5. Read `OpenCV documentation <http://docs.opencv.org/ >`__
32
36
33
37
6. Before opening a new issue, read the FAQ below and have a look at the other issues which are already open.
Original file line number Diff line number Diff line change @@ -28,6 +28,10 @@ Installation and Usage
28
28
29
29
``import cv2 ``
30
30
31
+ The package contains haarcascade files. ``cv2.data.haarcascades `` can be used as a shortcut to the data folder. For example:
32
+
33
+ ``cv2.CascadeClassifier(cv2.data.haarcascades + "haarcascade_frontalface_default.xml") ``
34
+
31
35
5. Read `OpenCV documentation <http://docs.opencv.org/ >`__
32
36
33
37
6. Before opening a new issue, read the FAQ below and have a look at the other issues which are already open.
You can’t perform that action at this time.
0 commit comments