Skip to content

Commit

Permalink
Update graphics/opencv to 3.0.0.
Browse files Browse the repository at this point in the history
Major changes (besides bugfixes):
- opencv_contrib (http://github.com/itseez/opencv_contrib) repository
  has been added.
- a subset of Intel IPP (IPPCV) is given to us and our users free
  of charge, free of licensing fees, for commercial and non-commerical
  use.
- T-API (transparent API) has been introduced, this is transparent GPU
  acceleration layer using OpenCL. It does not add any compile-time or
  runtime dependency of OpenCL. When OpenCL is available, it's detected
  and used, but it can be disabled at compile time or at runtime.
- ~40 OpenCV functions have been accelerated using NEON intrinsics and
  because these are mostly basic functions, some higher-level functions
  got accelerated as well.
- There is also new OpenCV HAL layer that will simplifies creation
  of NEON-optimized code and that should form a base for the open-source
  and proprietary OpenCV accelerators.
- The documentation is now in Doxygen: http://docs.opencv.org/master/
- We cleaned up API of many high-level algorithms from features2d, calib3d,
  objdetect etc. They now follow the uniform "abstract interface - hidden
  implementation" pattern and make extensive use of smart pointers (Ptr<>).
- Greatly improved and extended Python & Java bindings (also, see below on
  the Python bindings), newly introduced Matlab bindings
- Improved Android support - now OpenCV Manager is in Java and supports
  both 2.4 and 3.0.
- Greatly improved WinRT support, including video capturing and
  multi-threading capabilities. Thanks for Microsoft team for this!
- Big thanks to Google who funded several successive GSoC programs and
  let OpenCV in. The results of many successful GSoC 2013 and 2014 projects
  have been integrated in opencv 3.0 and opencv_contrib (earlier results
  are also available in OpenCV 2.4.x). We can name:
  - text detection
  - many computational photography algorithms (HDR, inpainting, edge-aware
    filters, superpixels,...)
  - tracking and optical flow algorithms
  - new features, including line descriptors, KAZE/AKAZE
  - general use optimization (hill climbing, linear programming)
  - greatly improved Python support, including Python 3.0 support, many new
    tutorials & samples on how to use OpenCV with Python.
  - 2d shape matching module and 3d surface matching module
  - RGB-D module
  - VTK-based 3D visualization module

For full changelog see:

  http://code.opencv.org/projects/opencv/wiki/ChangeLog

For 2.4 to 3.0 transition, see the transition guide:

  http://docs.opencv.org/master/db/dfa/tutorial_transition_guide.html
  • Loading branch information
fhajny committed Oct 8, 2015
1 parent 48b5cf5 commit 71aaf8c
Show file tree
Hide file tree
Showing 17 changed files with 241 additions and 374 deletions.
20 changes: 10 additions & 10 deletions graphics/opencv/Makefile
@@ -1,9 +1,8 @@
# $NetBSD: Makefile,v 1.55 2015/06/30 09:57:36 ryoon Exp $
# $NetBSD: Makefile,v 1.56 2015/10/08 17:45:59 fhajny Exp $

DISTNAME= opencv-2.4.9
PKGREVISION= 4
DISTNAME= opencv-3.0.0
CATEGORIES= graphics devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opencvlibrary/}
MASTER_SITES= ${MASTER_SITE_GITHUB:=Itseez/}
EXTRACT_SUFX= .zip

MAINTAINER= anthony.mallet@laas.fr
Expand All @@ -23,6 +22,7 @@ INSTALLATION_DIRS+= share/OpenCV/haarcascades

PKGCONFIG_OVERRIDE+= opencv.pc.cmake.in

PY_PATCHPLIST= yes
REPLACE_PYTHON+= samples/python/*.py

WRKSRC= ${WRKDIR}/${DISTNAME:S/a$//}
Expand All @@ -34,24 +34,24 @@ CHECK_WRKREF_SKIP= ${PREFIX}/lib/libopencv_core.*

.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
CXXFLAGS+= -std=c++11
CXXFLAGS+= -std=c++11
.endif

OPSYSVARS+= CMAKE_ARGS
CMAKE_ARGS+= -DPYTHON_EXECUTABLE:FILEPATH=${PYTHONBIN}
CMAKE_ARGS+= -DZLIB_ROOT=${BUILDLINK_PREFIX.zlib}
CMAKE_ARGS.SunOS+= -DENABLE_PRECOMPILED_HEADERS=NO

PLIST_VARS+= opencl

.if ${OPSYS} == "Darwin" || ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS" || ${OPSYS} == "Linux" || ${OPSYS} == "FreeBSD"
PLIST.opencl= yes
.endif
CONFIGURE_ENV+= MACHINE_ARCH=${MACHINE_ARCH}

.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/jasper/buildlink3.mk"
.include "../../graphics/libwebp/buildlink3.mk"
.include "../../graphics/openexr/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../math/py-numpy/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

0 comments on commit 71aaf8c

Please sign in to comment.