Questions tagged [opencv]
65
questions
18
votes
3
answers
63k
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?
8
votes
3
answers
28k
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, ...
7
votes
3
answers
44k
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. ...
6
votes
1
answer
6k
views
25% of my .mp4 have "error reading header" in FFMPEG, OpenCV - but videos all play fine
I've got a Reolink security camera, which saved .mp4 files via FTP to a local server. I've then got my own Python-based application processing those videos. It's been working fine for the past year ...
6
votes
1
answer
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
3
answers
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?
3
votes
1
answer
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 ...
3
votes
0
answers
1k
views
stitch multiple microscope images using python [closed]
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 ...
2
votes
2
answers
3k
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:...
2
votes
2
answers
1k
views
Accessing Macbook Webcam on Ubuntu via VMWare Fusion
I am writing a program in C++ using opencv. I am working on Ubuntu via VMWare Fusion.
When I run my program, it seems the integrated webcam on my Mac is not recognized so I get the error message I ...
1
vote
1
answer
2k
views
installed Opencv 4.1.1 from source over 3.4.3, and C++ headers are not linking correctly
I jusst installed Opencv 4.1.1 from source, with python 3 bindings. My Python installation seems to work correctly, because if I run:
import cv2
cv2.__version__
I get '4.1.1'
However, I also want ...
1
vote
2
answers
2k
views
Error 'tesseract/baseapi.h' file not found when building opencv from source on macos
I am building opencv 4.1.0 from source on mojave and it gets to 54% before dying with the stated error:
/git/opencv-4.1.0/opencv_contrib/modules/text/src/precomp.hpp:54:10:
fatal error: 'tesseract/...
1
vote
2
answers
17k
views
Error installing dlib on Pycharm
I am trying to install dlib on Pycharm (which is similar to Anaconda) in order to use it for my Python and OpenCV face detection project.
I have installed cMake and upgraded Python but there is ...
1
vote
1
answer
2k
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
2
answers
5k
views
OpenCV Failed Compilation "Eigen/Core: No such file or directory" -- Cannot Change CMake Entry
I'm trying to install OpenCV but when I try to compile using CMake, I always get the error stated in the question, usually around 4% - 6%.
[ 6%] Building CXX object modules/core/CMakeFiles
/...
1
vote
1
answer
4k
views
Import OpenCV module to Android Studio blocked by "Nothing to Show"
I'm trying to use OpenCV in an AndroidStudio to start creating an application that will be processing images from the camera.
In short, I setup a new Android Studio project based on Java code and ...
1
vote
1
answer
103
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 ...
1
vote
2
answers
888
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
3
answers
3k
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 ...
1
vote
0
answers
3k
views
avoid duplicate frames in ffmpeg
I have a video.mp4 which I need to convert losslessly into a sequence of images.
I used
ffmpeg -i input.mp4 $filename%05d.tiff
but I get a lot (thousands) of duplicated frames. What are they? is it ...
1
vote
0
answers
228
views
How can I use "mestimate" for detection of a new object from a live video feed?
I read that I can use motion vectors to detect new objects in a scene as a form of motion detection.
FFMPEG doesn't have motion detection implementation but I can use "mestimate" which uses ...
1
vote
0
answers
696
views
cv2.cuda.getCudaEnabledDeviceCount() return 0 after visual studio build and with_cuda is set true for opencv using windows10
I want gpu to work in opencv , after CMake with_cuda true and build of (ALL_Build, Install) with no errors
I found GPU not detected
I use windows 10 I tried 3 times to build opencv , but Gpu not work ...
1
vote
0
answers
21
views
Customize Alternate Control Methods(Face recognition) to control mouseclick in macOS?
In macOS Accessibility , there is a section called Pointer Control, and in 'Alternate Control Methods', I can use Raise Eyebrows to perform a left click, So I wanna ask, Is there any way to customize ...
1
vote
0
answers
150
views
Bandwidth Concerns for 2 Webcams and an Arduino in a USB Hub
I'm working on a robotics project using an Arduino and two Logitech C920 Pro webcams.
I'm trying to keep everything nice and tidy so I thought I could connect the Arduino and the two C920s to a ...
1
vote
0
answers
340
views
Solution to open a windows server multiple GUI session for same user
I am working on a Computer vision application. which launches an application on a remote server and navigates through GUI application to check if it's working fine.
How I do it now is I installed my ...
1
vote
0
answers
299
views
How do I run OpenCV apps remotely (thru VNC/RDP)?
What I want to accomplish: For my coursework I require to compile and execute OpenCV programs. It's all well, I installed the OpenCV library into the remote Debian server and compiled my first test ...
1
vote
0
answers
5k
views
Anaconda Prompt Stuck on "downloading and extracting packages" specifically for Wheel-0.33.4
I was trying to install opencv following instructions from https://www.learnopencv.com/install-opencv-3-and-dlib-on-windows-python-only/
It identified some packages that needed to be installed and ...
1
vote
0
answers
401
views
opnecv4.pc missing file and gocv
I am trying to make this code to work:
package main
import (
"gocv.io/x/gocv"
)
func main() {
webcam, _ := gocv.VideoCaptureDevice(0)
window := gocv.NewWindow("Hello")
img := gocv....
1
vote
0
answers
673
views
(no-answer) How do I merge videos that have overlapping frames into a video without duplicate frames?
I've nvidia highlights that takes 3 minutes recordings when events happen. If two events happen sooner than 3 minutes then those recorded clips have overlapping frames. I want to take all the clips ...
1
vote
0
answers
483
views
Compiler errors when building opencv from source on macos
I am trying to build OpenCV 4.1.0 on Mac by following this blog: https://www.learnopencv.com/install-opencv-4-on-macos/
Here is the command line for the preparatory cmake - which is successful:
...
1
vote
0
answers
122
views
OpenCV install stuck on cmake
I'm currently in the middle of installing openCV3 on my raspberry pi3. The pi is a clean install of NOOBS Raspbian and I'm using this PyImageSearch install guide: https://www.pyimagesearch.com/2016/04/...
1
vote
0
answers
441
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....
1
vote
0
answers
1k
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 ...
1
vote
1
answer
2k
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 ...
1
vote
0
answers
120
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
0
answers
67
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
1
answer
3k
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 ...
1
vote
0
answers
723
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 ...
1
vote
1
answer
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 ...
1
vote
1
answer
4k
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 ...
0
votes
3
answers
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..
0
votes
2
answers
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
1
answer
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 ...
0
votes
1
answer
1k
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 ...
0
votes
0
answers
11
views
Highlight video motion into to a single image using Linux tools? [closed]
I have a fixed camera that captures the motion of a ball bouncing around. I would like to convert this into an "action shot" or simply a superimposed picture of all the balls.
It has to be ...
0
votes
1
answer
805
views
Java folder missing from openCV installation with homebrew
On my old MacBook Pro mid 2012 I was able to easily install openCV 4.5.2 with homebrew. After installation I had a java folder with a dylib file and a jar.
Now I bought a MacBook Pro M2 2022, ...
0
votes
0
answers
2k
views
FFmpeg live streaming to ffserver delay at start
I'm trying to achieve a simple camera streaming using FFMpeg and FFserver. I have two slightly different systems acting as source, both Debian OS:
the first one runs ffmpeg 3.4.8, as indicated in ...
0
votes
1
answer
219
views
Stitching with large Parallax
I need to stitch images of 5 cameras together. The cameras are mounted on the sides of an underwater remote operated vehicle. It's basicly a cupoid with sizes of 2.1m x 1.3m x 1.85m. The cameras are ...
0
votes
1
answer
949
views
Displaying UDP Multicast Rawvideo Stream
I have a problem while trying to capture the raw video over UDP.
In my setup, I stream the webcam with FFmpeg (command line) via UDP, on the client side I use Java OpenCV, the capture line; ...
0
votes
0
answers
2k
views
MacOS Mojave | PyCharm Is not allowed to access to the camera
I am trying to execute the following code:
import cv2
video_capture = cv2.VideoCapture(0)
print('Camera initialized')
ret, raw_frame = video_capture.read()
video_capture.release()
print('Bye!')
...