media-libs/opencv (gentoo)

Search

Package Information

Description:
OpenCV (Open Source Computer Vision) is a library of programming functions mainly aimed at real time computer vision. Example applications of the OpenCV library are Human-Computer Interaction (HCI); Object Identification, Segmentation and Recognition; Face Recognition; Gesture Recognition; Motion Tracking, Ego Motion, Motion Understanding; Structure From Motion (SFM); and Mobile Robotics.
Homepage:
https://opencv.org

Versions

Version EAPI Keywords Slot
4.12.0-r1 8 amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 0/4.12.0-r1
4.11.0-r1 8 amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86 0/4.11.0-r1

Metadata

Description

Maintainers

Upstream

Raw Metadata XML
<pkgmetadata>
	<maintainer type="person" proxied="yes">
		<email>negril.nx+gentoo@gmail.com</email>
		<name>Paul Zander</name>
	</maintainer>
	<maintainer type="project" proxied="proxy">
		<email>proxy-maint@gentoo.org</email>
		<name>Proxy Maintainers</name>
	</maintainer>
	<longdescription>
	OpenCV (Open Source Computer Vision) is a library of programming functions mainly aimed at real time computer vision.
	Example applications of the OpenCV library are Human-Computer Interaction (HCI); Object Identification, Segmentation and Recognition;
	Face Recognition; Gesture Recognition; Motion Tracking, Ego Motion, Motion Understanding; Structure From Motion (SFM); and Mobile Robotics.
	</longdescription>
	<use>
		<flag name="atlas">Use <pkg>sci-libs/atlas</pkg> for blas, lapack and sparse blas routines (Experimental!)</flag>
		<flag name="contrib">Install user contributed scripts from opencv_contrib (Experimental!)</flag>
		<flag name="contribcvv">Enable CVV in contrib</flag>
		<flag name="contribdnn" restrict="&gt;media-libs/opencv-4.11">Enable DNN module contrib (requires tinydnn)</flag>
		<flag name="contribdnn" restrict="&lt;media-libs/opencv-4.11">Enable DNN module</flag>
		<flag name="contribfreetype">Enable Drawing UTF-8 strings with <pkg>media-libs/freetype</pkg>&amp;<pkg>media-libs/harfbuzz</pkg></flag>
		<flag name="contribhdf">Enable HDF module (requires <pkg>sci-libs/hdf5</pkg>)</flag>
		<flag name="contribovis">Enable OGRE vision module support (<pkg>dev-games/ogre</pkg>)</flag>
		<flag name="contribsfm">Enable SFM module (requires USE="eigen gflags glog")</flag>
		<flag name="contribxfeatures2d" restrict="&gt;media-libs/opencv-4.8.1-r1">Enable xfeatures2d in contrib</flag>
		<flag name="contribxfeatures2d" restrict="&lt;=media-libs/opencv-4.8.1">Enables xfeatures2d and autodownload of samples in contrib</flag>
		<flag name="cuda">Enable NVIDIA Cuda computations support (Experimental!)</flag>
		<flag name="cudnn">Enable support for nVidia cuDNN library</flag>
		<flag name="dnnsamples">Enable dnn caffeemodel samples</flag>
		<flag name="eigen">Enable usage of <pkg>dev-cpp/eigen</pkg> for computations</flag>
		<flag name="features2d">Enable features2d module</flag>
		<flag name="gdal">Enable support for <pkg>sci-libs/gdal</pkg> library</flag>
		<flag name="gflags">Use Google's C++ argument parsing library (<pkg>dev-cpp/gflags</pkg>)</flag>
		<flag name="glog">Use Google's C++ logging library (<pkg>dev-cpp/glog</pkg>)</flag>
		<flag name="gtk3">Enable <pkg>x11-libs/gtk+</pkg>:3 support</flag>
		<flag name="jasper">Use <pkg>media-libs/jasper</pkg> for jpeg2k support</flag>
		<flag name="mkl">Use <pkg>sci-libs/mkl</pkg> for blas, lapack and sparse blas routines</flag>
		<flag name="non-free">Enable non-free components</flag>
		<flag name="opencvapps">Enable compilation with opencvapps</flag>
		<flag name="openni">Adds support for Kinect-like 3D sensors devices with <pkg>dev-libs/OpenNI</pkg></flag>
		<flag name="openni2">Adds support for Kinect-like 3D sensors devices with <pkg>dev-libs/OpenNI2</pkg> (should be preferred over openni)</flag>
		<flag name="quirc">Enable qrcode decoding via <pkg>media-libs/quirc</pkg></flag>
		<flag name="spng">Use <pkg>media-libs/libspng</pkg> for png support</flag>
		<flag name="tbb">Enable multithreading with the Intel Threads Building Block (<pkg>dev-cpp/tbb</pkg>)</flag>
		<flag name="tesseract">Use Google's OCR Engine</flag>
		<flag name="testprograms">Build and install programs for testing OpenCV (performance)</flag>
		<flag name="truetype">Enable <pkg>media-libs/freetype</pkg> support for gapi module</flag>
		<flag name="video_cards_intel">Enable Video Acceleration API for hardware decoding for Intel cards</flag>
		<flag name="vtk">Build new 3D visualization module viz based on <pkg>sci-libs/vtk</pkg></flag>
		<flag name="vulkan">Enable experimental Vulkan backend</flag>
		<flag name="wechat-qrcode">Enable wechat_qrcode module</flag>
	</use>
	<upstream>
		<changelog>https://github.com/opencv/opencv/wiki/ChangeLog</changelog>
		<doc>https://docs.opencv.org</doc>
		<remote-id type="cpe">cpe:/a:opencv:opencv</remote-id>
		<remote-id type="github">opencv/opencv</remote-id>
		<remote-id type="github">opencv/opencv_contrib</remote-id>
		<remote-id type="github">opencv/opencv_3rdparty</remote-id>
		<remote-id type="sourceforge">opencvlibrary</remote-id>
	</upstream>
</pkgmetadata>

Lint Warnings

USE Flags

Flag Description 4.12.0-r1 4.11.0-r1
${CPU_FEATURES_MAP[*]%:*} ⚠️
atlas Use <pkg>sci-libs/atlas</pkg> for blas, lapack and sparse blas routines (Experimental!)
avif Add AV1 Image Format (AVIF) support
contrib Install user contributed scripts from opencv_contrib (Experimental!)
contribcvv Enable CVV in contrib
contribdnn Enable DNN module contrib (requires tinydnn)
contribfreetype Enable Drawing UTF-8 strings with <pkg>media-libs/freetype</pkg>&amp;<pkg>media-libs/harfbuzz</pkg>
contribhdf Enable HDF module (requires <pkg>sci-libs/hdf5</pkg>)
contribovis Enable OGRE vision module support (<pkg>dev-games/ogre</pkg>)
contribsfm Enable SFM module (requires USE="eigen gflags glog")
contribxfeatures2d Enable xfeatures2d in contrib
cuda Enable NVIDIA Cuda computations support (Experimental!)
cudnn Enable support for nVidia cuDNN library
debug Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
dnnsamples Enable dnn caffeemodel samples
doc Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
eigen Enable usage of <pkg>dev-cpp/eigen</pkg> for computations
examples Install examples, usually source code
features2d Enable features2d module
ffmpeg Enable ffmpeg/libav-based audio/video codec support
gdal Enable support for <pkg>sci-libs/gdal</pkg> library
gflags Use Google's C++ argument parsing library (<pkg>dev-cpp/gflags</pkg>)
gif Add GIF image support
glog Use Google's C++ logging library (<pkg>dev-cpp/glog</pkg>)
gphoto2 Add digital camera support
gstreamer Add support for media-libs/gstreamer (Streaming media)
gtk3 Enable <pkg>x11-libs/gtk+</pkg>:3 support
ieee1394 Enable FireWire/iLink IEEE1394 support (dv, camera, ...)
jasper Use <pkg>media-libs/jasper</pkg> for jpeg2k support
java Add support for Java
jpeg Add JPEG image support
jpeg2k Support for JPEG 2000, a wavelet-based image compression format
lapack Add support for the virtual/lapack numerical library
mkl Use <pkg>sci-libs/mkl</pkg> for blas, lapack and sparse blas routines
non-free Enable non-free components
opencl Enable OpenCL support (computation on GPU)
opencvapps Enable compilation with opencvapps
openexr Support for the OpenEXR graphics file format
opengl Add support for OpenGL (3D graphics)
openmp Build support for the OpenMP (support parallel computing), requires >=sys-devel/gcc-4.2 built with USE="openmp"
openni Adds support for Kinect-like 3D sensors devices with <pkg>dev-libs/OpenNI</pkg>
openni2 Adds support for Kinect-like 3D sensors devices with <pkg>dev-libs/OpenNI2</pkg> (should be preferred over openni)
png Add support for libpng (PNG images)
python Add optional support/bindings for the Python language
qt6 Add support for the Qt 6 application and UI framework
quirc Enable qrcode decoding via <pkg>media-libs/quirc</pkg>
spng Use <pkg>media-libs/libspng</pkg> for png support
tbb Enable multithreading with the Intel Threads Building Block (<pkg>dev-cpp/tbb</pkg>)
tesseract Use Google's OCR Engine
test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
testprograms Build and install programs for testing OpenCV (performance)
tiff Add support for the TIFF image format
truetype Enable <pkg>media-libs/freetype</pkg> support for gapi module
v4l Enable support for video4linux (using linux-headers or userspace libv4l libraries)
vaapi Enable Video Acceleration API for hardware decoding
video_cards_intel Enable Video Acceleration API for hardware decoding for Intel cards
vtk Build new 3D visualization module viz based on <pkg>sci-libs/vtk</pkg>
vulkan Enable experimental Vulkan backend
wayland Enable dev-libs/wayland backend
webp Add support for the WebP image format
wechat-qrcode Enable wechat_qrcode module
xine Add support for the XINE movie libraries

Files

Manifest

Type File Size Versions
DIST NVIDIAOpticalFlowSDK-edb50da3cf849840d680249aa6dbef248ebce2ca.tar.gz 8771 bytes 4.12.0-r1, 4.11.0-r1
DIST ade-0.1.2e.tar.gz 117054 bytes 4.12.0-r1, 4.11.0-r1
DIST opencv_3rdparty-34e4206aef44d50e6bbcd0ab06354b52e7466d26.tar.gz 397901 bytes 4.12.0-r1, 4.11.0-r1
DIST opencv_3rdparty-8afa57abc8229d611c4937165d20e2a2d9fc5a12.tar.gz 63301261 bytes 4.12.0-r1, 4.11.0-r1
DIST opencv_3rdparty-a8b69ccc738421293254aec5ddb38bd523503252.tar.gz 920403 bytes 4.12.0-r1, 4.11.0-r1
DIST opencv_3rdparty-b2bfc75f6aea5b1f834ff0f0b865a7c18ff1459f.tar.gz 10036903 bytes 4.12.0-r1, 4.11.0-r1
DIST opencv_3rdparty-fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d.tar.gz 1470898 bytes 4.12.0-r1, 4.11.0-r1
DIST opencv_contrib-4.10.0-3607.patch 29870 bytes 4.12.0-r1, 4.11.0-r1
DIST yunet-202303.onnx 232589 bytes 4.12.0-r1, 4.11.0-r1
Unmatched Entries
Type File Size
DIST opencv-4.11.0.tar.gz 95051012 bytes
DIST opencv-4.12.0-fix_videowriter_raw_return_code.patch 2463 bytes
DIST opencv-4.12.0.tar.gz 95254890 bytes
DIST opencv_contrib-4.11.0.tar.gz 55450097 bytes
DIST opencv_contrib-4.12.0.tar.gz 55475555 bytes
DIST opencv_extra-4.11.0.tar.gz 505587850 bytes
DIST opencv_extra-4.12.0.tar.gz 505622881 bytes