BSD Ports

graphics/opencv 4.13.0 MidnightBSD

Open Source Computer Vision library

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
8edabe63e8
License
bsd3
Categories
graphics

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
MidnightBSDgraphics/opencv4.13.0
FreeBSDgraphics/opencv4.13.0_9
OpenBSDgraphics/opencv4.13.0p4
NetBSDgraphics/opencv4.14.0nb3
DragonFlygraphics/opencv4.9.0_7
HardenedBSDgraphics/opencv4.13.0_9
GhostBSDgraphics/opencv4.13.0_8

Install

Binary package:

mport install opencv

From mports:

cd /usr/mports/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

Dependencies

As this port's Makefile names them.

Library 3

Build dependencies 3
Run dependencies 3

Configuration

Options name: graphics_opencv

OptionDefaultDescription
ATLASoffATLAS blas implementation with lapacke
AVIFoff
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
GTK3off
HARDENINGoffEnables Build Hardening
JASPERoffAdd Jasper Support for JPEG2000
JAVAoffEnable Java Support
JPEGonAdd LibJpeg Support
LTOoffEnables Link Time Optimizations
NOBLASoffDisable support for lapack/blas
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 916
  • 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 4
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

Commit history 1

DateCommitCreditsLog message
8edabe63e8 Lucas Holt graphics/opencv: fix MidnightBSD build
Remove stale IPP license files from the plist because OpenCV 4.13.0 no longer stages them with the current IPP bundle. Pass the legacy PYTHON3_EXECUTABLE CMake cache variable so OpenCV uses the ports-selected Python interpreter consistently, and disable the Orbbec backend because it requires linux/uvcvideo.h. AI-Assisted-by: OpenAI Codex <[email protected]> Signed-off-by: Lucas Holt <[email protected]>