Stack Exchange Network

Stack Exchange network consists of 174 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.

-2
votes
0answers
14 views

Octave 4.2.2 having ambiguous issue while compiling with c++14 [on hold]

Recently i upgraded to c++14 because of its advanced features, but i am facing ambiguous issue with Octave compilation for Range and Complex variables in my project where i used c++14 to compile ...
0
votes
0answers
15 views

OpenCV webcam issues

Any time I use OpenCV to attempt to open my integrated laptop camera I encounter an error. For example: import kivy kivy.require('1.9.1') from kivy.app import App from kivy.uix.label import Label ...
1
vote
0answers
30 views

OpenCV with Gstreamer installation…possible?

I have some Python code which utilizes OpenCV in a way to use Gstreamer pipelines in lieu of a webcam or video file as input to a 'Videocapture' command...for a simple example: send = cv2....
0
votes
0answers
4 views

Find Frames in a video that matches an image [migrated]

I am trying to find frames that matches an image using opencv. I also want to find the timeframe at which the the image is found. The video is a masked video. The code so far: def occurence_counter(...
1
vote
0answers
15 views

How to get fourCC LAGS to work on opencv-python? [closed]

I am getting this error: Could not find encoder for codec id 147: Encoder not found On one machine, VideoWriter still writes the frame to output while on another, no frames get written. I ...
0
votes
0answers
39 views

What is the solution to the DLL errors with specific Python packages with Windows?

Specific packages such as cv2, numpy, etc. sometimes loads seamlessly, however, sometimes give DLL error. For e.g. import cv2 Traceback (most recent call last): File "", line 1, in import cv2 ...
0
votes
1answer
430 views

OpenVINO installation on Raspbian - usbboot.rules file issue

I am attempting to install OpenVINO on my Raspberry Pi 3 B+ to use the Neural Compute Stick 2. They just recently released support for this and I am following the installation instructions here: https:...
0
votes
0answers
35 views

Pass ffmpeg stream through python script

Please tell me how to pass my stream from ffmepg through python script, get response back, and pass it to ffmpeg again? For now i have something like this: FFMPEG_SCRIPT = [ "ffmpeg", '-i', 'fifo',...
-2
votes
0answers
29 views

Error while Building OpenCV with MingW and Cmake on Windows 10

I want to compile OpenCV with MingW and Cmake in Windows 10. I have : OpenCV version : 3.4.4 g++ (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 7.3.0 gcc (x86_64-posix-seh-rev0, Built by MinGW-...
1
vote
0answers
43 views

simple pedestrian recognition from command line? [closed]

Maybe I'm not searching for the right keywords but I am looking for a really simple pedestrian recognition tool I can use from a command line - I only need to know, wether a human is in an image or ...
1
vote
0answers
243 views

Run OpenCV commands on command Prompt

I am completely new to doing these things, so please bear with me. To learn more about using OpenCV, I installed it with pip for python 3.6.5. This worked fine at first, but eventually, I started ...
2
votes
0answers
252 views

stitch multiple microscope images using python

I'm trying to stitch a scan of a large area made using a microscope but I'm not having a whole lot of luck. I started testing with 3 images extracted from a scanning video. I stitched each 2 matching ...
1
vote
1answer
254 views

opencv_core245.dll & opencv_ml245.dll missing

I'm trying to install some important software related to my work (on Windows 10), but when I try to run it an error pops up saying that opencv_core245.dll & opencv_ml245.dll are missing. I have ...
0
votes
0answers
58 views

Extract Top and Bottom Layer in TIFF Image with Multiple Layers

I need some of your help to extract just the Top and Bottom layer in TIFF File and remove rest of the layers from the TIFF . Can you help me with some Imagemagick/ OpenCV code?
1
vote
1answer
980 views

Low latency video shared in local gigabit network using linux

For a robotics task we need to share the video (Webcam) live to about 6 or 7 users in the same room. OpenCV will be used on the clients to read the situation and send new tasks to the robots. Latency ...
1
vote
1answer
65 views

Audiovisual content looses synchronization

I have a .mp4 video file which came from an uncompressed .avi captured from a webcam through emgu. The emgu videoWriter is set to 30fps even the real video fps is possibly lower, e.g., 29fps. The ...
0
votes
0answers
289 views

CUDA compilation inOpenCV in Arch Linux

I'm trying to compile programs in OpenCV 3.2.0 with CUDA, I have a Graphic Card Nvidia Gforce 950M (Maxwell) and I use Arch Linux First of all, I had installed on Arch Linux X64 and the lastest ...
0
votes
0answers
73 views

Any way to get an image in terminal?

So I have a Raspberry Pi Zero that i would like to turn into a dedicated microscope. The microscope image will be displayed through HDMI. Since I want to have as little CPU hog as possible, I want to ...
1
vote
0answers
72 views

Merging two videos while skipping common parts

A customer has a collection of tutorial videos, all of which have the following structure: preview (or recap) intro (always identical) repeated part from previous video (optional) new content outro ...
1
vote
0answers
44 views

Setting up stereo cameras

I am about to set up stereo cameras, and use OpenCV for real-time image and depth processing, the last time I tried, I have bought a pair of uncompressed cameras which the problems like this and this ...
1
vote
2answers
485 views

gtk_widget_set_realized was not declared in this scope

I'm trying to compile OpenCV 3.1.0 on RHEL 6.4 and getting the following error: [ 34%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/window_gtk.cpp.o /hpcf/libs/opencv/vendor/...
1
vote
1answer
2k views

OpenCV: ImportError: libavcodec.so.54

I am using Ubuntu, and whenever I try to import cv2 to python I get the following error: ImportError: libavcodec.so.54: cannot open shared object file: No such file or directory I looked online ...
0
votes
1answer
711 views

Visual Studio deletes my CMake.exe

I'm installing OpenCV from this [very out of date] tutorial. I made it through the configuration step and everything seemed fine, but then when I try to build the OpenCV.sln, I get a bunch of these ...
8
votes
3answers
25k views

Install OpenCV in CentOS

I am trying to install OpenCV in CentOS 6. When I run the command [root@cosmas opt]# sudo yum install libtiff4-dev libjpeg-dev libjasper-dev it returned the follow: Loaded plugins: fastestmirror, ...
1
vote
3answers
2k views

OpenCL support hardware requirements

Does my machine support OpenCL? I found Conformant Products where the list contains the required hardware requirements. Please find the below screenshots of few of my machine. Does any one of the ...
5
votes
2answers
27k views

Which directory is opencv “installed” in?

Operating System: #! (crunch bang) Dependencies: opencv I am attempting to install cvblob (a library for opencv) and I am at the compilation stage in the directions that of which can be seen below. ...
0
votes
2answers
1k views

What makes VLC and Google Chome succeed where MPlayer and OpenCV fail?

I have this MJPEG stream. When I open it with VLC or with Chrome, it works perfectly, and in both cases the stream starts instantly (or atleast within one second). However, with MPlayer, I get this ...
0
votes
2answers
2k views

Using OpenCV without an IDE

I need to run a C++ program using OpenCV on a BeagleBoard running Angstrom. I know how to do this with an IDE (The program itself is ready), but I don't know how to compile it without one. I realize ...
0
votes
1answer
7k views

How to remove all installation of opencv from fedora 17?

I want to remove opencv from my fedora. I installed it from scratch by compiling it. It was loaded to /usr/local directory but distributed to all folders inside. Is there any special command or ...
3
votes
1answer
2k views

Trouble compiling OpenCV for Linux on an Optimus laptop using bumblebee

OK, I have a pretty specific Optimus/CUDA/drivers question: I'm running Ubuntu 12.04 on an Acer Aspire 5750G. This laptop has a CUDA-capable GT540M GPU, but it also has Optimus, so in order to make ...
4
votes
3answers
15k views

How can I virtualize an ARM machine in Windows?

I'm interested in developing some programs that use OpenCV, but I want them to run on an ARM environment. Can I virtualize the ARM under a Windows environment with VMWare or VirtualBox or something?
6
votes
1answer
2k views

brew link jpeg issues

I am trying to install opencv on Mac OSX Lion. brew install opencv I get the following error (and a few other similar ones) Error: The linking step did not complete successfully The formula built, ...
5
votes
3answers
8k views

Homebrew is “cowardly refusing” to install OpenCV

I am trying to install OpenCV with Homebrew. After typing sudo brew install opencv I get this error message Cowardly refusing to sudo brew install How can I solve this?
1
vote
1answer
1k views

cv.h not found in fedora 15 install of opencv and highgui

I'm writing object tracking software in C++ and using OpenCV and highgui. The problem I have right now is that even after sudo yum install opencv and using the yumex frontend to ensure that all of the ...
1
vote
0answers
698 views

How to install openCV running from Python on OS X

(Step 1) I'm trying to get openCV to run from python on my mac using the MacPorts install, and also trying to follow The Petite Geek's guide: sudo port -v install opencv +python26 It runs for about ...
0
votes
2answers
537 views

OpenCV installation in Ubuntu 9.04

I wish to install OpenCV in Ubuntu 9.04, I used this installation guide, but nothing seems to work ! Is there anyone who has installed OpenCV in Ubuntu 9.04 ?
1
vote
1answer
1k views

installing OpenCV 2.0 on Ubuntu Karmic: still get ImportError from “import cv” in Python

I have tried compiling and installing from the 2.0.0 release source, the SVN head, and from a PPA. After each, I still get the following from a Python console: >>> import cv Traceback (most ...
0
votes
3answers
3k views

how to install opencv in ubuntu karmic koala

anyone know how to get a working install of opencv in karmic? I've tried pretty much every way i can find in a google search and none seem to work..