media-libs/opencv (bentoo)

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
5.0.0 8 ~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 0/5.0.0

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="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

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 5.0.0
( ⚠️
atlas Use <pkg>sci-libs/atlas</pkg> for blas, lapack and sparse blas routines (Experimental!)
avif ⚠️
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
cpu_flags_arm_neon ⚠️
cuda Enable NVIDIA Cuda computations support (Experimental!)
cudnn Enable support for nVidia cuDNN library
debug Enable DCHECK feature with severity configurable at runtime. Mostly intended for debugging and development, NOT RECOMMENDED for general use. ⚠️
doc ⚠️
eigen Enable usage of <pkg>dev-cpp/eigen</pkg> for computations
examples Example ufw config files ⚠️
features2d Enable features2d module
ffmpeg Link the examples against media-video/ffmpeg so they accept audio formats other than WAV ⚠️
gdal Enable support for <pkg>sci-libs/gdal</pkg> library
gflags Use Google's C++ argument parsing library (<pkg>dev-cpp/gflags</pkg>)
gif ⚠️
glog Use Google's C++ logging library (<pkg>dev-cpp/glog</pkg>)
gphoto2 ⚠️
gstreamer Enable HTML media (audio/video) playback support via GStreamer (servo/media-gstreamer feature) ⚠️
gtk3 Enable <pkg>x11-libs/gtk+</pkg>:3 support
ieee1394 ⚠️
jasper Use <pkg>media-libs/jasper</pkg> for jpeg2k support
java ⚠️
jpeg Enable jpeg image support for the VNC console server ⚠️
jpeg2k ⚠️
lapack ⚠️
mkl Use <pkg>sci-libs/mkl</pkg> for blas, lapack and sparse blas routines
non-free Enable non-free components
opencl Build an OpenCL backend, so far only works on Adreno and Intel GPUs ⚠️
opencvapps Enable compilation with opencvapps
openexr ⚠️
opengl Enable OpenGL library and plugin via desktop OpenGL API ⚠️
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 Enable png image support for the VNC console server ⚠️
python ⚠️
qt6 Enable Qt6 integration for better KDE/Qt desktop environment support. Provides native look and feel on KDE Plasma and other Qt-based desktops. ⚠️
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 Build and run the upstream test suite (requires dbus-test-runner) ⚠️
testprograms Build and install programs for testing OpenCV (performance)
tiff ⚠️
truetype Enable <pkg>media-libs/freetype</pkg> support for gapi module
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>
vulkan Enable experimental Vulkan backend
wayland Run in wayland mode under wayland sessions, xwayland otherwise. This flag doesn't affect x11 sessions. ⚠️
webp ⚠️
wechat-qrcode Enable wechat_qrcode module
xine ⚠️

Files

Manifest

Type File Size Versions
DIST NVIDIAOpticalFlowSDK-edb50da3cf849840d680249aa6dbef248ebce2ca.tar.gz 8771 bytes 5.0.0
DIST ade-0.1.2e.tar.gz 117054 bytes 5.0.0
DIST opencv-5.0.0.tar.gz 81594270 bytes 5.0.0
DIST opencv_3rdparty-34e4206aef44d50e6bbcd0ab06354b52e7466d26.tar.gz 397901 bytes 5.0.0
DIST opencv_3rdparty-8afa57abc8229d611c4937165d20e2a2d9fc5a12.tar.gz 63301261 bytes 5.0.0
DIST opencv_3rdparty-a8b69ccc738421293254aec5ddb38bd523503252.tar.gz 920403 bytes 5.0.0
DIST opencv_3rdparty-b2bfc75f6aea5b1f834ff0f0b865a7c18ff1459f.tar.gz 10036903 bytes 5.0.0
DIST opencv_3rdparty-fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d.tar.gz 1470898 bytes 5.0.0
DIST opencv_contrib-5.0.0.tar.gz 72465981 bytes 5.0.0
DIST opencv_extra-5.0.0.tar.gz 511260592 bytes 5.0.0
DIST yunet-202303.onnx 232589 bytes 5.0.0
Unmatched Entries
Type File Size