File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,10 @@ Installation and Usage
2828
2929``import cv2 ``
3030
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+
31355. Read `OpenCV documentation <http://docs.opencv.org/ >`__
3236
33376. 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
2828
2929``import cv2 ``
3030
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+
31355. Read `OpenCV documentation <http://docs.opencv.org/ >`__
3236
33376. 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