Questions tagged [opencv]

47 questions
10
votes
2 answers

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 include the necessary other libraries?
timelf123
  • 203
  • 1
  • 2
  • 5
7
votes
1 answer

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 additional flags to further adapt opencv to my…
tobi
  • 191
  • 10
6
votes
1 answer

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?
Simplicity
  • 161
  • 1
  • 3
3
votes
1 answer

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 Build-Depends: debhelper (>= 9), cmake Standards-Version: 3.9.5 Section: libs Homepage:
RdlP
  • 233
  • 5
  • 9
3
votes
1 answer

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 application (Qt related things, ffmpeg, codecs, OpenCV…
user203733
3
votes
1 answer

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 again because the capture program is still using…
Mohammad Etemaddar
  • 12,227
  • 7
  • 24
  • 35
2
votes
1 answer

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 figure out how to set the output with ffmpeg or the…
mgoubert
  • 123
  • 1
  • 4
2
votes
0 answers

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) plt.show() But instead, I'm receiving the…
Coelll
  • 31
  • 4
2
votes
2 answers

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 Error: Not Found for url:…
einpoklum
  • 8,772
  • 19
  • 65
  • 129
2
votes
1 answer

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 Anybody understand what sys/videoio.h is? where do I get a file like this one?
shadow_wxh
  • 171
  • 3
  • 13
2
votes
1 answer

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 libraries: libopencv_highgui.so.3.1: cannot open…
Alaa M.
  • 91
  • 2
  • 6
2
votes
1 answer

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 tuple means a starting and ending frame indices pair…
Jon
  • 2,107
  • 1
  • 11
  • 11
2
votes
2 answers

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 WITH_CUDA=ON /opt/opencv-2.4.9/opencv/ --…
rica01
  • 41
  • 5
2
votes
1 answer

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 complete. It takes around 60%cpu. When I try to run the…
user1583647
  • 121
  • 1
  • 3
1
vote
1 answer

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 upto step of downloading ffmpeg but while…
shailendra
  • 201
  • 2
  • 10
1
2 3 4