Questions tagged [opencv]

OpenCV (Open Source Computer Vision Library)

Filter by
Sorted by
Tagged with
0
votes
0answers
20 views

OpenCV not installing at the last stage on my Lubuntu system

I was installing OpenCV on Lubuntu. I was on very last stage of installation. I'm not understanding what to do next. Below is the error: (cv) archit@ubuntu:~/opencv/build$ cd /usr/local/python/cv2/...
0
votes
0answers
15 views

fatal IO error 22 (Invalid argument) on X server “:0”

When trying to do openCV subplot on my Ubuntu 20.04 I get the following error The X11 connection broke: Maximum allowed requested length exceeded (code 4) XIO: fatal IO error 22 (Invalid argument) ...
0
votes
0answers
13 views

streaming video recording in ubuntu

my project consists in sending a streaming video from a server to a client, in order to evaluate the QoE I want to record the video perceived by the client in order to make the comparison between the ...
0
votes
0answers
13 views

Can't use the camera via wsl for opencv [duplicate]

I have been using wsl -Ubuntu for all my python dev. Recently I have started learning OpenCV but I found out that I can't access the webcam via the wsl. Is there any way to access the webcam for ...
0
votes
0answers
20 views

conda install - Package not found error

I am using Ubuntu 16.04 and am trying to install opencv-contrib via conda using the command as shown at https://anaconda.org/michael_wild/opencv-contrib conda install -c michael_wild opencv-contrib ...
0
votes
0answers
47 views

Opencv4 giving undefined reference errors with pkg-config

I have recently updated to ubuntu 20.04. The default OpenCV version is now 4.2 and it is giving a lot of compilation errors. Below is a sample program #include "opencv2/highgui/highgui.hpp" #include ...
1
vote
0answers
33 views

Linking OpenCV library

So i already install OpenCV library two years ago on virtualenviroment for python and it work well using this step. Now i create some image processing program in C languange, but everytime i try to ...
0
votes
1answer
150 views

Using Kinect v1 as webcam in python

So for the last couple of days i've been trying to use my Kinect v1(1414) as a webcam for a project with OpenCV (Im using Ubuntu 16.04). I already installed Openkinect freenect (multiple times) and ...
0
votes
0answers
33 views

Image format for writing to disk with minimal memory mapping

I am developing an application(c++,gstreamer) in ubuntu that needs to read a video and save the frames as jpg(1920x1080) images - around 30 frames per second. Which image format is the closest to ...
2
votes
0answers
84 views

After ~1 Hour of working, VIDEOIO ERROR: V4L2: Pixel format of incoming image is unsupported by OpenCV

I'm using OpenCV with Python3 to capture images from a 720p WebCam on USB. It's operating on a headless processor, so I can't use the Cam application to check the device. ubuntu@arm:~$ pkg-config --...
0
votes
0answers
141 views

OpenCV: Setting runtime path

Set runtime path of "/usr/local/bin/opencv_version" to "/usr/local/lib" I installed openCV successfully, butI am not able to include libraries in my C++ files. Is this issue to related to runtime ...
0
votes
0answers
48 views

Opencv version 4.02 accessing Cuda backend

My goal is to use Cuda backend in Opencv version 4.2. I installed OpenCV (version 4.2) from source using following guideline: https://www.cloudbooklet.com/how-to-install-opencv-on-ubuntu-18-04/ ...
0
votes
1answer
87 views

Opencv Build Process Error on ubuntu raspberry pi 3b+

Hi I Need Some Help i have tried to install opencv in python 3.7 but i found on the internet that it is not supported so you have build it from the scratch. i followed this tutorial Here i was able ...
0
votes
1answer
192 views

is opencv::dnn module compatible with Ubuntu

I have compiled an application (YOLOv3) using opencv::dnn module on windwos. Now I want to compile the same application on Ubuntu. But I am unable to run it. Have some worked on opencv::dnn in Ubuntu?
0
votes
0answers
54 views

how to run yolo (using opencv::dnn)on ubuntu

i have compiled c++ code in windows(opencv4.1.0) for implementing YOLOv3 using opencv::dnn module, without using darknet. i want to build this application on ubuntu now. i have installed opencv 4.1.0 ...
0
votes
1answer
51 views

Error In installing ubuntu open Cv on ubuntu server raspberry pi 3b+

My python version is python3 --version Python 3.7.5 i am trying to install opencv on raspberry pi 3b+ i have used the following command but i always get error pip3 install opencv-python ...
0
votes
0answers
144 views

Install opencv in Dockerfile

I've built a custom version of opencv including the -D CPACK_BINARY_DEB=ON option, I now want to include my opencv installation in a Dockerfile from the deb files. I have an ubuntu docker image that ...
0
votes
0answers
151 views

HIKVISION DS-2CD202WF-I(W) RTSP STREAM LAG

I have a HIKVISION DS-2CD202WF-I(W) camera. The stream through the HIKVISION webpage - accessed using the camera IP address - in Internet Explorer and the ONVIF Device Manager(ODM) in Windows 10 works ...
-1
votes
1answer
87 views

How i solve this error?

My Code is import numpy as np import cv2 as cv img = cv.imread('img.jpg',0) cv.imshow('image',img) cv.waitKey(0) cv.destroyAllWindows() And the error is Traceback (most recent call last): File "...
0
votes
1answer
62 views

When I open terminal i find this message . how i resolve this?

I see This error when i open terminal. It occur after my failure in installing open cv and pandas on my computer. In this image the error is /home/ujjwal/anaconda3/bin/python: Error while finding ...
1
vote
1answer
132 views

Missing files on libopencv-contrib?

I'm trying to use some features/modules of the opencv_contrib package, but apparently the version on Ubuntu's repositories (using 18.04 LTS), for some reason, does not include the tracking module? I'...
0
votes
0answers
100 views

Install libopencv-dev:arm64 in Ubuntu 18.04 docker image on amd64

I want to create a docker image for a cross-toolchain for arm64, that can use the opencv library. I installed some ***-aarch64-linux-gnu tools as the toolchain and called the following command to be ...
1
vote
1answer
910 views

Install from ppa:jonathonf/ffmpeg4 403 Forbidden [IP: 91.189.95.83 80]

I am (linux beginner) trying to install Opencv on Ubuntu bionic 18.04, following this git shell scripts to install different version of OpenCV instructions. But I'm getting a 403 Forbidden [IP: 91....
0
votes
0answers
133 views

How to use cv2.dnn module in opencv2 3.1 on python 3.5.2 64bit?

Actually i know there is no dnn(especially dnn.readNet) module in opencv2 3.1. So I have to upgrade opencv2 version(> 3.1), and there is sort of questions. I built CV2 to use make before ...
0
votes
1answer
209 views

Can't install opencv 2.4.9 on Ubuntu 18.04, get CXXCompiler error

I am trying to install opencv 2.4.9 on Ubuntu 18 to support an older software. After downloading the version from the sourceforge link, I create a build folder and run the following cmake command. ...
0
votes
0answers
29 views

OpenCV Installation from Source Code

I am using Ubuntu 18.04 LTS. If I install OpenCV from repository, it is not the latest version and I would miss the latest features. If I install the latest version from source code, the "build" ...
0
votes
0answers
24 views

Erros installing Opencv on Ubuntu16.04

I am following the tutorial Install OpenCV-Python in Ubuntu to install Opencv on Ubuntu 16.04. Every step is gone well until the last step. When I use make command in the last step, it appeared error ...
-1
votes
1answer
79 views

What do I do after running make, to use lcd-opencv-simulator?

I'm new to Ubuntu and I need to run a LCD simulator our professor has given us without giving us sufficient information on how to actually use it. The program requires OpenCV, which I believe I ...
0
votes
1answer
340 views

Why python script stops executing the statement of loop but the process itself is alive?

i am running face recognition python script on Ubutnu 18.04 as a daemon which takes pictures from another server with ssh request and performs operations on them . i have this code in python script ...
1
vote
0answers
36 views

The ssh connection is lost when force quit a window

I'm using ssh to connect to the server (Ubuntu 19.04) and work with jupyter-notebook. I open a window using OpenCV, and then when I want to close the window, I should force quit it, because the close ...
1
vote
0answers
663 views

why does rtsp stream in vlc takes less cpu load than python opencv rtsp?

Even though both of the applications are built using same opencv backend, why does the vlc player take lesser load (almost half the load) than a python opencv application to stream the same rtsp video ...
0
votes
1answer
56 views

I'm installing opencv in ubuntu 16.04. After installing the necessary prerequisites I used the following command:-

avi@avi-VPCEB46FG:~$ cd ~/opencv avi@avi-VPCEB46FG:~/opencv$ cd build avi@avi-VPCEB46FG:~/opencv/build$ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local .. During the installation ...
1
vote
2answers
428 views

Problem running private Application with FFMPEG on Ubuntu 19

I am facing the following error when running an application: ./Application: /lib/x86_64-linux-gnu/libavutil-ffmpeg.so.54: version `LIBAVUTIL_FFMPEG_54' not found (required by /usr/local/lib/...
0
votes
0answers
161 views

How to fix undefined reference to TIFFOpen-TIFFClose-TIFFGetFiled on Ubuntu-19.04

I have recently installed Ubuntu-19.04. I saved the the most important data from Ubuntu-18.04 as an enormous .tar file as I had some broken files on my 18.04 and transferred everything to the new 19....
0
votes
0answers
60 views

Access webcam feed from multiple processes

I am using a Jetson TX2 (ARM64 architecture with Ubuntu 16.04 installed with Jetpack 3.3) with a Logitech BRIO for remote object detection with Tensorflow with Python3 and OpenCV3. At the same time i ...
0
votes
1answer
817 views

VideoCapture.read() using OpenCV. Why is USB Camera faster than CSI Camera? (NO GPU)

I am using NanoPi Duo 2 for the real-time image acquisition project. I have noticed a significant performance (speed) difference between using CSI camera and USB camera. The performance difference ...
1
vote
1answer
2k views

Python3:ImportError: /usr/lib/python3.7/cv2/cv2.so: undefined symbol: PyInt_Type

I have installed opencv2 with 'pip3 install opencv' command. After that, I've opened the python3 terminal from 'python3' command. Then typed import cv2 to test installation. Command-line gave me an ...
1
vote
0answers
3k views

UnsatisfiableError: The following specifications were found to be incompatible with each other

How to Install opencv using conda with python3.7 on ubuntu 18.04? I am following this link and others, but getting the following error: UnsatisfiableError: The following specifications were found ...
3
votes
1answer
1k views

Is it possible to only download a single frame from a youtube video?

Let me explain what I had set up. I've been using pytube (Python module) to download videos from YouTube. I would then extract a few random frames from the video and save them as jpegs. I don't need ...
0
votes
0answers
110 views

Unable to find .jar for opencv under build/bin to add Opencv to Eclipse as a user libriary in Ubuntu 18.04

I have already installed Apache Ant and then I installed OpenCV in a folder. However the contents under opencv/build/bin show no trace of a jar file whatsoever. How, then, do I add it to eclipse, sir? ...
1
vote
0answers
295 views

How to obtain the same performance of self-compiled OpenCV as the package from the repository

I recently decided to compile OpenCV myself on my newer Ubuntu 18.04 machine (which previously had no installation of OpenCV whatsoever). However, I noticed severe performance drops out of software I'...
0
votes
1answer
846 views

Compiling Opencv cpp code in ubuntu

while compiling the below code.. #include <opencv2/core/core.hpp> #include <opencv2/imgcodecs.hpp> #include <opencv2/highgui/highgui.hpp> #include <iostream> #include <...
0
votes
1answer
2k views

OpenCV says module object has no attribute face

I am building a robot with face detection and recognition function. I have got the face detection part working. However for face recognition I am getting the following error (using python): ...
0
votes
0answers
40 views

opencv installation error

I'm trying to install opencv and now i'm getting errors.. I made a build folder in opencv directory. I ran following command: cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D ...
0
votes
0answers
328 views

How to install armhf package on ubuntu 18.04 Bionic Beaver

I'm trying to install Opencv on ODROID XU4 ARM platform where I'm following this tutorial https://www.learnopencv.com/install-opencv-4-on-ubuntu-18-04/. I am using ubuntu 18.04 Bionic Beaver(32 bits). ...
5
votes
2answers
1k views

How to Install Shotwell with Face Detection in Bionic Beaver 18.04 LTS

I'm transitioning from Google Photos and I really liked Shotwell's features. However, face detection/recognition is very important to me because of how I manage my photos. I viewed this blog post that ...
3
votes
2answers
668 views

OpenCV compiles correctly but fails during .deb packaging

Attempting to follow some tutorials on building a .deb package for a newer version of OpenCV in Ubuntu 18.04. Here are my steps: wget https://github.com/opencv/opencv/archive/4.1.0.zip unzip 4.1.0....
0
votes
1answer
911 views

Unable to install libopencv-dev via apt-get

I am attempting to install libopencv-dev via apt-get install. So I ran sudo apt-get install libopencv-dev and it seems to install the package. However, when I inspect the directory where the lib ...
1
vote
1answer
210 views

How to run graphical python program on Ubuntu server?

I am working on face recognition project on Ubuntu 18.04 remote server. I don't know how to install the desktop(GUI) version. I can run face recognition program without the cv2.imshow part. How can I ...
0
votes
1answer
1k views

how to install opencv for python3.7 when default python3 is python3.5

I am trying to install opencv for my JetsonTX1. I have to build OpenCV from source CMake follow the link https://www.jetsonhacks.com/2018/06/04/build-opencv-3-4-with-cuda-on-nvidia-jetson-tx1/ The ...

1
2 3 4 5