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.
WWW: https://www.opencv.org/
===> The following configuration options are available for opencv-core-3.4.1_40:
====> Performance enhancing libraries
EIGEN3=on: Eigen 3 support
OPENCL=off: OpenCL support
====> Video support
MFX=off: Intel MediaSDK (aka Quick Sync Video)
===> Use 'make config' to modify these settings
Reason:
graphics/opencv-core has been reintegrated into graphics/opencv.
So there is no longer a circular dependency
opencv-core -> ffmpeg -> opencv
If you experience problems updating the packages, try
pkg delete -f opencv-core
Port Moves
port moved to graphics/opencv on 2021-01-30 REASON: Reintegrated into a simple, maintainable port
graphics/opencv: update to 4.5.1 -- and make port more easily maintainable
This is a major upgrade from 3.x to 4.x.
Changelog from versions 3.4.1--4.5.1 can be found here:
https://github.com/opencv/opencv/wiki/ChangeLog
Note: this has explicitely not been added as a new graphics/opencv4 port, but
replaces the
previous graphics/opencv[3] port. Again, to improve maintainability by not
giving ports
the option to pick the "wrong one" - this leads however to some abandoned
ports being
broken.
The port has been greatly simplified:
* graphics/opencv-core which existed to enable ffmpeg to depend on opencv,
and vice versa
has been removed. ffmpeg no longer can depend on opencv.
(Only the first 15 lines of the commit message are shown above )
- Upgrade math/eigen3 to 3.3.8;
- Add some dependencies which might be detected by Find_Package but not
registered;
- Bump PORTREVISION of consumers.
PR: 250833
Submitted by: /me
Approved by: tcberner@ (KDE / maintainer) + exp-run
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 <aliovx@gmail.com>
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)
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
- 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 <rwestlun@gmail.com> [1], sasamotikomi@gmail.com
[2]
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
- 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