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

executing stitching example throws error: (-2:Unspecified error) OpenCV...

following these steps i had compiled the "stitching.cpp" example: g++ stitching.cpp -o stitching.o -c -Wall -I/usr/include/opencv -I/usr/include/opencv2 g++ stitching.o -o stitching -lopencv_stitching...

View Article


Make the background of the image transparent using a mask

Greetings. How can I make the background of the image transparent using a mask, not a threshold. The essence of the program is as follows: I get the image and try to cut the object from the background....

View Article


Change a particular color in an Image Python

Hi there, I have an image and I would like to change a particular colour on that. Particularly, the image contains a set of colours I have used a means algorithm in order to obtain the whole set of...

View Article

Can I change the fps of a video dynamically?

I am using VideoWriter in python with opencv3.4. I wanted to change the fps of a video dynamically. Presently I am using `out = cv2.VideoWriter('output.avi',fourcc,60.0, (848,480))` where `60.0` is...

View Article

VideoCapture.read() freezing when reading from gstreamer

Hello, I've recently encountered an issue where the cv2.VideoCapture.read() function seems to freeze when reading a gstreamer pipeline. The stream seems to work in a glitchy manner for a few seconds,...

View Article


How to use a keras custom trained classifier's .pb file inside OpenCV DNN module

I'm having trouble using the .pb file generated with keras, I think this is because I don't have a .pbtxt file but I can't generate one for that I would need a .config file and a relevant script (all...

View Article

Image substraction

I am working on a college project, I am trying to detect damage on the surface of a marble. I am working with OpenCV 4.3.0 I have converted to HSV carried out erode and dilation and isolated the...

View Article

AGAST vs BRISK detector in opencv

After reading the paper on BRISK, I understand that BRISK uses a modified version of AGAST. So my question is if I use only the BRISK detector(OpenCV implementation), would it be different than the...

View Article


Which algorithm are implemented in cv::reg::Mapper classes?

Hello, I'm working with cv::reg::Mapper classes and it works quite well but I really need to know wich algorithms are implemented in it. In particular in cv::reg::MapperGradSimilar. Thank you

View Article


Robotprogrammering

Hej Jeg er helt nybegynder inden for robotprogrammerings området , jeg er i tvivl om hvilken programmeringsprog som er en god ide at begynde med. Er der nogle som kan hjælpe mig med mit problem?

View Article

paper detection on image taken from android's camera

I found below code for paper detection ,for the image taken from android phone's camera ,but it doesnot work on certain cases when image is at a crooked or when corners are not distinctly visible .Any...

View Article

Are minor subversions of OpenCV ABI compatible?

I am building a library that internally uses OpenCV. On my development machine I have OpenCV 3.2 installed, but on some my target machines the version of OpenCV is 3.3.1. (And I cannot control what...

View Article

Unable to access a logitech 270 webcam through openCV

Im running Ubuntu 18.04, OpenCV 2 Upon trying to use the regular VideoCapture(0), an error pops up as follows: ROR: V4L2: Pixel format of incoming image is unsupported by OpenCV Upon running $v4l2-ctl...

View Article


Liquid detection on surface

Hello All, I am trying to detect if a part of surface is wait or not and can we identify the level. Surface can be wait because of any type of liquid like water or paint or oil or chemical etc. What...

View Article

How to extract the profile data from the Mat?

Hi all. I have a question about extracting profile data from the Mat. I would like to set the line and extract the profile data from belonging to the line. The following image is an example of what I...

View Article


DNN face detection in UWP/C++: strange output

Hello, I'm using OpenCV and Cafe to perform face detection on some images I receive from a stream. First, I tried with python: prototxt_file = 'deploy.prototxt' weights_file =...

View Article

Can i use openCV to run keras models using Theano as backend?

I am having a few diffuclties using tensorflow as a backend, because i am having a hard time importing the library. So I changed the backend to Theano, but I am not sure if I can later use models...

View Article


How to include the correct directory for OpenCV on raspberry?

I installed the openCV to my Raspberry following this [tutorial](https://qengineering.eu/install-opencv-4.2-on-raspberry-pi-4.html) but the files went to directory: `usr/local/include/opencv4/opencv2`...

View Article

Non rigid registration

Do opencv have the means to perform non rigid registration like ImageJ BUnwarpJ plugin (2D image registration based on elastic deformations represented by B-splines)?

View Article

Undocumented HighGui functions

There are some functions in the HighGui module that lack any explanation/documentation. I'm speaking about `startloop`, `stoploop`...

View Article
Browsing all 41027 articles
Browse latest View live


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