Questions tagged [opencv]
The opencv tag has no summary.
47 questions
1
vote
0
answers
316
views
Why does opencv-python-headless take so long time to complete
I've noticed that when installing opencv-python-headless using pip3, the process takes a considerable amount of time to complete. I'm curious about the factors that contribute to this lengthy ...
0
votes
0
answers
246
views
Is it possible to install 2 python packages via pip, simultaneously, in different terminals?
My question is not about installing several packages in one line (all the questions I researched previously to asking this, talk about oneliner, but it is still sequential). I am installing opencv-...
3
votes
0
answers
1k
views
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" on arch linux
I'am currently trying to get some images outputted after running this code:
import cv2 as cv
import matplotlib.pyplot as plt
img = cv.imread('Photos/cat.jpg')
cv.imshow('cat', img)
plt.imshow(img)
...
1
vote
1
answer
5k
views
How can I find the usb devices camera?
I am begginer in LINUX, sorry if my question isn't the best.
I have a c++ app that uses OpenCV lib. This app runs at startup via a service(using systemctl). My app needs as arguments, the id of usb ...
0
votes
1
answer
347
views
v4l2 loopback working fine with openCV but weird output on OBS
I'm as CS student and i'm trying to make a project where I output my webcam video flow but as an ascii art.
In order to do so, I get the image from v4l2. then i use OpenCV to decode the image (i wasn'...
0
votes
0
answers
74
views
After installing opencv3.4 Centos 7 not rebooting in GUI
I was already using OpenCV 2.4.5 by installing it using yum install opencv opencv-devel.
But I was facing some problems as it doesn't have FFmpeg. I installed OpenCV 3.4 following this guide.
After ...
0
votes
1
answer
1k
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
0
answers
286
views
How to make a debian package dependency to an older version of a library [duplicate]
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
1
answer
404
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 ...
2
votes
2
answers
2k
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 ...
1
vote
2
answers
3k
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
1
answer
4k
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
1
answer
718
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
2
answers
83
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
1
answer
55
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
1
answer
3k
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
1
answer
1k
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 ...
7
votes
1
answer
3k
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
1
answer
1k
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 ...
1
vote
1
answer
640
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 ...
-2
votes
2
answers
980
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
1
answer
721
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
1
answer
4k
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
1
answer
2k
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
1
answer
472
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
1
answer
1k
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
1
answer
3k
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
1
answer
1k
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
1
answer
3k
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 <[email protected]>
Build-Depends: debhelper (>= 9), ...
2
votes
1
answer
8k
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
1
answer
3k
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
1
answer
3k
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
1
answer
7k
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
2
answers
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
1
answer
7k
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
0
answers
3k
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
1
answer
555
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
2
answers
5k
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
1
answer
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
1
answer
2k
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
1
answer
358
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
2
answers
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
1
answer
4k
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
1
answer
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
1
answer
466
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 ...
10
votes
2
answers
12k
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
1
answer
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?