Skip to content

Commit

Permalink
add note about haarcascades helper to readmes
Browse files Browse the repository at this point in the history
  • Loading branch information
skvark committed Dec 22, 2017
1 parent 2d0bad8 commit 72632a7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ Installation and Usage

``import cv2``

The package contains haarcascade files. ``cv2.data.haarcascades`` can be used as a shortcut to the data folder. For example:

``cv2.CascadeClassifier(cv2.data.haarcascades + "haarcascade_frontalface_default.xml")``

5. Read `OpenCV documentation <http://docs.opencv.org/>`__

6. Before opening a new issue, read the FAQ below and have a look at the other issues which are already open.
Expand Down
4 changes: 4 additions & 0 deletions README_CONTRIB.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ Installation and Usage

``import cv2``

The package contains haarcascade files. ``cv2.data.haarcascades`` can be used as a shortcut to the data folder. For example:

``cv2.CascadeClassifier(cv2.data.haarcascades + "haarcascade_frontalface_default.xml")``

5. Read `OpenCV documentation <http://docs.opencv.org/>`__

6. Before opening a new issue, read the FAQ below and have a look at the other issues which are already open.
Expand Down

0 comments on commit 72632a7

Please sign in to comment.