Questions tagged [opencv]

OpenCV (Open Source Computer Vision Library)

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

Uninstall OpenCV 4.2.0 and its Libraries

I'm quite new to Ubuntu and I just installed opencv and some additional libraries using sudo apt update sudo apt install libopencv-dev python3-opencv ...
0
votes
0answers
33 views

OpenCV installation in ubuntu 18.04 on Jetson Nano

when I am running this ubuntu command below error is coming: For installation I am using this link: https://jkjung-avt.github.io/opencv-on-nano/ Err:12 http://old-releases.ubuntu.com/ubuntu xenial-...
1
vote
0answers
23 views

I'm having trouble installing OCRopy, I want to use it to create train data for an old manuscript in latin. What prereqs are needed and lines to write

So I am new to using Ubuntu and I am trying to install OCRopy to make train data with the end goal of creating a transcript for a 15th c. manuscript. So far I am considering that my problem may be a ...
0
votes
0answers
50 views

How do I program python opencv to show only 2 of 2 cameras (the cameras are identical)

I have 2 of same USB camera, and I use this code in Rasbian (Raspberry pi3 B+) but it only show 1 of 2 cameras. If I use 1 laptop webcam and 1 USB webcam it show them both. How I can fix that? import ...
0
votes
0answers
16 views

how to interlink the diferent .so files with opencv libraries?

this is compiling step using to link and debug the OpenCV library with another different shared library which presents within the code.. g++ hello.cpp -L/usr/lib/ -o output -lOGSGG -std=c++11 pkg-...
0
votes
0answers
39 views

Connecting a wifi video camera

There are many inexpensive cameras that use WiFi to relay their camera video stream to phones and computers, which don't come with explicit documentation of the protocols that they use for streaming, ...
1
vote
0answers
66 views

libopencv-highgui2.4v5 : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to be installed when installing libopencv-dev python-opencv [duplicate]

How should I fix the following problem? (vision) mona@goku:~/research/code/vision/integration$ sudo apt-get install libopencv-dev python-opencv Reading package lists... Done Building dependency tree ...
0
votes
0answers
75 views

OpenCv for c++ on ubuntu is not getting installed

Assalamualaikum I followed this article from top to bottom But when I executed - pkg-config --modversion opencv an error message showed up -'Package opencv4 was not found in the pkg-config search ...
0
votes
1answer
42 views

Can't boot ubuntu, deleted 86_64x gnu accidently

Hi please help by mistake I deleted all of x86_64 linux folder and now the boot got stuck. Please help thank you
0
votes
0answers
73 views

Opencv on ubuntu 20.04

I'm using ubuntu 20.4 and try to install opencv through the source. I'm trying different methods but still could not make opencv work on my Ubuntu. Every time I try to import cv2 I receive: ...
1
vote
0answers
222 views

How do I install OpenCV for Python with freetype support?

How do I install OpenCV (I'm using Ubuntu 20.10) in such a way that I can do import cv2 cv2.freetype and not get an AttributeError? Do I have to compile it from source?
1
vote
1answer
489 views

Error when installing opencv (any version) on Ubuntu 18.04

I got an error in make command in opencv. [/usr/bin/ld: /usr/local/lib/libavcodec.a(vc1dsp_mmx.o): relocation R_X86_64_PC32 against symbol `ff_pw_9' can not be used when making a shared object; ...
0
votes
1answer
967 views

Ubuntu 20.04 : error when installing Caffe

I'm trying to install Caffe-Segnet (http://mi.eng.cam.ac.uk/projects/segnet/tutorial.html) on my Ubuntu 20.04 for a project I'm working on, and I encountered many difficulties, even when trying to ...
0
votes
1answer
763 views

opencv was not found in the pkg-config

Using cmake and cuda i create opencv , the file was saved in /usr/local/lib/python3.8/dist-packages/cv2/python-3.8/cv2.so now i'm trying to install darknet but i got this error Package opencv was not ...
0
votes
1answer
94 views

OpenCV: Error - Module not found -(on IDLE)

I have installed OpenCV on Ubuntu 18.04. The python installation is using conda(screenshot attached) I can import OpenCV from terminal and jupyter notebooks import on terminal and work with it. Now I ...
0
votes
0answers
24 views

Video feed from camera to window. Ubuntu Core 16

I'm currently working with a raspberry pi 3 that's running Ubuntu Core 16, and I have a camera hooked up to the CSI-2 port on the board. I'm trying to display the video from the camera onto a window. ...
0
votes
0answers
578 views

How do I install OpenCV for python 3.7.9 in Ubuntu 20.04

I have the following configuration: python --version Python 3.7.9 python3 --version Python 3.8.2 I must have this configuration so I can use python functions to call Matlab functions (according to ...
0
votes
0answers
781 views

How to specify the display used by cv2.imshow()

Goal: On a system with two displays and I want to specify the display used by the cv2.imshow command (python 3.6 with Ubuntu 18.04) Here is what I have tried: import os import cv2 def f(display): ...
0
votes
0answers
147 views

Error when installing libtiff5-dev

I've got stucked for 4 days on installing openCV.always got error while compile the source code. I assume because libtiff5-dev not installed on my machine, then I tiedy to install libtiff5-dev, here ...
0
votes
0answers
62 views

Install OpenCV on Ubuntu 16.04 Always getting error

I am trying to install openCV on Ubuntu 16.04, I follow this tutorial : https://www.youtube.com/watch?v=7jXtuAY-FKY ,but I always got error , I don't know with C or C++ stuff Makefile:160: recipe for ...
0
votes
1answer
493 views

How to install python-opencv without answering the quesitons?

I'm trying to create a docker image (using a Dockerfile) and as part of the process, I have to install apt-get install python-opencv. But it asks all these questions about geographic area and other ...
1
vote
1answer
463 views

How to reinstate videodev2.h in ubuntu 20.04

While building OpenCV I accidentally linked the wrong header file. Instead of linking videodeh.h like this : $ sudo apt-get install libdc1394-22 libdc1394-22-dev libxine2-dev libv4l-dev v4l-utils $ cd ...
1
vote
1answer
351 views

GTK style widget error in cv2

I wrote a script which perfectly runs in Windows. This is the script: import imutils import cv2 from imutils.video import VideoStream vs = VideoStream(src=0).start() while True: frame = vs.read()...
3
votes
0answers
3k views

make opencv2/opencv.hpp not found

I am trying to build fastfusion from this repo: https://github.com/tum-vision/fastfusion . In the installation step, after running CMake ., I have to run make. But the make command fails with the ...
0
votes
0answers
54 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
1answer
962 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
1k 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
627 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 ...
1
vote
1answer
1k 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 ...
2
votes
0answers
378 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
1answer
470 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
778 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?
1
vote
1answer
132 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 pip install ...
-1
votes
1answer
236 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
227 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
426 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'...
2
votes
1answer
1k 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
1answer
578 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. ...
-1
votes
1answer
89 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
1k 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
53 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
932 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
63 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
850 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
392 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
1answer
1k 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
3k 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 ...
6
votes
2answers
5k 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 ...
1
vote
0answers
505 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'...

1
2 3 4 5 6