Installing OpenCV - wtepfenhart/BioSimVis GitHub Wiki

Purpose

This procedure explains the steps to install Python utility OpenCV for visual facial recognition.

What is OpenCV?

OpenCV stands for Open Source Computer Vision. It is a library of programming functions targeted at real-time computer vision. The open source library supports multiple programming language such as C++, Python, java, MathLab, Octave and multiple Operating System platforms. The library is cross-platform and free for use under the open-source BSD license.

We are focusing on Python on Ubuntu and Windows for this project.

OpenCV installation on Windows

Set OpenCV environmental variables and system path:

  • Open Command Prompt as Administrator

setx -m OPENCV_DIR C:\User\JohnSmith\OpenCV\Build\x64\vc15

You should see the following message when installed successful.

SUCCESS: Specified value was saved.

-HH