Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Browsing all 600 articles
Browse latest View live
↧

can anyone reply how does this contourArea() function works ?is there any...

#include #include "opencv2/core/core.hpp" #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp" #include"math.h" #include int main(int argc, const char * argv[]) { cv::Mat...

View Article


Read a named pipe in opencv

Hi, I'm following this video guide (I'm using the last option presented in the video): https://www.youtube.com/watch?v=sYGdge3T30o Essentially my raspberry send a video stream with netcat, then a...

View Article


How a dictionary is loaded in C++ OpenCV Program?

Suppose, I have a dictionary which is in dot mat file format. This can be loaded in a MATLAB program as show below. % load dictionary load('Dictionary/D_1024_0.15_5.mat'); Now, I would want to use the...

View Article

Error building opencv extra modules in CMake on Win10

I rarely ask questions, I like the puzzle of solving things myself, but this one has had me stumped for two weeks and I am going in circles! I'll put the short question first and give the detail of...

View Article

How to reduce the size of the trained SVM model in Opencv3.0?

I have three image classify problem, and feature dimension of LBP each problem are 6400, with number of samples 6000. Now I have trained the three SVM models. Each size of the model is bout 20M....

View Article


I'm Trying to convert RGB video to Grayscale using OpenCV in C++, but i'm...

This is the code i used: #include "opencv2/highgui/highgui.hpp" #include #include using namespace cv; using namespace std; int main(int argc, char* argv[]) { VideoCapture...

View Article

Plotting x y co-ordinates on histogram in opencv with c++

Hi, I am working on histogram creation and plotting in opencv with c++. I am able to create and plot the histogram but I am unable to show the x y coordinates (scaling numbers) on the graph. Is it...

View Article

C++ opencv3 no ideas how to divide these thresholded image

After some image transform, I obtain these image. ![thresholded image](/upfiles/14997065783244451.png) After trsforming the video image I get this stain, which I would like to separate along the red...

View Article


GPU Face Detection Error

I need help with an error in my simple GPU face detection program. The CPU version of this code runs fine with the same CascadeClassifier. This program is running on a NVIDIA TX2. Error: OpenCV Error:...

View Article


uUbuntu 14 opencv3.0.0 Training your own detector | packtpub.com error ...

As a title, for first time in my life I try to use a cascade classifier ... first step: from mpg4 grab from camera, obtain 150 png image of my targhet ... well cropped, with my targhet oriented in...

View Article

CUDA more slower than CPU

Hi, I have made my own package of opencv 3.2 with CUDA 8.0 and I run it with Microsoft Visual studio 2015 but when I tried with...

View Article

Head detection from depth data. (not face)

Hi, I am looking for the procedure to detect the human head (not face) from the depth data only. I am using opencv library with c++. Cascade classifier will not work on depth data. can you suggest me...

View Article

I found this error while running sample cpp example facedetect.cpp 'undefiend...

/tmp/ccbH13my.o: In function main': facedetect.cpp:(.text+0x10e): undefined reference tocv::VideoCapture::VideoCapture()' facedetect.cpp:(.text+0x14a): undefined reference to...

View Article


Head pose estimation fails with specific image sizes

I want to find angles of rotation of the head using `opencv` and `dlib`. So, I tried to use this code from the tutorial: cv::Mat im = imread("img.jpg"); matrix dlibImage; assign_image(dlibImage,...

View Article

OpenCV 3.2.0 and QT implementation errors

Hello guys, I was trying to utilize screen overlays when I got an error in the console: OpenCV Error: The function/feature is not implemented (The library is compiled without QT support) in...

View Article


fog removal C++ code

Hello Dear All, I am trying to run this simple fog removal which takes an input RGB image and removes fog from it. When i run the following code, it gives me the following exception. Exception at...

View Article

Background subtraction from depth data in opencv with c++.

Hi All, I am working on background subtraction from depth information. Can you please suggests method for the background subtraction? thank you.

View Article


How do i convert a Grayscale video to a Tensor?

I have written a code which converts a RGB video to Grayscale and **now I want to convert it to a tensor.** I just gave `cout< #include #include using namespace cv; using namespace std; int...

View Article

scalarToRawData in Opencv 3.2

Hello, I can't find scalarToRawData function in OpenCV 3.2, has been changed the name or lib?

View Article

Strange values for matrix camera and distortion values

I am trying to calibrate a fisheye camera. In order to do that I load a video take with that camera and takes frames where appears a cheesboard pattern. In order to find patterns I use: bool found =...

View Article
Browsing all 600 articles
Browse latest View live