Ask Your Question

Revision history [back]

Path I took:

The OpenCV.org offers this free tutorial set for your version https://docs.opencv.org/4.0.1/d9/df8/tutorial_root.html

Path I took:

  • Install OpenCV (non-virtual environment in my case) following: Option A: Install OpenCV to your Raspberry Pi system with pip

  • Purchased the book (only) "Practical Python and OpenCV"

  • (Before trying face-detection examples: Check your variable cv2.data.haarcascades, and then check that you have the .../cv2/data/haarcascades/ folder and the other example data. If not, download your version zip from https://github.com/opencv/opencv/archive/ and fix your installation or use full path to where you put the data.)

The OpenCV.org offers this free tutorial set for your version https://docs.opencv.org/4.0.1/d9/df8/tutorial_root.html

Path I took:

  • Install OpenCV (non-virtual environment in my case) following: Option A: Install OpenCV to your Raspberry Pi system with pip

  • Purchased the book (only) "Practical Python and OpenCV"

  • (Before trying face-detection examples: Check your variable cv2.data.haarcascades, and then check that you have the .../cv2/data/haarcascades/ folder and the other example data. If not, download your version zip from https://github.com/opencv/opencv/archive/ and fix your installation or use full path to where you put the data.)

The OpenCV.org offers this free tutorial set for your version https://docs.opencv.org/4.0.1/d9/df8/tutorial_root.htmlhttps://docs.opencv.org/4.0.1/d6/d00/tutorial_py_root.html