# Tutorial: Install OpenCV C++

## Tutorial: Install OpenCV C++ (Win OS)

###

### Step 1. Install Visual Studio Community 2022

higher version is also acceptable

> Install Visual Studio Community. It is NOT Visual Studio CODE !!!

{% content-ref url="../../installation-guide/ide/visual-studio-community" %}
[visual-studio-community](../../installation-guide/ide/visual-studio-community)
{% endcontent-ref %}

### Step 2. Install OpenCV 4.9.0 (or higher)

{% content-ref url="../../installation-guide/opencv/opencv-install" %}
[opencv-install](../../installation-guide/opencv/opencv-install)
{% endcontent-ref %}

> OpenCV 3.x is also acceptable

### Step 3. Create an OpenCV Project

{% content-ref url="tutorial-create-opencv-project" %}
[tutorial-create-opencv-project](tutorial-create-opencv-project)
{% endcontent-ref %}



### **Step 4. Assignment**

Submit the result images of Demo#1 and Demo #2 in **Step3** in LMS.

You can capture the images and submit as PDF.



## For Mac OS users

{% content-ref url="../../installation-guide/opencv/opencv-install/macos-opencv-c++-in-xcode" %}
[macos-opencv-c++-in-xcode](../../installation-guide/opencv/opencv-install/macos-opencv-c++-in-xcode)
{% endcontent-ref %}

> Window OS is recommended for this course.
>
> You can use Visual Studio Code (MacOS) for C++ programming, but it is not recommended because you need to compile and run separately.
