notbugIf you buy from Amazon USA, please support us by using this link.
Port details
opencv-core Open Source Computer Vision library
3.4.1_17 graphics on this many watch lists=18 search for ports that depend on this port Find issues related to this port Report an issue related to this port
3.4.1Version of this port present on the latest quarterly branch. NOTE: Slave port - quarterly revision is most likely wrong.

There is no maintainer for this port.
Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via search for ports maintained by this maintainer
Port Added: 2011-06-29 11:44:41
Last Update: 2018-07-18 13:53:36
SVN Revision: 474860
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.

SVNWeb : Homepage
    Pseudo-pkg-plist information, but much better, from make generate-plist
    Expand this list (124 items)
  1. /usr/local/share/licenses/opencv-core-3.4.1_17/
  2. /usr/local/share/licenses/opencv-core-3.4.1_17/LICENSE
  3. /usr/local/share/licenses/opencv-core-3.4.1_17/BSD3CLAUSE
  4. include/opencv2/core.hpp
  5. include/opencv2/core/affine.hpp
  6. include/opencv2/core/base.hpp
  7. include/opencv2/core/bufferpool.hpp
  8. include/opencv2/core/core_c.h
  9. include/opencv2/core/core.hpp
  10. include/opencv2/core/cuda_stream_accessor.hpp
  11. include/opencv2/core/cuda_types.hpp
  12. include/opencv2/core/cuda.hpp
  13. include/opencv2/core/cuda.inl.hpp
  14. include/opencv2/core/cuda/block.hpp
  15. include/opencv2/core/cuda/border_interpolate.hpp
  16. include/opencv2/core/cuda/color.hpp
  17. include/opencv2/core/cuda/common.hpp
  18. include/opencv2/core/cuda/datamov_utils.hpp
  19. include/opencv2/core/cuda/detail/color_detail.hpp
  20. include/opencv2/core/cuda/detail/reduce_key_val.hpp
  21. include/opencv2/core/cuda/detail/reduce.hpp
  22. include/opencv2/core/cuda/detail/transform_detail.hpp
  23. include/opencv2/core/cuda/detail/type_traits_detail.hpp
  24. include/opencv2/core/cuda/detail/vec_distance_detail.hpp
  25. include/opencv2/core/cuda/dynamic_smem.hpp
  26. include/opencv2/core/cuda/emulation.hpp
  27. include/opencv2/core/cuda/filters.hpp
  28. include/opencv2/core/cuda/funcattrib.hpp
  29. include/opencv2/core/cuda/functional.hpp
  30. include/opencv2/core/cuda/limits.hpp
  31. include/opencv2/core/cuda/reduce.hpp
  32. include/opencv2/core/cuda/saturate_cast.hpp
  33. include/opencv2/core/cuda/scan.hpp
  34. include/opencv2/core/cuda/simd_functions.hpp
  35. include/opencv2/core/cuda/transform.hpp
  36. include/opencv2/core/cuda/type_traits.hpp
  37. include/opencv2/core/cuda/utility.hpp
  38. include/opencv2/core/cuda/vec_distance.hpp
  39. include/opencv2/core/cuda/vec_math.hpp
  40. include/opencv2/core/cuda/vec_traits.hpp
  41. include/opencv2/core/cuda/warp_reduce.hpp
  42. include/opencv2/core/cuda/warp_shuffle.hpp
  43. include/opencv2/core/cuda/warp.hpp
  44. include/opencv2/core/cv_cpu_dispatch.h
  45. include/opencv2/core/cv_cpu_helper.h
  46. include/opencv2/core/cvdef.h
  47. include/opencv2/core/cvstd.hpp
  48. include/opencv2/core/cvstd.inl.hpp
  49. include/opencv2/core/directx.hpp
  50. include/opencv2/core/eigen.hpp
  51. include/opencv2/core/fast_math.hpp
  52. include/opencv2/core/hal/hal.hpp
  53. include/opencv2/core/hal/interface.h
  54. include/opencv2/core/hal/intrin_cpp.hpp
  55. include/opencv2/core/hal/intrin_neon.hpp
  56. include/opencv2/core/hal/intrin_sse.hpp
  57. include/opencv2/core/hal/intrin_vsx.hpp
  58. include/opencv2/core/hal/intrin.hpp
  59. include/opencv2/core/opencl/ocl_defs.hpp
  60. include/opencv2/core/opencl/opencl_info.hpp
  61. include/opencv2/core/opencl/opencl_svm.hpp
  62. include/opencv2/core/opencl/runtime/autogenerated/opencl_clamdblas.hpp
  63. include/opencv2/core/opencl/runtime/autogenerated/opencl_clamdfft.hpp
  64. include/opencv2/core/opencl/runtime/autogenerated/opencl_core.hpp
  65. include/opencv2/core/opencl/runtime/autogenerated/opencl_core_wrappers.hpp
  66. include/opencv2/core/opencl/runtime/autogenerated/opencl_gl.hpp
  67. include/opencv2/core/opencl/runtime/autogenerated/opencl_gl_wrappers.hpp
  68. include/opencv2/core/opencl/runtime/opencl_clamdblas.hpp
  69. include/opencv2/core/opencl/runtime/opencl_clamdfft.hpp
  70. include/opencv2/core/opencl/runtime/opencl_core.hpp
  71. include/opencv2/core/opencl/runtime/opencl_core_wrappers.hpp
  72. include/opencv2/core/opencl/runtime/opencl_gl.hpp
  73. include/opencv2/core/opencl/runtime/opencl_gl_wrappers.hpp
  74. include/opencv2/core/opencl/runtime/opencl_svm_20.hpp
  75. include/opencv2/core/opencl/runtime/opencl_svm_definitions.hpp
  76. include/opencv2/core/opencl/runtime/opencl_svm_hsa_extension.hpp
  77. include/opencv2/core/ippasync.hpp
  78. include/opencv2/core/mat.hpp
  79. include/opencv2/core/mat.inl.hpp
  80. include/opencv2/core/matx.hpp
  81. include/opencv2/core/neon_utils.hpp
  82. include/opencv2/core/ocl_genbase.hpp
  83. include/opencv2/core/ocl.hpp
  84. include/opencv2/core/opengl.hpp
  85. include/opencv2/core/operations.hpp
  86. include/opencv2/core/optim.hpp
  87. include/opencv2/core/ovx.hpp
  88. include/opencv2/core/persistence.hpp
  89. include/opencv2/core/ptr.inl.hpp
  90. include/opencv2/core/saturate.hpp
  91. include/opencv2/core/softfloat.hpp
  92. include/opencv2/core/sse_utils.hpp
  93. include/opencv2/core/traits.hpp
  94. include/opencv2/core/types_c.h
  95. include/opencv2/core/types.hpp
  96. include/opencv2/core/utility.hpp
  97. include/opencv2/core/utils/filesystem.hpp
  98. include/opencv2/core/utils/logger.defines.hpp
  99. include/opencv2/core/utils/logger.hpp
  100. include/opencv2/core/utils/trace.hpp
  101. include/opencv2/core/va_intel.hpp
  102. include/opencv2/core/version.hpp
  103. include/opencv2/core/vsx_utils.hpp
  104. include/opencv2/core/wimage.hpp
  105. include/opencv2/cvconfig.h
  106. include/opencv2/imgproc.hpp
  107. include/opencv2/imgproc/detail/distortion_model.hpp
  108. include/opencv2/imgproc/hal/hal.hpp
  109. include/opencv2/imgproc/hal/interface.h
  110. include/opencv2/imgproc/imgproc_c.h
  111. include/opencv2/imgproc/imgproc.hpp
  112. include/opencv2/imgproc/types_c.h
  113. @comment include/opencv2/opencv.hpp
  114. @comment include/opencv2/opencv_modules.hpp
  115. lib/
  116. lib/
  117. lib/
  118. lib/
  119. lib/
  120. lib/
  121. libdata/pkgconfig/opencv-core.pc
  122. share/cmake/Modules/FindOpenCVCore.cmake
  123. @postexec /usr/sbin/service ldconfig restart > /dev/null
  124. @postunexec /usr/sbin/service ldconfig restart > /dev/null
  125. Collapse this list.
Dependency lines:
  • opencv-core>0:graphics/opencv-core

To install the port: cd /usr/ports/graphics/opencv-core/ && make install clean
To add the package: pkg install opencv-core

PKGNAME: opencv-core

There is no flavor information for this port.

NOT_FOR_ARCHS: sparc64


TIMESTAMP = 1524780757
SHA256 (opencv-opencv-3.4.1_GH0.tar.gz) = f1b87684d75496a1054405ae3ee0b6573acaf3dad39eaf4f1d66fdd7e03dc852
SIZE (opencv-opencv-3.4.1_GH0.tar.gz) = 87051748
SHA256 (tiny-dnn-tiny-dnn-2a2b50caa437a5964a61e45ffc83e70558e2bc68_GH0.tar.gz) = 03ff06b154a1a6a0f53d6f24a128727e533355d68164c509303e2da14062e97f
SIZE (tiny-dnn-tiny-dnn-2a2b50caa437a5964a61e45ffc83e70558e2bc68_GH0.tar.gz) = 12885594
SHA256 (opencv-opencv_contrib-3.4.1_GH0.tar.gz) = 298c69ee006d7675e1ff9d371ba8b0d9e7e88374bb7ba0f9d0789851d352ec6e
SIZE (opencv-opencv_contrib-3.4.1_GH0.tar.gz) = 57126844
SHA256 (opencv-opencv_3rdparty-8afa57abc8229d611c4937165d20e2a2d9fc5a12_GH0.tar.gz) = 0ae1f2d2a619ab177d96024e253e142d15dea27236510aaf1a65c7b529ee6677
SIZE (opencv-opencv_3rdparty-8afa57abc8229d611c4937165d20e2a2d9fc5a12_GH0.tar.gz) = 63301261
SHA256 (opencv-opencv_3rdparty-34e4206aef44d50e6bbcd0ab06354b52e7466d26_GH0.tar.gz) = d93c783cdf799da7e4a9209d169390424c4c198c1c9b5eeb78ffc890afe5f332
SIZE (opencv-opencv_3rdparty-34e4206aef44d50e6bbcd0ab06354b52e7466d26_GH0.tar.gz) = 397901
SHA256 (opencv-opencv_3rdparty-fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d_GH0.tar.gz) = e9abccbabcace092e5424073168cc86d422585d15d25569f01fb6503b109e0e1
SIZE (opencv-opencv_3rdparty-fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d_GH0.tar.gz) = 1470898

Master port: graphics/opencv

NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. protoc : devel/protobuf
  2. Eigen : math/eigen3
  3. cmake : devel/cmake
  4. ninja : devel/ninja
  5. pkgconf>=1.3.0_1 : devel/pkgconf

This port is required by:

for Libraries * - 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-core-3.4.1_17:
====> Performance enhancing libraries
     EIGEN3=on: Eigen 3 support
     OPENCL=off: OpenCL support
     TBB=off: TBB support
===> Use 'make config' to modify these settings

cmake compiler:c++14-lang localbase:ldflags pkgconfig

Master Sites:
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2013-12-03
    Affects: users of graphics/opencv, graphics/opencv-core
      OpenCV has been updated to 2.4.7.  Due to movement of files between the
      opencv port and the opencv-core port, it will be necessary to remove
      both packages before updating.
      # pkg_delete -f opencv\*
      # pkg delete -fg opencv\*
        followed by
      # portmaster -a
      # portupgrade -a
Port Moves

Number of commits found: 18

Commit History - (may be incomplete: see SVNWeb link above for full details)
This is a slave port. You may also want to view the commits to the master port: graphics/opencv
18 Jul 2018 12:53:36
Original commit files touched by this commit  3.4.1_1
swills search for other commits by this committer
graphics/opencv-core: remove unneeded depends

opencv-core only needs protobuf to build and doesn't need tesseract at
all, so only add the LIB_DEPENDS when not building opencv-core

PR:		229800
Reported by:	Ali Abdallah <>
09 May 2018 01:10:12
Original commit files touched by this commit  3.4.1
swills search for other commits by this committer
graphics/opencv: Update to 3.4.1

PR:		210505
Submitted by: (partially, further work was done)
Exp-run by:	antoine
14 Apr 2017 05:30:25
Original commit files touched by this commit
jbeich search for other commits by this committer
graphics/opencv: back out r423216 and r423063 (replaying r423316)

Renaming didn't help to unblock 3.x progress as co-existence with 2.x
was no less complex than simply fixing consumers. This commit also
restores directory-level history accidentally lost via git-svn.

PR:		210505
Pointy hat to:	jbeich (should've discussed first)
03 Oct 2016 17:47:08
Original commit files touched by this commit
jbeich search for other commits by this committer
graphics/opencv: add suffix to make room for 3.x series

To avoid confusion, the main port is to track the latest release.
Whether to rename includes/libraries as well making it possible to
install 2.x and 3.x side-by-side remains to be investigated.

PR:		210505 (for tracking)
Inspired by:	PkgSrc
03 Oct 2016 17:46:28
Original commit files touched by this commit
jbeich search for other commits by this committer
graphics/opencv: update to

MFH:		2016Q4
14 Jun 2015 15:28:03
Original commit files touched by this commit  2.4.9_3
jhale search for other commits by this committer
- Add SIMD option to specifically disable CPU optimizations and prevent crashes
  with ffmpeg on processors that do not support SSE instructions.  OFF by
  default for package building, ON with autodetect for ports to keep with
  POLA. [1][2]
- Bump PORTREVISION on all opencv ports

PR:		199715 [1], 200234 [2]
Submitted by:	Randy Westlund <> [1],
16 Apr 2015 08:01:49
Original commit files touched by this commit  2.4.9_2
kwm search for other commits by this committer
Add patch from debian to fix the installed pkg-config files.
This allows the gstreamer plugin to actualy link to the needed opencv libraries.

PR:		196021
Approved by:	maintainer timeout (4 months)
Obtained from:	debian
22 Sep 2014 13:03:39
Original commit files touched by this commit  2.4.9_1
jhale search for other commits by this committer
- Trim @dirrm[try] from pkg-plist
16 Sep 2014 10:56:14
Original commit files touched by this commit  2.4.9_1
martymac search for other commits by this committer
Bump dependent ports' revisions following devel/tbb update (r368296)

Submitted by:	jhale
02 Sep 2014 00:36:27
Original commit files touched by this commit  2.4.9
jhale search for other commits by this committer
- Update to 2.4.9
- Update LICENSE
- Convert USE_PYTHON -> USES
11 Dec 2013 07:53:17
Original commit files touched by this commit  2.4.7_1
martymac search for other commits by this committer
- Update devel/tbb to 4.2.2
- Cleanup DISTNAME and WRKSRC definitions
- Bump dependent ports' revisions

PR:		ports/184526
Submitted by:	delphij
04 Dec 2013 02:51:00
Original commit files touched by this commit  2.4.7
jhale search for other commits by this committer
- Update graphics/*opencv* to 2.4.7
- Revert options helpers to if statements since the OFF condition is not
  applied when OPTIONS_EXCLUDE is used
- Move most of the OpenCV modules from the graphics/opencv-core port to
  graphics/opencv, leaving opencv-core as just the bare minimum required
  for building ffmpeg with OpenCV support
- Install examples for python and java bindings
- Add new slave port graphics/opencv-java: Java bindings for OpenCV
- Bump PORTREVISION and make dependency adjustments and fixes for
  dependent ports
- Add UPDATING entry
20 Sep 2013 18:35:46
Original commit files touched by this commit  2.3.1_7
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
12 Sep 2013 13:00:12
Original commit files touched by this commit  2.3.1_7
bapt search for other commits by this committer
Fix build of opencv with libc++
share the CXXFLAGS between opencv-core and opencv
10 Sep 2013 15:40:27
Original commit files touched by this commit  2.3.1_7
bapt search for other commits by this committer
Fix opencv-core with libc++

Submitted by:	theraven
06 Nov 2012 17:23:08
Original commit files touched by this commit  2.3.1_4
jhale search for other commits by this committer
- Take maintainership
- Trim Makefile headers

Approved by:	makc, avilla (mentors, implicit)
Feature safe:	yes
22 Aug 2011 21:10:22
Original commit files touched by this commit  2.3.1

mm search for other commits by this committer
Update to 2.3.1
Prepare moving of python module to own port
29 Jun 2011 11:44:18
Original commit files touched by this commit  2.1.0_2

mm search for other commits by this committer
Add OpenCV-core slave port (core libraries only)

Number of commits found: 18

User Login
Create account

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD

This site
What is FreshPorts?
About the authors
How big is it?
The latest upgrade!

Enter Keywords:

Latest Vulnerabilities
curlMay 25
ocamlMay 23
firefoxMay 22
firefox-esrMay 22
libxulMay 22
linux-firefoxMay 22
linux-seamonkeyMay 22
linux-thunderbirdMay 22
seamonkeyMay 22
thunderbirdMay 22
waterfoxMay 22
rustMay 15
linux-flashplayerMay 14
samba46May 14
samba47May 14

7 vulnerabilities affecting 113 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2019-05-25 23:10:02

Deleted ports
Sanity Test Failures

NEW Graphs (Javascript)

Calculated hourly:
Port count 36560
Broken 77
Deprecated 122
Ignore 296
Forbidden 3
Restricted 163
Vulnerable 33
Expired 36
Set to expire 96
Interactive 0
new 24 hours 10
new 48 hours26
new 7 days58
new fortnight113
new month197

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2019 Dan Langille. All rights reserved.