Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - opencv-git

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: opencv-git 3.2.0.r133.ga2fed4c79-1

Git Clone URL: https://aur-dev.archlinux.org/opencv-git.git (read-only)
Package Base: opencv-git
Description: Open Source Computer Vision Library
Upstream URL: http://opencv.org/
Licenses: BSD
Conflicts: opencv, opencv-git
Provides: opencv=3.2.0.r133.ga2fed4c79
Submitter: chenxing
Maintainer: andrewSC
Last Packager: andrewSC
Votes: 38
Popularity: 0.301779
First Submitted: 2012-07-31 00:21
Last Updated: 2017-02-03 14:37

Required by (139)

Sources (2)

Pinned Comments

andrewSC commented on 2016-12-06 16:19

Hi all, I've adopted this package and have made the following changes:
- Removal of ARM support (please comment if you would like it back)
- Added opencv_contrib to the build process

Right now this is a fairly vanilla PKGBUILD. As time goes on and I understand how the community uses the opencv package, I can make changes where appropriate.

If there's options or other things you would like to suggest for addition/removal to the PKGBUILD please feel free to comment! Thanks!

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

wallnuss commented on 2015-06-10 04:23

Updated the patches.

theodore commented on 2015-06-09 13:32

The patching still fails for some reason.

==> Starting pkgver()...
==> Starting prepare()...
patching file cmake/OpenCVGenPkgconfig.cmake
Hunk #1 FAILED at 10.
Hunk #2 FAILED at 35.
Hunk #3 FAILED at 52.
3 out of 3 hunks FAILED -- saving rejects to file cmake/OpenCVGenPkgconfig.cmake.rej
==> ERROR: A failure occurred in prepare().
Aborting...

wallnuss commented on 2015-05-19 00:55

Sorry I was away on vacation for the last couple of days, I will look into you suggestions.

@ryanvade There is a BUILD_opencv_python3 varaible mentioned here: https://github.com/Itseez/opencv/blob/master/CMakeLists.txt#L1124 and Python2 is set as a default here: https://github.com/Itseez/opencv/blob/master/cmake/OpenCVDetectPython.cmake#L235-L238

With regards to providing opencv the package already does. See the details up top. Which packages have a problem?

ryanvade commented on 2015-05-09 23:18

Is it possible to force python3 for building?

ryanvade commented on 2015-05-09 23:13

@goligo it built fine before as well. NEON is not needed. intel-tbb could be built from scratch. :)

@wallnuss I tried making the changes but some packages still conflict with this package and not the opencv in the repos.

rreignier commented on 2015-05-04 22:07

Now that intel-tbb has beeen added to the archlinuxARM repos, the armv7h arch can be added and NEON instructions used with the cmake flag '-D ENABLE_NEON=ON' with something like :
- arch=('i686' 'x86_64')
+ arch=('i686' 'x86_64' 'armv7h')
and
+ [[ "$CARCH" = 'armv7h' ]] && _cmakeopts+=('-D ENABLE_NEON=ON')

Successfully tested on a Raspberry Pi 2 and an Odroid C1.

wallnuss commented on 2015-04-18 01:23

@ryanvade there is already a provides in the PKGBUILD that should do the job. If that is not working for you, could you change it to `provides("opencv")` and `conflicts("opencv")` to see if that makes a difference to your setup?

ryanvade commented on 2015-04-18 01:05

Can this package provide opencv? I have plenty of other programs that need opencv but I also need Opencv 3 so it would be nice if this package could "provide" opencv.

wallnuss commented on 2015-03-27 16:50

Updated the patches to upstream changes

ryanvade commented on 2015-03-21 15:59

Patching failed:
http://slexy.org/view/s21uV2FXo6