BSD Ports

graphics/opencv 4.13.0_9 FreeBSD

Open Source Computer Vision library

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
7eae0fad1f
License
BSD3CLAUSE
Categories
graphics
Package size
15394.2 KiB, 65581.5 KiB installed

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.

In the other systems

SystemPortVersion
FreeBSDgraphics/opencv4.13.0_9
OpenBSDgraphics/opencv4.13.0p4
NetBSDgraphics/opencv4.14.0nb3
DragonFlygraphics/opencv4.9.0_7
MidnightBSDgraphics/opencv4.13.0

Install

Binary package:

pkg install opencv

From the ports tree:

cd /usr/ports/graphics/opencv/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	opencv>0:graphics/opencv
LIB_DEPENDS=	libopencv_alphamat.so:graphics/opencv

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest4.13.0_94.13.0_9-4.11.0_24.13.0_9
FreeBSD:14:quarterly4.13.0_94.13.0_9n/a4.11.0_24.13.0_9
FreeBSD:15:latest4.13.0_94.13.0_9n/a4.11.0_24.11.0_2
FreeBSD:15:quarterly4.13.0_94.13.0_9n/an/an/a
FreeBSD:16:latest4.13.0_94.13.0_9n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 3

The full lists below include those, and their dependencies in turn.

Build dependencies 133

The first 100 are listed.

Run dependencies 119

The first 100 are listed.

Required by 76

Configuration

Options name: graphics_opencv

OptionDefaultDescription
ATLASoffATLAS blas implementation with lapacke
AVIFoffAV1 Image File Format via libavif
DC1394onIEEE 1394 camera support
EIGENonAdd Eigen v3 Support, builds sfm modules
FFMPEGoffLink with ffmpeg
GDALonAdd Geospatial Data Abstraction Library Support
GDCMonAdd Open source DICOM library Support
GPHOTO2onAdd Gphoto2 Support
GSTREAMERonAdd GSTREAMER Support
GTK3offGTK 3 GUI toolkit support
HARDENINGoffEnables Build Hardening
JASPERoffAdd Jasper Support for JPEG2000
JAVAoffEnable Java Support
JPEGonAdd LibJpeg Support
LTOoffEnables Link Time Optimizations
NOBLASoffDisable support for lapack/blas
OBSENSORoffOrbbec 3D camera support
OGRE3DoffAdd OGRE support
ONNXoffInclude Microsoft ONNX Runtim support
OPENBLASonOpenBLAS blas implementation with lapacke
OPENCLonAdd OpenCL Support
OPENEXRonAdd OpenEXR Support
OPENJPEGonAdd OpenJPEG Support for JPEG2000, OpenCV preferred
PATENTEDoffEnable patented 2d feature detection USE AT OWN RISK
PNGonAdd LibPNG Support
PROTOBUFonEnable protobuf support, builds dnn modules
PYTHONonEnable Python Support 3.6 or greater
TBBoffAdd Intel Threading Building Blocks Support
TESSERACToffAdd Tesseract-based OCR
TIFFonAdd LibTIFF Support
V4LonEnable support for Video for Linux
VTKoffInclude VTK library support (build opencv_viz module)
VULKANonAdd Vulkan Support
WEBPonAdd Webp Support
XINEoffAdd Xine Support
USES
cmake compiler:c++14-lang cpe gnome localbase:ldflags pkgconfig
Service scripts
none

Files

pkg-plist 911
  • bin/opencv_annotation
  • bin/opencv_interactive-calibration
  • bin/opencv_model_diagnostics
  • bin/opencv_version
  • bin/opencv_visualisation
  • bin/opencv_waldboost_detector
  • include/opencv4/opencv2/alphamat.hpp
  • include/opencv4/opencv2/aruco.hpp
  • include/opencv4/opencv2/aruco/aruco_calib.hpp
  • include/opencv4/opencv2/aruco/charuco.hpp
  • include/opencv4/opencv2/bgsegm.hpp
  • include/opencv4/opencv2/bioinspired.hpp
  • include/opencv4/opencv2/bioinspired/bioinspired.hpp
  • include/opencv4/opencv2/bioinspired/retina.hpp
  • include/opencv4/opencv2/bioinspired/retinafasttonemapping.hpp
  • include/opencv4/opencv2/bioinspired/transientareassegmentationmodule.hpp
  • include/opencv4/opencv2/calib3d.hpp
  • include/opencv4/opencv2/calib3d/calib3d.hpp
  • include/opencv4/opencv2/calib3d/calib3d_c.h
  • include/opencv4/opencv2/ccalib.hpp
  • include/opencv4/opencv2/ccalib/multicalib.hpp
  • include/opencv4/opencv2/ccalib/omnidir.hpp
  • include/opencv4/opencv2/ccalib/randpattern.hpp
  • include/opencv4/opencv2/core.hpp
  • include/opencv4/opencv2/core/affine.hpp
  • include/opencv4/opencv2/core/async.hpp
  • include/opencv4/opencv2/core/base.hpp
  • include/opencv4/opencv2/core/bindings_utils.hpp
  • include/opencv4/opencv2/core/bufferpool.hpp
  • include/opencv4/opencv2/core/check.hpp
  • include/opencv4/opencv2/core/core.hpp
  • include/opencv4/opencv2/core/core_c.h
  • include/opencv4/opencv2/core/cuda.hpp
  • include/opencv4/opencv2/core/cuda.inl.hpp
  • include/opencv4/opencv2/core/cuda/block.hpp
  • include/opencv4/opencv2/core/cuda/border_interpolate.hpp
  • include/opencv4/opencv2/core/cuda/color.hpp
  • include/opencv4/opencv2/core/cuda/common.hpp
  • include/opencv4/opencv2/core/cuda/cuda_compat.hpp
  • include/opencv4/opencv2/core/cuda/datamov_utils.hpp
  • include/opencv4/opencv2/core/cuda/detail/color_detail.hpp
  • include/opencv4/opencv2/core/cuda/detail/reduce.hpp
  • include/opencv4/opencv2/core/cuda/detail/reduce_key_val.hpp
  • include/opencv4/opencv2/core/cuda/detail/transform_detail.hpp
  • include/opencv4/opencv2/core/cuda/detail/type_traits_detail.hpp
  • include/opencv4/opencv2/core/cuda/detail/vec_distance_detail.hpp
  • include/opencv4/opencv2/core/cuda/dynamic_smem.hpp
  • include/opencv4/opencv2/core/cuda/emulation.hpp
  • include/opencv4/opencv2/core/cuda/filters.hpp
  • include/opencv4/opencv2/core/cuda/funcattrib.hpp
  • include/opencv4/opencv2/core/cuda/functional.hpp
  • include/opencv4/opencv2/core/cuda/limits.hpp
  • include/opencv4/opencv2/core/cuda/reduce.hpp
  • include/opencv4/opencv2/core/cuda/saturate_cast.hpp
  • include/opencv4/opencv2/core/cuda/scan.hpp
  • include/opencv4/opencv2/core/cuda/simd_functions.hpp
  • include/opencv4/opencv2/core/cuda/transform.hpp
  • include/opencv4/opencv2/core/cuda/type_traits.hpp
  • include/opencv4/opencv2/core/cuda/utility.hpp
  • include/opencv4/opencv2/core/cuda/vec_distance.hpp
  • include/opencv4/opencv2/core/cuda/vec_math.hpp
  • include/opencv4/opencv2/core/cuda/vec_traits.hpp
  • include/opencv4/opencv2/core/cuda/warp.hpp
  • include/opencv4/opencv2/core/cuda/warp_reduce.hpp
  • include/opencv4/opencv2/core/cuda/warp_shuffle.hpp
  • include/opencv4/opencv2/core/cuda_stream_accessor.hpp
  • include/opencv4/opencv2/core/cuda_types.hpp
  • include/opencv4/opencv2/core/cv_cpu_dispatch.h
  • include/opencv4/opencv2/core/cv_cpu_helper.h
  • include/opencv4/opencv2/core/cvdef.h
  • include/opencv4/opencv2/core/cvstd.hpp
  • include/opencv4/opencv2/core/cvstd.inl.hpp
  • include/opencv4/opencv2/core/cvstd_wrapper.hpp
  • include/opencv4/opencv2/core/detail/async_promise.hpp
  • include/opencv4/opencv2/core/detail/dispatch_helper.impl.hpp
  • include/opencv4/opencv2/core/detail/exception_ptr.hpp
  • include/opencv4/opencv2/core/directx.hpp
  • include/opencv4/opencv2/core/dualquaternion.hpp
  • include/opencv4/opencv2/core/dualquaternion.inl.hpp
  • include/opencv4/opencv2/core/eigen.hpp
  • include/opencv4/opencv2/core/fast_math.hpp
  • include/opencv4/opencv2/core/hal/hal.hpp
  • include/opencv4/opencv2/core/hal/interface.h
  • include/opencv4/opencv2/core/hal/intrin.hpp
  • include/opencv4/opencv2/core/hal/intrin_avx.hpp
  • include/opencv4/opencv2/core/hal/intrin_avx512.hpp
  • include/opencv4/opencv2/core/hal/intrin_cpp.hpp
  • include/opencv4/opencv2/core/hal/intrin_forward.hpp
  • include/opencv4/opencv2/core/hal/intrin_lasx.hpp
  • include/opencv4/opencv2/core/hal/intrin_legacy_ops.h
  • include/opencv4/opencv2/core/hal/intrin_lsx.hpp
  • include/opencv4/opencv2/core/hal/intrin_math.hpp
  • include/opencv4/opencv2/core/hal/intrin_msa.hpp
  • include/opencv4/opencv2/core/hal/intrin_neon.hpp
  • include/opencv4/opencv2/core/hal/intrin_rvv071.hpp
  • include/opencv4/opencv2/core/hal/intrin_rvv_scalable.hpp
  • include/opencv4/opencv2/core/hal/intrin_sse.hpp
  • include/opencv4/opencv2/core/hal/intrin_sse_em.hpp
  • include/opencv4/opencv2/core/hal/intrin_vsx.hpp
  • include/opencv4/opencv2/core/hal/intrin_wasm.hpp

The first 100 are listed.

distinfo 5
FileSizeSHA256
opencv-opencv-4.13.0_GH0.tar.gz9.5420275e+071d40ca017ea51c533cf9fd5cbde5b5fe7ae248291ddf2af99d4c17cf8e13017d
opencv-ade-v0.1.2e_GH0.tar.gz117054107711887d413127955d64a0e42974ec379c1ebb81832c79a21a9e3a2110e4bf
opencv-opencv_3rdparty-7f55c0c26be418d494615afca15218566775c725_GH0.tar.gz1.02507737e+080b19085992da68a6b6b751ce7c37fd22b27e43ff28455a68280484e436c438e8
opencv-opencv_contrib-4.13.0_GH0.tar.gz5.5516112e+071e0077a4fd2960a7d2f4c9e49d6ba7bb891cac2d1be36d7e8e47aa97a9d1039b
f347805418235374f54064f36fc8c248bd599e86.patch1077813bfd0f570e79d3dccd9652439a5413235cf0fffe74a87951f439ba45c039ad6

Commit history 4

DateCommitCreditsLog message
7eae0fad1f Dima Panov */*: bump graphics/ogre3d consumers
a29134aced Charlie Li graphics/opencv: fix build with multimedia/ffmpeg 9
Reference: https://github.com/opencv/opencv/pull/29533
5f4b643338 Charlie Li graphics/opencv: use multimedia/v4l_compat on non-CURRENT
Since video(4) et al landed in -CURRENT, the multimedia/v4l_compat headers conflict with <sys/videoio.h> when both are present. Support for <sys/videoio.h> is already included for NetBSD so ensure that this path is taken during configure on -CURRENT. Also ensure that the Linux-style unsigned int shorthand is defined for us in addition to OpenBSD. PR: 297454
8247829dff Charlie Li graphics/opencv: fix WWW
`www` subdomain results in error