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
| System | Port | Version |
|---|---|---|
| MidnightBSD | graphics/opencv | 4.13.0 |
| FreeBSD | graphics/opencv | 4.13.0_9 |
| OpenBSD | graphics/opencv | 4.13.0p4 |
| NetBSD | graphics/opencv | 4.14.0nb3 |
| DragonFly | graphics/opencv | 4.9.0_7 |
| HardenedBSD | graphics/opencv | 4.13.0_9 |
| GhostBSD | graphics/opencv | 4.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
libfreetype.so: print/freetype2libharfbuzz.so: print/harfbuzzlibhdf5.so: science/hdf5
Build dependencies 3
Run dependencies 3
Required by 2
Configuration
Options name: graphics_opencv
| Option | Default | Description |
|---|---|---|
| ATLAS | off | ATLAS blas implementation with lapacke |
| AVIF | off | |
| DC1394 | on | IEEE 1394 camera support |
| EIGEN | on | Add Eigen v3 Support, builds sfm modules |
| FFMPEG | off | Link with ffmpeg |
| GDAL | on | Add Geospatial Data Abstraction Library Support |
| GDCM | on | Add Open source DICOM library Support |
| GPHOTO2 | on | Add Gphoto2 Support |
| GSTREAMER | on | Add GSTREAMER Support |
| GTK3 | off | |
| HARDENING | off | Enables Build Hardening |
| JASPER | off | Add Jasper Support for JPEG2000 |
| JAVA | off | Enable Java Support |
| JPEG | on | Add LibJpeg Support |
| LTO | off | Enables Link Time Optimizations |
| NOBLAS | off | Disable support for lapack/blas |
| OPENBLAS | on | OpenBLAS blas implementation with lapacke |
| OPENCL | on | Add OpenCL Support |
| OPENEXR | on | Add OpenEXR Support |
| OPENJPEG | on | Add OpenJPEG Support for JPEG2000, OpenCV preferred |
| PATENTED | off | Enable patented 2d feature detection USE AT OWN RISK |
| PNG | on | Add LibPNG Support |
| 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 |
| TIFF | on | Add LibTIFF Support |
| V4L | on | Enable support for Video for Linux |
| VTK | off | Include VTK library support (build opencv_viz module) |
| VULKAN | on | Add Vulkan Support |
| WEBP | on | Add Webp Support |
| XINE | off | Add 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
| File | Size | SHA256 |
|---|---|---|
| opencv-opencv-4.13.0_GH0.tar.gz | 9.5420275e+07 | 1d40ca017ea51c533cf9fd5cbde5b5fe7ae248291ddf2af99d4c17cf8e13017d |
| opencv-ade-v0.1.2e_GH0.tar.gz | 117054 | 107711887d413127955d64a0e42974ec379c1ebb81832c79a21a9e3a2110e4bf |
| opencv-opencv_3rdparty-7f55c0c26be418d494615afca15218566775c725_GH0.tar.gz | 1.02507737e+08 | 0b19085992da68a6b6b751ce7c37fd22b27e43ff28455a68280484e436c438e8 |
| opencv-opencv_contrib-4.13.0_GH0.tar.gz | 5.5516112e+07 | 1e0077a4fd2960a7d2f4c9e49d6ba7bb891cac2d1be36d7e8e47aa97a9d1039b |
Commit history 1
| Date | Commit | Credits | Log 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]> |