# Setup OpenCV on Windows

### Setup virtualenv in your workspace

Once you activate the virtual environment, you should see (venv) appear before C:\your_workspace>

### Test OpenCV Installation

Create a new file main.py and write the following command

Run the file in command line with

# Setup OpenCV on macOS/Linux

### Setup virtualenv in your workspace

Once you activate the virtual environment, you should see (venv) appear before \$. You can verify the python version inside virtual environment with

### Test OpenCV Installation

Create a new file main.py and write the following command

Run the file in command line with