Package Details: opencv-samples-git 4.6.0.r213.gbb64db98d8-1

Git Clone URL: https://aur.archlinux.org/opencv-git.git (read-only, click to copy)
Package Base: opencv-git
Description: Open Source Computer Vision Library (samples)
Upstream URL: https://opencv.org/
Licenses: BSD
Conflicts: opencv, opencv-samples, python-opencv
Submitter: chenxing
Maintainer: andrewSC
Last Packager: andrewSC
Votes: 43
Popularity: 0.000014
First Submitted: 2012-07-31 00:21 (UTC)
Last Updated: 2022-08-27 19:50 (UTC)

Dependencies (25)

Required by (3)

Sources (3)

Latest Comments

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

andrewSC commented on 2016-12-06 16:19 (UTC)

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!

nlgranger commented on 2016-10-18 13:02 (UTC) (edited on 2016-10-18 13:02 (UTC) by nlgranger)

I had to modify the PKGBUILD to make it build: https://gist.github.com/pixelou/58ff356ee4e6a3b66537347fe6ad4bec (based on @johnphho's submission). C++11 is required instead of c++98. OpenCL is explicitely disable because there are many open bugs related to it. Furthermore, you may want to disable the optimization flags and modify dependencies for compatibility.

orbital_sfear commented on 2016-10-07 18:10 (UTC) (edited on 2016-10-07 18:11 (UTC) by orbital_sfear)

@wallnuss thanks a bunch for the offer but my plate is already full and I'm worried I'd become unresponsive. Please use my suggestion in any way that would help.

vchuravy commented on 2016-09-21 04:24 (UTC)

@johnphho, or @orbital_sfear I can add you as co-maintainers if you are interested in contributing your changes.

johnphho commented on 2016-09-21 03:55 (UTC)

Here is PKGBUILD on top of the existing one: https://gist.github.com/johnphho/2b6764d991d633119d41e63350bb96ba. This supports cuda and gcc6 but I had to turn off the examples. If anyone can figure out how to compile the samples that would be great. I keep getting the error: Error: call of overloaded 'abs(double)' is ambiguous for the c examples.

orbital_sfear commented on 2016-09-20 23:23 (UTC) (edited on 2016-09-20 23:43 (UTC) by orbital_sfear)

@Petron is right, to elborate on his response: Manually apply the patch. Edit the PKGBUILD file, inside prepare() comment and add the following: patch -p1 -i "${srcdir}/fsh.patch" Change to: # patch -p1 -i "${srcdir}/fsh.patch" sed 's/OpenCV\/doc/doc\/opencv/' -i `grep -lr OpenCV\/doc * | grep CMakeLists.txt\$` sed 's/share\/OpenCV/share\/opencv/' -i `grep -lr share\/OpenCV * | grep CMakeLists.txt\$` sed 's/share\/OpenCV/share\/opencv/' -i `find . | grep opencv_run_all_tests_unix.sh.in\$` Rerun the install: packer -S opencv-git

petronny commented on 2016-08-30 11:03 (UTC) (edited on 2016-11-01 16:31 (UTC) by petronny)

Forget the patch and replace it with sed 's/OpenCV\/doc/doc\/opencv/' -i CMakeLists.txt sed 's/share\/OpenCV/share\/opencv/' -i CMakeLists.txt sed 's/share\/OpenCV/share\/opencv/' -i cmake/templates/opencv_run_all_tests_unix.sh.in in prepare()

yhoyhoj commented on 2016-06-22 20:33 (UTC)

I got the same problem as @jat255, the fsh.patch file seems outdated, and it is not an offset of 11 lines anymore. I modified it and it works. Here is the modified version : http://pastebin.com/JZiDFERM md5 sum : 12203576f2c864aeb9d9494c887e02c7

tuxayo commented on 2016-04-03 19:19 (UTC) (edited on 2016-04-03 19:21 (UTC) by tuxayo)

I was able to build install and use without any issue. It was version 3.1.0.r359.g0c06876 (commit 0c06876)

madprog commented on 2016-03-16 19:52 (UTC) (edited on 2016-03-16 19:55 (UTC) by madprog)

I managed to build it after applying the following patch (i.e. by specifying the commit in the repository URL): http://pastebin.com/uamrpdfB