media-libs/opencv (mim)

Search

Install

Install this package:

emerge -a media-libs/opencv

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
License:
Apache-2.0

Versions

Version EAPI Keywords Slot
4.10.0 8 ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 0/4.10.0

Metadata

Description

Maintainers

Upstream

Raw Metadata XML
<pkgmetadata>
	<maintainer type="person">
		<email>aliaksei.urbanski@gmail.com</email>
		<name>Aliaksei Urbanski</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</flag>
		<flag name="contrib">Install user contributed scripts from opencv_contrib (Experimental!)</flag>
		<flag name="contribcvv">Enable CVV in contrib (requires Qt5)</flag>
		<flag name="contribdnn">Enable DNN module contrib (requires tinydnn)</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="quirc">Enable qrcode decoding via <pkg>media-libs/quirc</pkg></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="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>
	</use>
	<upstream>
		<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

Manage flags for this package: euse -i <flag> -p media-libs/opencv | euse -E <flag> -p media-libs/opencv | euse -D <flag> -p media-libs/opencv

Flag Description 4.10.0
( ⚠️ ✓
atlas Use <pkg>sci-libs/atlas</pkg> for blas, lapack and sparse blas routines ✓
avif ⚠️ ✓
contrib Install user contributed scripts from opencv_contrib (Experimental!) ✓
contribcvv Enable CVV in contrib (requires Qt5) ✓
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 ✓
cpu_flags_arm_neon ⚠️ ✓
cuda Enable NVIDIA Cuda computations support (Experimental!) ✓
cudnn Enable support for nVidia cuDNN library ✓
debug ⚠️ ✓
dnnsamples Enable dnn caffeemodel samples ✓
doc ⚠️ ✓
eigen Enable usage of <pkg>dev-cpp/eigen</pkg> for computations ⊕
examples Install source code examples ⚠️ ✓
features2d Enable features2d module ⊕
ffmpeg ⚠️ ⊕
gdal Enable support for <pkg>sci-libs/gdal</pkg> library ✓
gflags Use Google's C++ argument parsing library (<pkg>dev-cpp/gflags</pkg>) ✓
glog Use Google's C++ logging library (<pkg>dev-cpp/glog</pkg>) ✓
gphoto2 ⚠️ ✓
gstreamer ⚠️ ✓
gtk3 Enable <pkg>x11-libs/gtk+</pkg>:3 support ✓
ieee1394 ⚠️ ✓
jasper Use <pkg>media-libs/jasper</pkg> for jpeg2k support ✓
java ⚠️ ✓
jpeg ⚠️ ✓
jpeg2k ⚠️ ✓
lapack ⚠️ ✓
mkl Use <pkg>sci-libs/mkl</pkg> for blas, lapack and sparse blas routines ✓
non-free Enable non-free components ✓
opencl Enable the Rusticl Gallium OpenCL state tracker. ⚠️ ✓
opencvapps Enable compilation with opencvapps ✓
openexr ⚠️ ✓
opengl Enable OpenGL library and plugin via desktop OpenGL API ⚠️ ✓
openmp ⚠️ ✓
png ⚠️ ✓
python Enable support for Python API bindings ⚠️ ⊕
qt5 ⚠️ ✓
qt6 ⚠️ ✓
quirc Enable qrcode decoding via <pkg>media-libs/quirc</pkg> ✓
tbb Enable multithreading with the Intel Threads Building Block (<pkg>dev-cpp/tbb</pkg>) ✓
tesseract Use Google's OCR Engine ✓
test Build the test programs (requires <pkg>sys-libs/zlib</pkg>) ⚠️ ✓
testprograms Build and install programs for testing OpenCV (performance) ✓
tiff ⚠️ ✓
v4l ⚠️ ✓
vaapi ⚠️ ✓
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> ✓
webp ⚠️ ✓
xine ⚠️ ✓

Files

Manifest

Type File Size Versions
DIST NVIDIAOpticalFlowSDK-edb50da3cf849840d680249aa6dbef248ebce2ca.tar.gz 8771 bytes 4.10.0
DIST ade-0.1.2d.tar.gz 117027 bytes 4.10.0
DIST opencv-4.10.0.tar.gz 94993429 bytes 4.10.0
DIST opencv_3rdparty-34e4206aef44d50e6bbcd0ab06354b52e7466d26.tar.gz 397901 bytes 4.10.0
DIST opencv_3rdparty-8afa57abc8229d611c4937165d20e2a2d9fc5a12.tar.gz 63301261 bytes 4.10.0
DIST opencv_3rdparty-a8b69ccc738421293254aec5ddb38bd523503252.tar.gz 920403 bytes 4.10.0
DIST opencv_3rdparty-b2bfc75f6aea5b1f834ff0f0b865a7c18ff1459f.tar.gz 10036903 bytes 4.10.0
DIST opencv_3rdparty-fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d.tar.gz 1470898 bytes 4.10.0
DIST opencv_contrib-4.10.0.tar.gz 55387316 bytes 4.10.0
DIST opencv_extra-4.10.0.tar.gz 504349887 bytes 4.10.0
Unmatched Entries
Type File Size
AUX opencv-3.4.0-disable-download.patch 1050 bytes
AUX opencv-3.4.1-cuda-add-relaxed-constexpr.patch 707 bytes
AUX opencv-4.1.2-opencl-license.patch 519 bytes
AUX opencv-4.10.0-cuda-fp16.patch 5302 bytes
AUX opencv-4.10.0-cudnn-9.patch 1761 bytes
AUX opencv-4.4.0-disable-native-cpuflag-detect.patch 1218 bytes
AUX opencv-4.5.0-link-with-cblas-for-lapack.patch 726 bytes
AUX opencv-4.8.1-use-system-flatbuffers.patch 1522 bytes
AUX opencv-4.8.1-use-system-opencl.patch 933 bytes
AUX opencv-4.9.0-ade-0.1.2d.tar.gz.patch 652 bytes
AUX opencv-4.9.0-cmake-cleanup.patch 1298 bytes
AUX opencv-4.9.0-drop-python2-detection.patch 3270 bytes
AUX opencv_contrib-4.8.1-NVIDIAOpticalFlowSDK-2.0.tar.gz.patch 1158 bytes
AUX opencv_contrib-4.8.1-rgbd.patch 477 bytes
EBUILD opencv-4.10.0.ebuild 37137 bytes
MISC metadata.xml 3578 bytes