Skip to content

OpenCV

A set of libraries for computer vision applications


OpenCV is a library for computer vision applications. The library is capable of leveraging massively parallel and heterogeneous computing platforms simply and easily. OpenCV contains more than 2,500 different algorithms related to computer vision, image processing, motion analysis, and more.

There are bindings available for many popular libraries including (but not limited to) C++, Java, Python, and MATLAB. For detailed usage information, refer to the vendor documentation.

Using OpenCV on RCC resources#

OpenCV is available on the HPC systems without first loading an environment module. From one of our login nodes, run:

$ opencv_version
3.4.6

To run OpenCV with its, you will need to load one of the OpenMPI environment modules:

1
2
3
$ module load intel openmpi # (1)
# -- or --
$ module load gnu openmpi
  1. For more information about OpenMPI, see our documentation page.

Installing OpenCV in a Conda environment#

If you need any of the newest OpenCV features, you can install it via Conda:

1
2
3
4
5
6
$ conda create -n my_opencv_app
$ conda activate my_opencv_app
$ conda install opencv
# Complete installation steps
$ conda list | grep 
opencv                    4.6.0           py311hba01205_3