OpenCV/en: Difference between revisions

Updating to match new version of source page
(Updating to match new version of source page)
(Updating to match new version of source page)
 
Line 4: Line 4:
== CUDA ==
== CUDA ==
OpenCV is also available with CUDA.
OpenCV is also available with CUDA.
{{Command|module load gcc/9.3.0 cuda/11.4 opencv}}
{{Command|module load gcc cuda opencv/X.Y.Z}}
where <TT>X.Y.Z</TT> represent the desired version.


== Extra modules ==
== Extra modules ==
Line 12: Line 13:
The module contains bindings for multiple Python versions.  
The module contains bindings for multiple Python versions.  
To discover which are the compatible Python versions, run
To discover which are the compatible Python versions, run
{{Command|module spider opencv/4.5.5}}
{{Command|module spider opencv/X.Y.Z}}
Or search directly <i>opencv_python</i>, by running
Or search directly <i>opencv_python</i>, by running
{{Command|module spider opencv_python/4.5.5}}
{{Command|module spider opencv_python/X.Y.Z}}
where <TT>X.Y.Z</TT> represent the desired version.


=== Usage ===
=== Usage ===
1. Load the required modules.
1. Load the required modules.
{{Command|module load gcc/9.3.0 opencv python scipy-stack}}
{{Command|module load gcc opencv/X.Y.Z python scipy-stack}}
where <TT>X.Y.Z</TT> represent the desired version.


2. Import OpenCV.
2. Import OpenCV.
38,897

edits