Port details |
- opencv Open Source Computer Vision library
- 4.11.0_2 graphics
=10 4.11.0_2Version of this port present on the latest quarterly branch. - Maintainer: desktop@FreeBSD.org
 - Port Added: 2005-12-29 03:39:21
- Last Update: 2025-08-15 06:15:40
- Commit Hash: a89e6a2
- People watching this port, also watch:: dbus, xorg-fonts-truetype, libXdamage, flac, libpciaccess
- License: BSD3CLAUSE
- WWW:
- https://www.opencv.org/
- Description:
- OpenCV (Open Source Computer Vision Library) is an open source
computer vision and machine learning software library. OpenCV was
built to provide a common infrastructure for computer vision
applications and to accelerate the use of machine perception in the
commercial products. Being a BSD-licensed product, OpenCV makes it
easy for businesses to utilize and modify the code.
The library has more than 2500 optimized algorithms, which includes
a comprehensive set of both classic and state-of-the-art computer
vision and machine learning algorithms. These algorithms can be
used to detect and recognize faces, identify objects, classify human
actions in videos, track camera movements, track moving objects,
extract 3D models of objects, produce 3D point clouds from stereo
cameras, stitch images together to produce a high resolution image
of an entire scene, find similar images from an image database,
remove red eyes from images taken using flash, follow eye movements,
recognize scenery and establish markers to overlay it with augmented
reality, etc.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/graphics/opencv/ && make install clean
- To add the package, run one of these commands:
- pkg install graphics/opencv
- pkg install opencv
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: opencv
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1753904251
SHA256 (opencv-opencv-4.11.0_GH0.tar.gz) = 9a7c11f924eff5f8d8070e297b322ee68b9227e003fd600d4b8122198091665f
SIZE (opencv-opencv-4.11.0_GH0.tar.gz) = 95051012
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- cblas>0 : math/cblas
- lapacke>0 : math/lapacke
- opencl>=0 : devel/opencl
- py311-numpy>0 : math/py-numpy@py311
- videodev2.h : multimedia/v4l_compat
- vulkan-headers>0 : graphics/vulkan-headers
- cmake : devel/cmake-core
- ninja : devel/ninja
- pkgconf>=1.3.0_1 : devel/pkgconf
- eigen3.pc : math/eigen3
- gstreamer1-plugins>=1.26.5 : multimedia/gstreamer1-plugins
- python3.11 : lang/python311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- opencl>=0 : devel/opencl
- py311-numpy>0 : math/py-numpy@py311
- gstreamer1-plugins>=1.26.5 : multimedia/gstreamer1-plugins
- python3.11 : lang/python311
- Library dependencies:
-
- libfreetype.so : print/freetype2
- libharfbuzz.so : print/harfbuzz
- libhdf5.so : science/hdf5
- libdc1394.so : multimedia/libdc1394
- libceres.so : math/ceres-solver
- libgflags.so : devel/gflags
- libglog.so : devel/glog
- libgdal.so : graphics/gdal
- libgdcmMSFF.so : devel/gdcm
- libgphoto2.so : graphics/libgphoto2
- libOpenEXR.so : graphics/openexr
- libopenjp2.so : graphics/openjpeg
- libpng16.so : graphics/png
- libtiff.so : graphics/tiff
- libv4l2.so : multimedia/libv4l
- libwebp.so : graphics/webp
- libglib-2.0.so : devel/glib20
- libintl.so : devel/gettext-runtime
- libgstreamer-1.0.so : multimedia/gstreamer1
- libjpeg.so : graphics/jpeg-turbo
- libopenblas.so : math/openblas
- This port is required by:
- for Build
-
- graphics/zeno
- textproc/py-pdf2docx
-
Deleted ports which required this port:
- for Libraries
-
- astro/siril
- emulators/rpcs3
- graphics/cimg
- graphics/dbow2
- graphics/digikam
- graphics/frei0r-plugins-opencv
- graphics/gmic
-
Deleted ports which required this port:
- for Run
-
- graphics/facedetect
- graphics/py-albucore
- graphics/py-imutils
- graphics/py-qudida
- multimedia/py-PySceneDetect
- security/howdy
- textproc/py-pdf2docx
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- ===> The following configuration options are available for opencv-4.11.0_2:
EIGEN=on: Add Eigen v3 Support, builds sfm modules
GDAL=on: Add Geospatial Data Abstraction Library Support
GDCM=on: Add Open source DICOM library Support
HARDENING=off: Enables Build Hardening
JAVA=off: Enable Java Support
LTO=off: Enables Link Time Optimizations
OPENCL=on: Add OpenCL Support
PATENTED=off: Enable patented 2d feature detection USE AT OWN RISK
PROTOBUF=on: Enable protobuf support, builds dnn modules
PYTHON=on: Enable Python Support 3.6 or greater
TBB=off: Add Intel Threading Building Blocks Support
TESSERACT=off: Add Tesseract-based OCR
====> GUI (Graphical User Interface) support
GTK3=off: GTK 3 GUI toolkit support
VTK=off: Include VTK library support (build opencv_viz module)
====> Options available for the group IMAGE
AVIF=off: AV1 Image File Format via libavif
GPHOTO2=on: Add Gphoto2 Support
JPEG=on: Add LibJpeg Support
OGRE3D=off: Add OGRE support
OPENEXR=on: Add OpenEXR Support
PNG=on: Add LibPNG Support
TIFF=on: Add LibTIFF Support
====> Video support
DC1394=on: IEEE 1394 camera support
FFMPEG=off: Link with ffmpeg
GSTREAMER=on: Add GSTREAMER Support
OBSENSOR=off: Orbbec 3D camera support
V4L=on: Enable support for Video for Linux
VULKAN=on: Add Vulkan Support
WEBP=on: Add Webp Support
XINE=off: Add Xine Support
====> Options available for the single BLAS: you have to select exactly one of them
ATLAS=off: ATLAS blas implementation with lapacke
NOBLAS=off: Disable support for lapack/blas
OPENBLAS=on: OpenBLAS blas implementation with lapacke
====> Options available for the radio JPEG2K: you can only select none or one of them
JASPER=off: Add Jasper Support for JPEG2000
OPENJPEG=on: Add OpenJPEG Support for JPEG2000, OpenCV preferred
===> Use 'make config' to modify these settings
- Options name:
- graphics_opencv
- USES:
- cmake compiler:c++14-lang cpe gnome localbase:ldflags pkgconfig eigen:3 gstreamer jpeg blaslapack:openblas python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.3.1_7 10 Aug 2013 20:35:10
  |
marino  |
graphics/opencv: continue recent binutils fix
This cleans up the previous commit, and combines the LDFLAGS. It's more
logical this way, right after opencv_core is specified in LIB_DEPENDS.
Approved by: bapt/culot (mentors, implicit) |
2.3.1_7 28 Jul 2013 20:40:26
  |
bapt  |
Fix build with recent binutils |
2.3.1_7 23 May 2013 02:35:26
  |
jgh  |
- adoption of optionsNG
- convert to USES in some cases (pkgconfig,pathfix)
- trim COMMENT/historical headers in some cases
Approved by: portmgr (miwi) |
2.3.1_7 23 Apr 2013 07:00:02
  |
martymac  |
- Update devel/tbb to 4.1.3 (20130314oss) and bump dependent port's revisions
- Fix build when CC defined as gcc |
2.3.1_6 22 Mar 2013 20:06:15
  |
makc  |
- convert USE_CMAKE to USES
- while here clean up some ports from CMAKE_VERBOSE, which is intended
for users
Approved by: portmgr (miwi) |
2.3.1_6 17 Jan 2013 16:05:39
  |
swills  |
- Chase lib version changes from ilmbase and OpenEXR updates |
2.3.1_5 12 Dec 2012 07:42:35
  |
martymac  |
- Update devel/tbb to 4.1.1 and bump dependent port's PORTREVISIONs
- Remove hardcoded dependency on gcc [1]
PR: ports/171297 [1]
Submitted by: Christian Mangin <christian.mangin@gmail.com> [1] |
2.3.1_4 06 Nov 2012 17:23:08
  |
jhale  |
- Take maintainership
- Trim Makefile headers
Approved by: makc, avilla (mentors, implicit)
Feature safe: yes |
2.3.1_4 06 Nov 2012 16:42:21
  |
mm  |
Return maintainership back to ports@
Feature safe: yes |
2.3.1_4 23 Oct 2012 20:16:48
  |
mm  |
Fix build with QT4 option
PR: ports/172156
Submitted by: RyoTa SimaMoto
Feature safe: yes |
2.3.1_4 22 Jul 2012 20:51:02
 |
swills  |
- Mark MAKE_JOBS_UNSAFE since this failed with it enabled for me, multiple times
PR: ports/169606
Approved by: maintainer timeout (mm, >2 weeks) |
2.3.1_4 06 Jun 2012 06:44:38
 |
miwi  |
- Convert USE_QT_VER=4 and QT_COMPONETS to USE_QT4
Review by: bapt, David Naylor (kde team) |
2.3.1_4 01 Jun 2012 05:26:28
 |
dinoex  |
- update png to 1.5.10 |
2.3.1_3 26 Feb 2012 15:22:37
 |
nox  |
- Update multimedia/libxine to 1.2.1 with a commit merged from hg
to fix DVB support. (which still is broken for tuners using
hardware pid filtering, like when running webcamd with
"-m dvb-usb-init.force_pid_filter_usage=1".)
- Add patches to fix build of ports depending on libxine to:
audio/amarok,
graphics/gimageview [1], graphics/pornview [1],
graphics/osg [2], graphics/osg-devel [2],
multimedia/emotion,
x11/kdelibs4 [3],
multimedia/kmplayer,
multimedia/konverter,
multimedia/qdvdauthor [4],
multimedia/vdr-plugin-xineliboutput, (Only the first 15 lines of the commit message are shown above ) |
2.3.1_3 16 Jan 2012 09:46:55
 |
martymac  |
- Update devel/tbb to 4.0.0
- Bump dependent ports' revisions |
2.3.1_2 17 Dec 2011 11:42:05
 |
mm  |
Add fix from upstream for bug #1432 (Clang compilation fixes)
https://code.ros.org/trac/opencv/ticket/1432
Reported by: Roman Divacky <rdivacky@FreeBSD.org>
Obtained from: OpenCV (revision 6881) |
2.3.1_1 23 Sep 2011 22:26:39
 |
amdmi3  |
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead
PR: 157936
Submitted by: myself
Exp-runs by: pav
Approved by: pav |
2.3.1_1 20 Sep 2011 15:48:12
 |
mm  |
Fix portversion going backwards
Reported by: erwin |
2.3.1.a 18 Sep 2011 10:17:57
 |
mm  |
Update OpenCV to 2.3.1a
PR: ports/160719 |
2.3.1 22 Aug 2011 21:16:42
 |
mm  |
Change capital letter in COMMENT for python module |
2.3.1 22 Aug 2011 21:10:22
 |
mm  |
Update to 2.3.1
Prepare moving of python module to own port |
2.3.0 21 Jul 2011 20:02:41
 |
mm  |
Rename pkg-plist.core to pkg-plist.oc to prevent accidential deletion
by crontab scripts
Reported by: Thomas Abthorpe <tabthorpe@FreeBSD.org> |
2.3.0 11 Jul 2011 08:28:12
 |
mm  |
Update opencv to 2.3.0 |
2.3.0.r 29 Jun 2011 14:59:19
 |
mm  |
Remove opencv2/video from pkg-plist (it is part of opencv-core) |
2.3.0.r 29 Jun 2011 13:15:26
 |
mm  |
Remove conditions with USE_GCC (not needed anymore) |
2.3.0.r 29 Jun 2011 11:46:01
 |
mm  |
Update OpenCV to 2.3.0-rc |
2.1.0_2 24 Jun 2011 22:39:03
 |
mm  |
Bump due to ffmpeg update to 0.7.1 |
2.1.0_1 24 Mar 2011 08:20:12
 |
martymac  |
- Update devel/tbb to 3.0.5 and add a LOCAL mirror
- Bump PORTREVISIONs for dependent ports
Approved by: ehaupt (mentor) |
2.1.0 27 Aug 2010 18:16:16
 |
avilla  |
- Upgrade to 2.1.0.
- Fix build on 6.X.
- Fix build with GCC 4.5. [1]
- Fix dependency on Video4Linux. [1]
- Add LICENSE.
- Use bsd.port.options.mk.
PR: ports/148955 [1]
Submitted by: swell.k@gmail.com [1]
Approved by: tabthorpe (mentor) |
2.0.0_3 24 Jul 2010 16:38:20
 |
mm  |
- Update ffmpeg to 0.6 |
2.0.0_2 19 Apr 2010 01:37:38
 |
fluffy  |
- Really unbroke with fresh v4l support
Approved by: avilla (maintaner via irc) |
2.0.0_2 30 Mar 2010 03:14:29
 |
dinoex  |
- fix build for png-1.4.1
PR: 145122
Submitted by: Andrei V. Lavreniyuk |
2.0.0_2 28 Mar 2010 06:47:48
 |
dinoex  |
- update to 1.4.1
Reviewed by: exp8 run on pointyhat
Supported by: miwi |
2.0.0_1 05 Feb 2010 11:46:55
 |
dinoex  |
- update to jpeg-8 |
2.0.0 29 Jan 2010 23:03:23
 |
avilla  |
- Mark as broken on sparc64.
- Set correct OSVERSION for the BROKEN flag.
Approved by: tabthorpe (mentor) |
2.0.0 28 Jan 2010 22:50:40
 |
pav  |
- Mark BROKEN on 6.X
Reported by: pointyhat |
2.0.0 26 Jan 2010 22:53:08
 |
avilla  |
- Update my e-mail address in the ports I maintain.
Approved by: miwi (mentor) |
2.0.0 18 Jan 2010 13:15:53
 |
fluffy  |
- Update port: graphics/opencv 1.0.0 -> 2.0.0
PR: 140860
Submitted by: Alberto Villa (maintainer)
Approved by: miwi, tabthorpe (mentors implicit) |
1.0.0_5 22 Aug 2009 00:23:13
 |
amdmi3  |
- Switch SourceForge ports to the new File Release System: categories starting
with G |
1.0.0_5 18 Aug 2009 08:16:07
 |
fluffy  |
Fix build with current FFMpeg.
Fix python support in highgui module.
Bump PORTREVISION
Pass maintainership to submitter.
PR: 137805, 137871
Submitted by: Alberto Villa <villa.alberto AT gmail DOT com>
Approved by: miwi (mentor) |
1.0.0_4 02 Aug 2009 19:36:34
 |
mezz  |
-Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.
It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.
With help: marcus and kwm
Pointyhat-exp: a few times by pav
Tested by: pgollucci, "Romain Tartière" <romain@blogreen.org>, and
a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by: marcus
Approved by: portmgr |
1.0.0_4 25 Jul 2009 14:14:35
 |
arved  |
Fix build
Set maintainer to ports
PR: 136390
Submitted by: Joerg Ruppe-Tanner
Approved by: old maintainer |
1.0.0_4 18 Jul 2009 11:11:29
 |
dinoex  |
- update to jpeg7
Tested by: pav on pointyhat |
1.0.0_3 21 Aug 2008 06:18:49
 |
rafan  |
Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.
To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.
To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.
Changes to Mk/*:
- Add runtime detection magic in bsd.port.mk (Only the first 15 lines of the commit message are shown above ) |
1.0.0_3 02 May 2008 11:40:06
 |
miwi  |
- Fix build with newer ffmpeg
PR: 117173
Submitted by: soralx@cydem.org
Patched by: miwi
Tested by: nox
Reviewed by: nox
Approved by: maintainer timeout |
1.0.0_3 19 Apr 2008 17:56:05
 |
miwi  |
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav) |
1.0.0_2 01 Feb 2008 12:04:04
 |
linimon  |
Mark broken on sparc64: does not compile. |
1.0.0_2 22 Dec 2007 15:16:31
 |
nork  |
Enable V4L (Video for Linux) compatible to use USB Camera.
Approved by: maintainer timeout (1 week) |
1.0.0_1 07 Oct 2007 17:46:16
 |
nork  |
Chase OpenEXR library version bumped. |
1.0.0 05 Apr 2007 08:29:25
 |
stefan  |
Update to 1.0.0.
PR: 110057
Submitted by: Tz-Huan Huang <tzhuan@csie.org>
Approved by: maintainer timeout (4 weeks) |
0.9.6_1 01 Feb 2007 02:42:06
 |
kris  |
Use libtool port instead of included version to avoid objformat a.out botch |
0.9.6_1 02 Jan 2006 09:39:50
 |
edwin  |
Fix build in 4.x
Noticed by: YAPHR |
0.9.6 02 Jan 2006 06:34:55
 |
edwin  |
Change maintainer to submitter since the specified maintainer is a
closed mailinglist.
Noticed by: YAPHR |
0.9.6 29 Dec 2005 03:38:29
 |
edwin  |
New port: graphics/opencv (Open Source Computer Vision Library from Intel)
The Open Computer Vision Library is a collection of algorithms
and sample code for various computer vision problems. The
library is compatible with IPL and utilizes Intel Integrated
Performance Primitives for better performance.
WWW: http://sourceforge.net/projects/opencvlibrary/
http://www.intel.com/research/mrl/research/opencv/
PR: ports/78473
Submitted by: Marc Abramowitz <msabramo@yahoo.com> |