COSC470

Running the OpenCV Test

The following commands should work from any of the standard lab Macs:

  1. Copy the OpenCVTest directory:
    cp -r ~steven/Public/COSC470/OpenCVTest .
  2. Change into the directory you just copied:
    cd OpenCVTest
  3. Compile the program:
    make
  4. Update your paths to include the OpenCV libraries:
    source setPath.sh
  5. Run the test program:
    ./ocvTest

You should see a window come up with a white circle against a red background. If you select this window then precss any key, the program will exit.