38,897
edits
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 13: | Line 13: | ||
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/4.5.5}} | ||
Or search directly | Or search directly <i>opencv_python</i>, by running | ||
{{Command|module spider opencv_python/4.5.5}} | {{Command|module spider opencv_python/4.5.5}} | ||
Line 28: | Line 28: | ||
Other Python packages depend on OpenCV bindings in order to be installed. | Other Python packages depend on OpenCV bindings in order to be installed. | ||
OpenCV provides four different packages: | OpenCV provides four different packages: | ||
* < | * <code>opencv_python</code> | ||
* < | * <code>opencv_contrib_python</code> | ||
* < | * <code>opencv_python_headless</code> | ||
* < | * <code>opencv_contrib_python_headless</code> | ||
{{Command | {{Command | ||
Line 42: | Line 42: | ||
}} | }} | ||
With the < | With the <code>opencv</code> module loaded, your package dependency for one of the OpenCV named will be satisfied. | ||
== Use with OpenEXR == | == Use with OpenEXR == | ||
In order to read EXR files with OpenCV, the module must be activated through an environment variable. | In order to read EXR files with OpenCV, the module must be activated through an environment variable. | ||
{{Command|OPENCV_IO_ENABLE_OPENEXR{{=}}1 python <file>}} | {{Command|OPENCV_IO_ENABLE_OPENEXR{{=}}1 python <file>}} |