Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [opencv]

The tag has no usage guidance.

0
votes
1answer
31 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 ...
1
vote
2answers
28 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
27 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
338 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 ...
1
vote
1answer
772 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
409 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
88 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
156 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
423 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
334 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
635 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
379 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
257 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
402 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 \ ...
1
vote
0answers
185 views

Not able to import cv2 in python2

There are already some answers for this question, but nothing is working for me. I am using Kali Linux, have anaconda 4.3.1 and python 2.7.13 installed. Initially, I was able to import cv2. Now, it is ...
0
votes
1answer
519 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
879 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), ...
1
vote
1answer
4k 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
1k 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
3k 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
2k 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
258 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
2k 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... ...
2
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 ...
-1
votes
1answer
311 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
2k 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
2k 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
404 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
3answers
5k 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 ...
5
votes
1answer
7k 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?