Questions tagged [opencv]

The tag has no usage guidance, but it has a tag wiki.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
12 views

CMAKE, OpenCV: How would I fix unresolved external symbol issues? [closed]

Here is my simple code,Cmake file as well as my build process to test out my vcpkg installations. I am having issues as the errors at the very bottom show up. Would you have any ideas as this is ...
user avatar
0 votes
0 answers
31 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 ...
user avatar
0 votes
0 answers
23 views

How small can you make a video's file size, even with loss?

I want to downsize the whole bee movie to under 8mb, not caring about the quality of the video, as long as there is sound and at least a few pixels. The minimum size I have gotten with cv2 and ffmpeg ...
user avatar
  • 1
0 votes
0 answers
56 views

Add watermark to video with OpenCV

I have a Flutter App and I need to add a watermark, one image and one text at same time, to a video that comes from the user. FFMPEG is really easy to do that, I know, but because of technical issues ...
user avatar
0 votes
0 answers
14 views

Permantly provide path to the headers and linker flags in OpenCV Linux

I have OpenCV 4.5.1 installed in Linux. But each time I restart I have to separely provide path to the headers and linker flags. and then compile ? export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/...
user avatar
1 vote
0 answers
212 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 ...
user avatar
  • 111
1 vote
0 answers
14 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 ...
user avatar
0 votes
1 answer
81 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 ...
user avatar
1 vote
0 answers
112 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 ...
user avatar
  • 11
1 vote
0 answers
214 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 ...
user avatar
0 votes
1 answer
480 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; ...
user avatar
  • 11
1 vote
0 answers
130 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 ...
user avatar
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!') ...
user avatar
0 votes
0 answers
363 views

Raspbian openVINO - no module named 'cv2'

I have been configuring openVINO on my Raspberry pi 2 B, and followed these instructions. I was successfully able to run the "object_detection_sample_ssd" demonstration, but that is where my luck ...
user avatar
1 vote
0 answers
2k 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 ...
user avatar
1 vote
0 answers
191 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....
user avatar
  • 111
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 ...
user avatar
4 votes
1 answer
3k 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 ...
user avatar
0 votes
1 answer
1k views

Why does OpenCV+GStreamer lags exactly two seconds behind real time?

I'm trying to capture live feed through an h264 camera on RTSP protocol. On a terminal, the following gst-launch-1.0 command gives almost real-time feed: gst-launch-1.0 playbin uri=rtsp://IP:PORT/...
user avatar
  • 1
0 votes
0 answers
52 views

Way to record the last n minute from webcam

I try to use or create a software to record the last n minutes from a webcam. I use opencv to grab images from my webcam but I don't know if it is the best way to create a in real time a video. I ...
user avatar
1 vote
0 answers
545 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 ...
user avatar
1 vote
2 answers
4k 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 /...
user avatar
0 votes
2 answers
1k 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/...
user avatar
1 vote
0 answers
375 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: ...
user avatar
0 votes
1 answer
462 views

anaconda opencv python version different from anaconda python version

(base) C:\Users\Aspire 5>python Python 3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 10:22:32) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more ...
user avatar
  • 1
0 votes
0 answers
64 views

Having Trouble installing dependencies for OpenCV on RPi

for some reason, when i run the code below i get the following error. what should i do? I'm trying to install opencv for python 3. sudo apt-get install libjpeg-dev libtiff5-dev libjasper-dev ...
user avatar
0 votes
0 answers
100 views

How can I speed up laptop internal webcam capture in Ubuntu 18.04 vs Windows 10?

I am writing C++/opencv code for some image processing routines, and am using my Dell Precision 7730's own webcamera to get test video input. Video card is Quadro P5200. I started in Windows 10 ...
user avatar
0 votes
1 answer
636 views

Real time video recording frames processing

Recently I have been working on an Android camera with lots of features using camera2 and OpenCV, and now I want to record a video with custom resolution, for example if my device support 1920×1080 ...
user avatar
0 votes
1 answer
926 views

Anaconda OpenCV import error

I am currently using conda version 4.6.14 with python 3.7.3, I successfully installed OpenCV in the anaconda shell using conda install -c conda-forge opencv but when I run python in the shell and type ...
user avatar
1 vote
1 answer
3k 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 ...
user avatar
  • 13
0 votes
0 answers
212 views

Intel RealSense Camera R200 video feed is all green

I am trying to get an Intel Realsense R200 camera working on a Windows 10 machine using Python 3.7.3 and OpenCV 4.1.0. The problem is that when I open the application the video feed is all green ...
user avatar
1 vote
2 answers
11k 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 ...
user avatar
  • 11
1 vote
0 answers
80 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/...
user avatar
0 votes
1 answer
280 views

Error while integrating OpenCV in Android Studio (color.xml, content not allowed in prolog)

I have been trying to integrate/use OpenCV in Android Studio. But I keep getting stuck with this error. C:\AndroidStudioProjects\IntegrateOpenCV341\app\src\main\res\values\colors.xml:1:1: Error: ...
user avatar
  • 1
2 votes
2 answers
761 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 ...
user avatar
0 votes
1 answer
51 views

How to install any latest version of any c/c++ library over an old one

I want to install the latest version of OpenCV on my linux distro [ Kali ] i.e OpenCV 4.0.1 over OpenCV 3.4.3 . Will there be any problems if I directly install OpenCV 4.0.1 ? Just to make this ...
user avatar
1 vote
0 answers
269 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....
user avatar
  • 121
1 vote
2 answers
2k 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:...
user avatar
1 vote
0 answers
970 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 ...
user avatar
2 votes
0 answers
987 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 ...
user avatar
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 ...
user avatar
1 vote
1 answer
3k 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 ...
user avatar
1 vote
1 answer
99 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 ...
user avatar
  • 111
0 votes
0 answers
502 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 ...
user avatar
1 vote
0 answers
111 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 ...
user avatar
1 vote
0 answers
59 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 ...
user avatar
  • 111
1 vote
2 answers
739 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/...
user avatar
  • 1,344
1 vote
1 answer
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 ...
user avatar
  • 231
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 ...
user avatar
8 votes
3 answers
27k 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, ...
user avatar