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-java-3.4.1_40:
EXTRA_MODULES=on: Extra modules
GTK2=off: GTK+ 2 GUI toolkit support
OPENGL=off: OpenGL (requires GTK2)
====> Performance enhancing libraries
EIGEN3=on: Eigen 3 support
OPENCL=off: OpenCL support
====> Image format support
GDAL=off: Geospatial Data Abstraction Library
GDCM=off: Open source DICOM library
JASPER=on: JPEG 2000 support via JasPer
JPEG=on: JPEG image format support
OPENEXR=off: HDR image format support via OpenEXR
PNG=on: PNG image format support
TIFF=on: TIFF image format support
WEBP=on: WebP image format support
====> Video support
ARAVIS=off: Aravis SDK
DC1394=off: IEEE 1394 camera support
FFMPEG=on: FFmpeg support (WMA, AIFF, AC3, APE...)
GPHOTO2=off: Gphoto2 camera support
GSTREAMER=off: Multimedia support via GStreamer
MFX=off: Intel MediaSDK (aka Quick Sync Video)
V4L=on: Video 4 Linux support
XINE=off: Multimedia support via Xine
===> Use 'make config' to modify these settings
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
Update jasper to 2.0.16
This is needed to be able to update gegl to latest version.
Bump revision of all consumer as the ABI is not 100% backward compatible.
Provide a patch for graphics/devil to properly build with latest jasper.
While here add a missing USES=xorg to graphics/devil
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]
- 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