From d657bca4faeaf246bdc694e333a508b615729194 Mon Sep 17 00:00:00 2001 From: uebayasi Date: Thu, 9 Nov 2006 05:13:41 +0000 Subject: Import OpenCV 1.0.0, pkg/34655 from Anthony Mallet. OpenCV means Intel(R) Open Source Computer Vision Library. It is a collection of C functions and a few C++ classes that implement many popular Image Processing and Computer Vision algorithms. OpenCV provides cross-platform middle-to-high level API that includes about 300 C functions and a few C++ classes. Also there are Python bindings to OpenCV. OpenCV has no strict dependencies on external libraries, though it can use some (such as libjpeg, ffmpeg, GTK+ etc.) OpenCV provides transparent interface to Intel(R) Integrated Performance Primitives (IPP). That is, it loads automatically IPP libraries optimized for specific processor at runtime, if they are available. --- graphics/opencv/DESCR | 12 ++ graphics/opencv/Makefile | 36 +++++ graphics/opencv/PLIST | 331 +++++++++++++++++++++++++++++++++++++++ graphics/opencv/distinfo | 6 + graphics/opencv/patches/patch-aa | 13 ++ 5 files changed, 398 insertions(+) create mode 100644 graphics/opencv/DESCR create mode 100644 graphics/opencv/Makefile create mode 100644 graphics/opencv/PLIST create mode 100644 graphics/opencv/distinfo create mode 100644 graphics/opencv/patches/patch-aa (limited to 'graphics/opencv') diff --git a/graphics/opencv/DESCR b/graphics/opencv/DESCR new file mode 100644 index 00000000000..f3eb010f008 --- /dev/null +++ b/graphics/opencv/DESCR @@ -0,0 +1,12 @@ +OpenCV means Intel(R) Open Source Computer Vision Library. It is a +collection of C functions and a few C++ classes that implement many +popular Image Processing and Computer Vision algorithms. + +OpenCV provides cross-platform middle-to-high level API that includes +about 300 C functions and a few C++ classes. Also there are Python +bindings to OpenCV. OpenCV has no strict dependencies on external +libraries, though it can use some (such as libjpeg, ffmpeg, GTK+ etc.) + +OpenCV provides transparent interface to Intel(R) Integrated Performance +Primitives (IPP). That is, it loads automatically IPP libraries optimized +for specific processor at runtime, if they are available. diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile new file mode 100644 index 00000000000..dd87b393262 --- /dev/null +++ b/graphics/opencv/Makefile @@ -0,0 +1,36 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/11/09 05:13:41 uebayasi Exp $ +# + +DISTNAME= opencv-1.0.0 +CATEGORIES= graphics devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opencvlibrary/} + +MAINTAINER= anthony.mallet@laas.fr +HOMEPAGE= http://opencvlibrary.sourceforge.net/ +COMMENT= Library for computer vision problems + +USE_PKGLOCALEDIR= yes +USE_TOOLS+= gmake automake autoconf pkg-config +USE_LANGUAGES= c c++ +USE_LIBTOOL= yes +AUTOMAKE_REQD= 1.9 +INSTALLATION_DIRS+= share/doc/opencv/papers share/doc/opencv/ref/pics \ + share/opencv/haarcascades + +GNU_CONFIGURE= yes +PKGCONFIG_OVERRIDE+= opencv.pc.in + +CONFIGURE_ARGS+=--with-swig=no +CONFIGURE_ARGS+=--with-python=no + +pre-configure: + cd ${WRKSRC}; \ + automake -a --foreign -i; autoconf + +.include "../../x11/gtk2/buildlink3.mk" +.include "../../graphics/png/buildlink3.mk" +.include "../../graphics/jpeg/buildlink3.mk" +.include "../../graphics/tiff/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/opencv/PLIST b/graphics/opencv/PLIST new file mode 100644 index 00000000000..21ba90bd53e --- /dev/null +++ b/graphics/opencv/PLIST @@ -0,0 +1,331 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/11/09 05:13:41 uebayasi Exp $ +include/opencv/cv.h +include/opencv/cv.hpp +include/opencv/cvaux.h +include/opencv/cvaux.hpp +include/opencv/cvcompat.h +include/opencv/cvhaartraining.h +include/opencv/cvmat.hpp +include/opencv/cvtypes.h +include/opencv/cvver.h +include/opencv/cvvidsurv.hpp +include/opencv/cxcore.h +include/opencv/cxcore.hpp +include/opencv/cxerror.h +include/opencv/cxmisc.h +include/opencv/cxtypes.h +include/opencv/highgui.h +include/opencv/ml.h +lib/libcv.la +lib/libcvaux.la +lib/libcvhaartraining.a +lib/libcxcore.la +lib/libhighgui.la +lib/libml.la +lib/pkgconfig/opencv.pc +share/doc/opencv/papers/algo_tracking.pdf +share/doc/opencv/papers/avbpa99.ps +share/doc/opencv/papers/camshift.pdf +share/doc/opencv/ref/pics/backprojectpatch.png +share/doc/opencv/ref/pics/boundingrect.png +share/doc/opencv/ref/pics/building.jpg +share/doc/opencv/ref/pics/contoursecarea.png +share/doc/opencv/ref/pics/cornersubpix.png +share/doc/opencv/ref/pics/defects.png +share/doc/opencv/ref/pics/ellipse.png +share/doc/opencv/ref/pics/em1.png +share/doc/opencv/ref/pics/em3.png +share/doc/opencv/ref/pics/em4.png +share/doc/opencv/ref/pics/em5.png +share/doc/opencv/ref/pics/em6.png +share/doc/opencv/ref/pics/em7.png +share/doc/opencv/ref/pics/em8.png +share/doc/opencv/ref/pics/em9.png +share/doc/opencv/ref/pics/errmsg.png +share/doc/opencv/ref/pics/face.png +share/doc/opencv/ref/pics/haarfeatures.png +share/doc/opencv/ref/pics/houghp.png +share/doc/opencv/ref/pics/inv_logpolar.jpg +share/doc/opencv/ref/pics/left.jpg +share/doc/opencv/ref/pics/logpolar.jpg +share/doc/opencv/ref/pics/maxrect.png +share/doc/opencv/ref/pics/memstorage1.png +share/doc/opencv/ref/pics/memstorage2.png +share/doc/opencv/ref/pics/minareabox.png +share/doc/opencv/ref/pics/mlp_.png +share/doc/opencv/ref/pics/neuron_model.png +share/doc/opencv/ref/pics/pointpolygon.png +share/doc/opencv/ref/pics/quadedge.png +share/doc/opencv/ref/pics/right.jpg +share/doc/opencv/ref/pics/sigmoid_bipolar.png +share/doc/opencv/ref/pics/subdiv.png +share/doc/opencv/ref/pics/threshold.png +share/doc/opencv/ref/opencvref.css +share/doc/opencv/ref/opencvref_cv.htm +share/doc/opencv/ref/opencvref_cvaux.htm +share/doc/opencv/ref/opencvref_cxcore.htm +share/doc/opencv/ref/opencvref_highgui.htm +share/doc/opencv/ref/opencvref_ml.htm +share/doc/opencv/cvcam.rtf +share/doc/opencv/faq.htm +share/doc/opencv/index.htm +share/doc/opencv/license.txt +share/doc/opencv/opencv.jpg +share/doc/opencv/opencvman_old.pdf +share/doc/opencv/python.txt +share/doc/opencv/python-wrappers-on-windows.txt +share/opencv/haarcascades/haarcascade_frontalface_alt.xml +share/opencv/haarcascades/haarcascade_frontalface_alt.xml +share/opencv/haarcascades/haarcascade_frontalface_alt2.xml +share/opencv/haarcascades/haarcascade_frontalface_alt2.xml +share/opencv/haarcascades/haarcascade_frontalface_alt_tree.xml +share/opencv/haarcascades/haarcascade_frontalface_alt_tree.xml +share/opencv/haarcascades/haarcascade_frontalface_default.xml +share/opencv/haarcascades/haarcascade_frontalface_default.xml +share/opencv/haarcascades/haarcascade_fullbody.xml +share/opencv/haarcascades/haarcascade_fullbody.xml +share/opencv/haarcascades/haarcascade_lowerbody.xml +share/opencv/haarcascades/haarcascade_lowerbody.xml +share/opencv/haarcascades/haarcascade_profileface.xml +share/opencv/haarcascades/haarcascade_profileface.xml +share/opencv/haarcascades/haarcascade_upperbody.xml +share/opencv/haarcascades/haarcascade_upperbody.xml +share/opencv/readme.txt +share/opencv/samples/c/agaricus-lepiota.data +share/opencv/samples/c/agaricus-lepiota.data +share/opencv/samples/c/agaricus-lepiota.data +share/opencv/samples/c/airplane.jpg +share/opencv/samples/c/airplane.jpg +share/opencv/samples/c/airplane.jpg +share/opencv/samples/c/baboon.jpg +share/opencv/samples/c/baboon.jpg +share/opencv/samples/c/baboon.jpg +share/opencv/samples/c/blobtrack.cpp +share/opencv/samples/c/blobtrack.cpp +share/opencv/samples/c/blobtrack.cpp +share/opencv/samples/c/build_all.sh +share/opencv/samples/c/build_all.sh +share/opencv/samples/c/build_all.sh +share/opencv/samples/c/camshiftdemo.c +share/opencv/samples/c/camshiftdemo.c +share/opencv/samples/c/camshiftdemo.c +share/opencv/samples/c/contours.c +share/opencv/samples/c/contours.c +share/opencv/samples/c/contours.c +share/opencv/samples/c/convert_cascade.c +share/opencv/samples/c/convert_cascade.c +share/opencv/samples/c/convert_cascade.c +share/opencv/samples/c/convexhull.c +share/opencv/samples/c/convexhull.c +share/opencv/samples/c/convexhull.c +share/opencv/samples/c/cvsample.dsp +share/opencv/samples/c/cvsample.dsp +share/opencv/samples/c/cvsample.dsp +share/opencv/samples/c/cvsample.vcproj +share/opencv/samples/c/cvsample.vcproj +share/opencv/samples/c/cvsample.vcproj +share/opencv/samples/c/delaunay.c +share/opencv/samples/c/delaunay.c +share/opencv/samples/c/delaunay.c +share/opencv/samples/c/demhist.c +share/opencv/samples/c/demhist.c +share/opencv/samples/c/demhist.c +share/opencv/samples/c/dft.c +share/opencv/samples/c/dft.c +share/opencv/samples/c/dft.c +share/opencv/samples/c/distrans.c +share/opencv/samples/c/distrans.c +share/opencv/samples/c/distrans.c +share/opencv/samples/c/drawing.c +share/opencv/samples/c/drawing.c +share/opencv/samples/c/drawing.c +share/opencv/samples/c/edge.c +share/opencv/samples/c/edge.c +share/opencv/samples/c/edge.c +share/opencv/samples/c/facedetect.c +share/opencv/samples/c/facedetect.c +share/opencv/samples/c/facedetect.c +share/opencv/samples/c/facedetect.cmd +share/opencv/samples/c/facedetect.cmd +share/opencv/samples/c/facedetect.cmd +share/opencv/samples/c/ffilldemo.c +share/opencv/samples/c/ffilldemo.c +share/opencv/samples/c/ffilldemo.c +share/opencv/samples/c/fitellipse.c +share/opencv/samples/c/fitellipse.c +share/opencv/samples/c/fitellipse.c +share/opencv/samples/c/fruits.jpg +share/opencv/samples/c/fruits.jpg +share/opencv/samples/c/fruits.jpg +share/opencv/samples/c/houghlines.c +share/opencv/samples/c/houghlines.c +share/opencv/samples/c/houghlines.c +share/opencv/samples/c/image.cpp +share/opencv/samples/c/image.cpp +share/opencv/samples/c/image.cpp +share/opencv/samples/c/inpaint.cpp +share/opencv/samples/c/inpaint.cpp +share/opencv/samples/c/inpaint.cpp +share/opencv/samples/c/kalman.c +share/opencv/samples/c/kalman.c +share/opencv/samples/c/kalman.c +share/opencv/samples/c/kmeans.c +share/opencv/samples/c/kmeans.c +share/opencv/samples/c/kmeans.c +share/opencv/samples/c/laplace.c +share/opencv/samples/c/laplace.c +share/opencv/samples/c/laplace.c +share/opencv/samples/c/lena.jpg +share/opencv/samples/c/lena.jpg +share/opencv/samples/c/lena.jpg +share/opencv/samples/c/letter-recognition.data +share/opencv/samples/c/letter-recognition.data +share/opencv/samples/c/letter-recognition.data +share/opencv/samples/c/letter_recog.cpp +share/opencv/samples/c/letter_recog.cpp +share/opencv/samples/c/letter_recog.cpp +share/opencv/samples/c/lkdemo.c +share/opencv/samples/c/lkdemo.c +share/opencv/samples/c/lkdemo.c +share/opencv/samples/c/makefile.gnu +share/opencv/samples/c/makefile.gnu +share/opencv/samples/c/makefile.gnu +share/opencv/samples/c/makefile.ms +share/opencv/samples/c/makefile.ms +share/opencv/samples/c/makefile.ms +share/opencv/samples/c/minarea.c +share/opencv/samples/c/minarea.c +share/opencv/samples/c/minarea.c +share/opencv/samples/c/morphology.c +share/opencv/samples/c/morphology.c +share/opencv/samples/c/morphology.c +share/opencv/samples/c/motempl.c +share/opencv/samples/c/motempl.c +share/opencv/samples/c/motempl.c +share/opencv/samples/c/mushroom.cpp +share/opencv/samples/c/mushroom.cpp +share/opencv/samples/c/mushroom.cpp +share/opencv/samples/c/pic1.png +share/opencv/samples/c/pic1.png +share/opencv/samples/c/pic1.png +share/opencv/samples/c/pic2.png +share/opencv/samples/c/pic2.png +share/opencv/samples/c/pic2.png +share/opencv/samples/c/pic3.png +share/opencv/samples/c/pic3.png +share/opencv/samples/c/pic3.png +share/opencv/samples/c/pic4.png +share/opencv/samples/c/pic4.png +share/opencv/samples/c/pic4.png +share/opencv/samples/c/pic5.png +share/opencv/samples/c/pic5.png +share/opencv/samples/c/pic5.png +share/opencv/samples/c/pic6.png +share/opencv/samples/c/pic6.png +share/opencv/samples/c/pic6.png +share/opencv/samples/c/pyramid_segmentation.c +share/opencv/samples/c/pyramid_segmentation.c +share/opencv/samples/c/pyramid_segmentation.c +share/opencv/samples/c/squares.c +share/opencv/samples/c/squares.c +share/opencv/samples/c/squares.c +share/opencv/samples/c/stuff.jpg +share/opencv/samples/c/stuff.jpg +share/opencv/samples/c/stuff.jpg +share/opencv/samples/c/watershed.cpp +share/opencv/samples/c/watershed.cpp +share/opencv/samples/c/watershed.cpp +share/opencv/samples/python/cam-histo.py +share/opencv/samples/python/cam-histo.py +share/opencv/samples/python/cam-histo.py +share/opencv/samples/python/capture-cam.py +share/opencv/samples/python/capture-cam.py +share/opencv/samples/python/capture-cam.py +share/opencv/samples/python/chessboard.py +share/opencv/samples/python/chessboard.py +share/opencv/samples/python/chessboard.py +share/opencv/samples/python/contours.py +share/opencv/samples/python/contours.py +share/opencv/samples/python/contours.py +share/opencv/samples/python/convexhull.py +share/opencv/samples/python/convexhull.py +share/opencv/samples/python/convexhull.py +share/opencv/samples/python/delaunay.py +share/opencv/samples/python/delaunay.py +share/opencv/samples/python/delaunay.py +share/opencv/samples/python/demhist.py +share/opencv/samples/python/demhist.py +share/opencv/samples/python/demhist.py +share/opencv/samples/python/dft.py +share/opencv/samples/python/dft.py +share/opencv/samples/python/dft.py +share/opencv/samples/python/distrans.py +share/opencv/samples/python/distrans.py +share/opencv/samples/python/distrans.py +share/opencv/samples/python/drawing.py +share/opencv/samples/python/drawing.py +share/opencv/samples/python/drawing.py +share/opencv/samples/python/edge.py +share/opencv/samples/python/edge.py +share/opencv/samples/python/edge.py +share/opencv/samples/python/facedetect.py +share/opencv/samples/python/facedetect.py +share/opencv/samples/python/facedetect.py +share/opencv/samples/python/ffilldemo.py +share/opencv/samples/python/ffilldemo.py +share/opencv/samples/python/ffilldemo.py +share/opencv/samples/python/fitellipse.py +share/opencv/samples/python/fitellipse.py +share/opencv/samples/python/fitellipse.py +share/opencv/samples/python/houghlines.py +share/opencv/samples/python/houghlines.py +share/opencv/samples/python/houghlines.py +share/opencv/samples/python/inpaint.py +share/opencv/samples/python/inpaint.py +share/opencv/samples/python/inpaint.py +share/opencv/samples/python/kalman.py +share/opencv/samples/python/kalman.py +share/opencv/samples/python/kalman.py +share/opencv/samples/python/kmeans.py +share/opencv/samples/python/kmeans.py +share/opencv/samples/python/kmeans.py +share/opencv/samples/python/laplace.py +share/opencv/samples/python/laplace.py +share/opencv/samples/python/laplace.py +share/opencv/samples/python/lkdemo.py +share/opencv/samples/python/lkdemo.py +share/opencv/samples/python/lkdemo.py +share/opencv/samples/python/logpolar.py +share/opencv/samples/python/logpolar.py +share/opencv/samples/python/logpolar.py +share/opencv/samples/python/minarea.py +share/opencv/samples/python/minarea.py +share/opencv/samples/python/minarea.py +share/opencv/samples/python/minidemo.py +share/opencv/samples/python/minidemo.py +share/opencv/samples/python/minidemo.py +share/opencv/samples/python/morphology.py +share/opencv/samples/python/morphology.py +share/opencv/samples/python/morphology.py +share/opencv/samples/python/motempl.py +share/opencv/samples/python/motempl.py +share/opencv/samples/python/motempl.py +share/opencv/samples/python/pyramid_segmentation.py +share/opencv/samples/python/pyramid_segmentation.py +share/opencv/samples/python/pyramid_segmentation.py +share/opencv/samples/python/squares.py +share/opencv/samples/python/squares.py +share/opencv/samples/python/squares.py +share/opencv/samples/python/watershed.py +share/opencv/samples/python/watershed.py +share/opencv/samples/python/watershed.py +@dirrm share/opencv/samples/python +@dirrm share/opencv/samples/c +@dirrm share/opencv/samples +@dirrm share/opencv/haarcascades +@dirrm share/opencv +@dirrm share/doc/opencv/ref/pics +@dirrm share/doc/opencv/ref +@dirrm share/doc/opencv/papers +@dirrm share/doc/opencv +@dirrm include/opencv diff --git a/graphics/opencv/distinfo b/graphics/opencv/distinfo new file mode 100644 index 00000000000..873048a6f63 --- /dev/null +++ b/graphics/opencv/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/11/09 05:13:41 uebayasi Exp $ + +SHA1 (opencv-1.0.0.tar.gz) = c7dd500703b0060cedfa049fcb33de0846e631fb +RMD160 (opencv-1.0.0.tar.gz) = f041798ea63101b90e945957e0d0ad3f7497dcd4 +Size (opencv-1.0.0.tar.gz) = 11146334 bytes +SHA1 (patch-aa) = 2411f8ccfc2c9b1d5713840bbea939caee1b5bca diff --git a/graphics/opencv/patches/patch-aa b/graphics/opencv/patches/patch-aa new file mode 100644 index 00000000000..9a400dbb1cc --- /dev/null +++ b/graphics/opencv/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2006/11/09 05:13:41 uebayasi Exp $ + +--- docs/Makefile.in.orig 2006-11-04 00:54:54.000000000 +0900 ++++ docs/Makefile.in +@@ -224,7 +224,7 @@ target_alias = @target_alias@ + target_cpu = @target_cpu@ + target_os = @target_os@ + target_vendor = @target_vendor@ +-opencvdocdir = $(pkgdatadir)/doc ++opencvdocdir = $(datadir)/doc/opencv + nobase_dist_opencvdoc_DATA = cvcam.rtf faq.htm index.htm \ + license.txt opencv.jpg opencvman_old.pdf \ + papers/algo_tracking.pdf papers/avbpa99.ps papers/camshift.pdf \ -- cgit v1.2.3