Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Browsing all 41027 articles
Browse latest View live

Can python use VideoCapture for custom added functions in opencv 3.2.0?

I am editing ffmpeg and opencv's libraries to accommodate a feature to read NTP timestamps of a video stream's packets. Would I have to make adjustments to the videocapture function from python? I...

View Article


Dynamically choose best instruction set for hardware

Is it possible to let OpenCV dynamically choose which instruction set to use for the hardware it is running on? We build OpenCV via Visual Studio in Win32, afterwards we changed the Solution and...

View Article


Build Raspbain Segmentation fault

OpenCV build fails with Segmentation fault. Does anyone has an idea why? CMake Command cmake -D CMAKE_BUILD_TYPE=RELEASE \ -D CMAKE_INSTALL_PREFIX=/usr/local \ -D...

View Article

OpenCV 4.1.1 Imread() & Imwrite() Crashes Program Immediately [Qt] ?

Hi, I have built OPENCV v4.1.1 from source for Qt. I have linked the necessary libraries and added the include path in the .pro file as follows: INCLUDEPATH += "C:\opencv4-build-x64\install\include"...

View Article

Porting to JavaScript: "Cannot register public name 'projectPoints' twice"

I did the following: 1. git clone https://github.com/opencv/opencv.git 2. git clone https://github.com/opencv/opencv_contrib.git 3. I added the following in def get_build_flags(self) of...

View Article


Angle between wall and camera using pnpRansac and its precision

I am looking to calculate the angle between my camera(ORBBEC Astra) and the wall. I am implementing this through SolvePnp using OpenCV. My procedure is as follows : I have a chessboard on the wall. I...

View Article

When I build OPENCV 3.4.6 with OPENCL ENABLED NOT WORK WITH abi:ARM64-V8A

Hello, I'm trying to build opencv with opencl for ABI ARM64-V8A but when I launch `ninja.exe install/strip`, i received the follow message. I've tried also the ndk 16b. All works fine if I use...

View Article

OpenCV 4.1.0 not changing brightness

I made a program that can change the brightness/contrast of the camera by pressing the arrow keys, while showing a live feed of what the camera sees. Since I only used one camera, I initiated it using...

View Article


Python - Facial Recognition

I am used OpenCv for face recognition on doors, but I came across a security flaw, if a person points a photo at the camera, my system will unlock the door based on the photo, is there any technique...

View Article


Cross-compile for ARM

Hi, I'm trying to cross-build OpenCV for ARM using a Docker image, but I'm getting linking errors. Does anyone have an idea how to resolve those linking errors ? ../../lib/libopencv_core.so.4.1.1:...

View Article

How to link with OpenCV as cmake subdirectory

I have a project in which I manage most dependencies by tracking them with git submodules and then, where possible, adding them to a CMake build with `add_subdirectory`. I am having trouble getting...

View Article

Difficulty stitching with CUDA

A stitching with CUDA did not work. OpenCV4.1.1, OpenCV_Contribute4.1.1, CUDA10.1, TBB20190605, VisualStudio2019 , Cmake 3.14.1, Corei7 8700, GTX 1070Ti OpenCV-reference said: "If you have cuda device...

View Article

Cannot use Tensorflow model with batch normalization

I have a simple convolution network model made with Keras and Tensorflow 1.14 The model is saved as constant graph in binary .pb format The model loads successfully but the calculations are not correct...

View Article


Not able to identify the images correctly

Hi team, I have created haar cascade xml file with some training images. But when I use that to detect the object in a video, it's identifying a black portion in the video as the object where as the...

View Article

Camera properties dialog (DirectShow) no longer opens with cv2.CAP_PROP_SETTINGS

This code in Python used to bring up the DirectShow properties dialog for setting the exposure, brightness, etc. for a camera but at some point (not sure how long ago), it must have stopped working as...

View Article


Problem loading haar cascade file in opencv.js

i am to implement face detection using opencv.js but haar cascade file is not getting loaded. let faceCascade = new cv.CascadeClassifier(); console.log(faceCascade);...

View Article

opencv.js building WASM cv.face.createFacemarkLBF()

When using the detectMultiScale function, it throws a binding error. I understand that OpenCV.js loads and fires the onload event before it's really initialized. To wait until OpenCV.js is really...

View Article


OpenCV3.4 DNN forward custom and pre-trained Tensorflow

Ubuntu 18.04 , OpenCV 3.4, Python 3.6, Tensorflow , Windows Opencv4.1 Trying to use a tensorflow model and when attempting a forward() operation get the following error: Can't create layer...

View Article

How to run OpenCV DNN ON GPU ANDROID

Hello everybody, I recently tested my pre trained MobileNet on my android machine by using dnn module in c++. It seems my code is only computing on CPU. I used OPENCV ANDROID v.3.4.6 and I tried to...

View Article

opencv version 4.1.0

I dont know why I m getting this error error: (-210:Unsupported format or combination of formats) in function 'moments'

View Article
Browsing all 41027 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>