September 2015
Intermediate to advanced
266 pages
5h 38m
English
Running a few sample scripts is a good way to test whether OpenCV is correctly set up. The samples are included in OpenCV's source code archive.
On Windows, we should have already downloaded and unzipped OpenCV's self-extracting ZIP. Find the samples in <unzip_destination>/opencv/samples.
On Unix-like systems, including Mac, download the source code archive from https://github.com/Itseez/opencv/archive/3.0.0.zip and unzip it to any location (if we have not already done so). Find the samples in <unzip_destination>/OpenCV-3.0.0/samples.
Some of the sample scripts require command-line arguments. However, the following scripts (among others) should work without any arguments:
python/camera.py: This script displays a webcam feed (assuming ...Read now
Unlock full access