Questions tagged [opencv]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
64 views

Install OpenCV on Arch Linux for C++ and Python using `pacman`

I want to install OpenCV (with GTK) latest stable version on my Arch Linux. I know how to manually build and install the library, but I don't want to go through all that. Is there a way to get it via ...
0
votes
0answers
32 views

How to make a debian package dependency to an older version of a library

I want to prepare a debian package with dependency to OpenCV 3.4.1. In debian/control I specify: Build-Depends: ... libopencv-dev (=3.4.1-xenial1.3), The problem is, that in our apt ...
0
votes
1answer
40 views

cmake and Installing opencv 4.x on Linux Debian 10 with Kernel 4.19.x

I am finding this info. online for building OpenCV 4.x on their homepage. I have not found a way to compile the samples or examples. Is it possible with cmake to install examples from the OpenCV 4.x ...
0
votes
0answers
20 views

How to use Opencv with java for linux?

I added the opencv's native library for windows. but, how can I add the opencv's native library for both linux 32 bit and 64 bit? How to use Opencv with java for linux ?
0
votes
0answers
37 views

Read IP camera | OpenCV3.4

I can able to read the IP camera video streaming by launching below gstreamer command (VCU decoding support) and also able to read the frames by using below OpenCV application program. gst-launch ...
2
votes
2answers
78 views

pip3 install opencv is looking at the wrong URL

I'm trying to install opencv with pip3 on my Devuan GNU/Linux 3, and this is what happens: $ pip3 install opencv Collecting opencv Could not install packages due to an EnvironmentError: 404 Client ...
0
votes
2answers
951 views

Can't build Darknet with CUDNN support

I`m trying to compile the sources from https://github.com/pjreddie/darknet using manjaro linux. But the build is having problems when I try to use the CUDNN switch. g++ -DOPENCV -I/usr/include/...
1
vote
1answer
3k views

pip install opencv-python gives error on Raspbian

I'm using a Raspberry Pi 3 B+ with Raspbian installed. When I run pip install opencv-python I get the following message: Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple ...
0
votes
1answer
411 views

Installing CUDA on my Ubuntu 18.04 system

I want to install CUDA on my system to run OpenCV. I have the NVIDIA 1050 Ti Mobile which supports the driver 390.116. I tried to install CUDA 10 and failed, I think because of the driver ...
0
votes
2answers
53 views

Making sense of a package with almost no files included

$ uname -a Linux laptop 4.19.0-2-amd64 #1 SMP Debian 4.19.16-1 (2019-01-17) x86_64 GNU/Linux I need to use cv::face::createLBPHFaceRecognizer(), which is not a part of the core OpenCV but rather a ...
1
vote
1answer
30 views

Is installation only copying some files in some specific folders? [closed]

I am interested to know when I install something like opencv for example, it just copies some files/folders in some folders/directories like usr/local/include or usr/local/lib? Or maybe some extra ...
0
votes
1answer
2k views

Can't link opencv libraries via Cmake in Linux

I used to have OpenCV3 from the Arch Linux pckage manager(pacman) and it worked fine but when I removed it and install OpenCV 3.4.1 and OpenCV-Contrib from source code nothing worked even the old ...
0
votes
1answer
770 views

Two OpenCV versions: update to one broke the other, though they should be separate

My Linux distribution (Antergos) installed the latest version of OpenCV from the repositories (version 3.14.1) about a week ago. For compatibility, I have OpenCV 2 (version 2.4.13.5) installed in a ...
5
votes
1answer
2k views

Arch Linux: problems building opencv with cuda; libopencv_core.so.3.4.0: undefined reference to `cblas_dgemm'

I am currently trying to build a version of opencv, featuring cuda, on my arch linux computer. For that, I use opencv-cuda-git as base version. Additionally, I modified the PKGBUILD and added ...
1
vote
1answer
704 views

How to install dependencies for OpenCV? [closed]

I am trying to install OpenCV by following the instructions on: https://docs.opencv.org/2.4/doc/tutorials/introduction/linux_install/linux_install.html When I run: sudo apt-get install cmake git ...
0
votes
0answers
119 views

CentOS - OpenCV installation error on 73% make in perf

Following this instruction https://superuser.com/a/725799 receive such error. What it could be and how to solve? > [ 73%] Building CXX object > modules/gpu/CMakeFiles/opencv_perf_gpu.dir/perf/...
1
vote
1answer
364 views

OpenCV based programs optimization embedded linux OS [closed]

I'm building my own Embedded Linux OS for Raspberry PI3 using Buildroot. This OS will be used to handle several applications, one of them performs objects detection based on OpenCV (v3.3.0). I ...
-1
votes
2answers
727 views

Is GTK+ lighter than OpenCV for showing pics and videos?

I want to use a library to showing pictures and videos in my C++ program running on an ARM-based board with Ubuntu-server. So I am looking for a way to minimise CPU consumption and memory needed, ...
0
votes
1answer
492 views

How to make a binary or .deb from application built from source?

I built OpenCV library from source on Raspberry Pi 3 and I don't want to repeat same, time consuming task on my other Raspberry Pis. Is there any way to generate binary or deb files of the built ...
0
votes
1answer
2k views

CMake returns linux/videodev.h not exist while build opencv

Got problem while building opencv accoding to link: Determining if the include file linux/videodev.h exists failed with the following output: Change Dir: /home/pi/opencv-3.1.0/build/CMakeFiles/...
0
votes
1answer
631 views

How (or can I) have a GTK application to open in a console?

My use case is that I have built a GTK based application (opencv) in Debian Jessie light which boots only in console mode. While Jessie light is for the raspberry pi, I believe my question applies to ...
1
vote
1answer
340 views

opensuse tumbleweed cannot install latest version of opencv

Available opencv version for tumbleweed on the website https://software.opensuse.org/package/opencv is listed 3.2, but when I try installing it on my laptop version 3.1 is installed. Can you please ...
0
votes
1answer
781 views

error during installation of opencv on ubuntu mate

I am following http://www.pyimagesearch.com/2016/10/24/ubuntu-16-04-how-to-install-opencv/ for the installation of Opencv on Ubuntu Mate 16.04 In the step 2 given by Step #2: Download the OpenCV ...
1
vote
1answer
2k views

Docker image with OpenCV and FFPMEG

I'm building a Docker image that enables OpenCV with ffmpeg support. My Dockerfile looks like RUN apt-get update && apt-get install -y \ git \ curl \ wget \ ...
0
votes
1answer
776 views

How to read videos in openCV on a linux machine?

I am trying to run some code from the internet (which works perfectly fine on another computer). But the software doesn't work because it can't open video files in openCV. According to a person I had ...
3
votes
1answer
2k views

dh_install cannot find usr/lib/lib*.a

I am trying to create a .deb package for openCV 3.2 for raspberry pi. My control file is: Source: opencv Priority: optional Maintainer: xxx <xxx@xx.xx> Build-Depends: debhelper (>= 9), ...
2
votes
1answer
6k views

what is “sys/videoio.h”?

trying to install opencv on my centos6 and always got this error meesage fatal error: sys/videoio.h: No such file or directory #include <sys/videoio.h> Anybody understand what sys/videoio.h is?...
-1
votes
1answer
2k views

How do I make FFMPEG check yes while installing OPENCV

I run cmake -D CMAKE_BUILD_TYPE=RELEASE .. to configure opencv and here are some of the check result -- Video I/O: -- DC1394 1.x: NO -- DC1394 2.x: ...
3
votes
1answer
2k views

How to add shared library dependencies to debian/control?

I am trying to make a debian package from a Qt application relying on OpenCV. What I did so far: I set up an Ubuntu in a Virtualbox I installed the neccessary software to compile and run the ...
2
votes
1answer
5k views

Error while loading shared libraries: internal error

I cross-compiled OpenCV for arm following this guide, and built this sample program. When I first ran it like this: ./DisplayImage image.png I got: ./DisplayImage: error while loading shared ...
0
votes
2answers
2k views

Building OpenCV on Arch Linux can't find gcc [closed]

I have successfully build OpenCV using this linux install tutorial on an Ubuntu distribution in the past, but recently, I needed to build it on a Arch Linux distribution. The command cmake -D ...
2
votes
1answer
5k views

Split a video to multiple chunks according to multiple starting and ending frame indices

Are there any tools (like FFmpeg or OpenCV) can split a video into multiple chunks according to some specific starting and ending frame indices? For example, given (0,20),(21,33),(40,60)..., each ...
1
vote
0answers
2k views

IDS uEye camera stream

I am using an IDS uEye XS USB camera (https://en.ids-imaging.com/store/produkte/kameras/usb-2-0-kameras/ueye-xs.html) and my problem is that according to the sdk description it does not have V4L or ...
1
vote
1answer
361 views

Tell Python to use alternative library

I am trying to use an alternative version of opencv (3.0) in my Python scripts. I compiled and installed this version to my home directory, and now I am trying to tell Python to use it. I have the ...
0
votes
2answers
3k views

Debian: unable to locate package opencv, known to exist

I'm running wheezy Debian on a BeagleBone: root@beaglebone:~# cat /etc/*-release PRETTY_NAME="Debian GNU/Linux 7 (wheezy)" NAME="Debian GNU/Linux" VERSION_ID="7" VERSION="7 (wheezy)" ID=debian ...
0
votes
1answer
2k views

lsd-slam installation failed during rosmake

I am trying to install the lsd-slam library without success. When typing during the last step of the installation: rosmake lsd_slam I got this output: [ rosmake ] rosmake starting... ...
3
votes
1answer
1k views

release/close capture of camera

I have opened webcam for capturing using OpenCV in C++. Then I stopped the program using CTRL+Z; The webcam could not turn off, Because was not defined in program. And I can not start my program ...
-2
votes
1answer
326 views

install OPENCV to Rasbian( Debian Linux )

I installed rasbian(debian) for windows . I want to install OPENCV. I have write the newest link . wget http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.4.9/opencv-2.4.9.zip But I ...
2
votes
2answers
2k views

install opencv-2.4-9 on centos 6.5 with cuda 5.5 support

I can't seem to install opencv 2.4.9 on centos 6.5 with cuda 5.5 support. This is my cmake output: [root@cadejos-0 opencv]# cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/opt/opencv -D ...
2
votes
1answer
3k views

Running a process multiple times at the same time

I have a c++ program with opencv library which takes an image as input and perform pose estimation,color detection,phog. When I run this program from the command line it takes around 4-5sec to ...
2
votes
1answer
3k views

ffmpeg webcam to device driver , output 8 bit grayscale

With the following command i'm trying to capture 10fps and send them the device driver. Now i want 8 bit gray raw frames (640x480= 307200 bytes per frame) to be send to the device driver. I can't ...
1
vote
1answer
430 views

Unable to install open CV in Ubuntu 12.04

I am trying to install openCv for learning purpose and then using it for OCR(Optical Character Recognition) but i am unable to install it in Ubuntu 12.04 I am following this link and able to carry ...
9
votes
2answers
8k views

How can I create a .deb package with my compiled OpenCV build?

OpenCV 2.4.2 took 6 hours to compile on the Raspberry Pi and I'd love to package everything up as a deb but I have never done that before. How can I package the compiled files so that they download or ...
6
votes
1answer
8k views

How do I configure OpenCV and Cygwin to work together?

I'm trying to configure OpenCV-2.2.0-win32-vs2010 with Cygwin to work together. Any ideas on how I can do that?