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

Green output image from second Camera

Hi All. I have setup OpenCV 3.1.0 on my BeagleBone Black Rev C. All basic operations are working well. I have attached 3 cameras using USB hub to BBB. I have a simple OpenCV program that iterates...

View Article


Deformable part model implementation

has anyone implemented DPM in opencv? I found one implementation: http://www.cnblogs.com/louyihang-loves-baiyan/p/4913164.html but that only detects the entire person, ie the root filter. I wanted to...

View Article


how to change the value of one row descriptors into a single value

anyone can help me ex descriptors_object.row(1) :...

View Article

Calculate the distortion of two nearly identical Contours with...

I have two files: 1. A .bmp file which shows a contour of an object made by AutoCAD 2. A image of the object made by a camera From both files I extracted the contour of the object with findContours()....

View Article

Getting status of multiple objects.

I tried the tracker algorithms (MIL,BOOSTING,MEDIANFLOW,TLD and KCF) , apart from KCF the rest of the algorithms are very slow while tracking objects. Which is the best algorithm for tracking multiple...

View Article


I've been trying to run principal component analysis code in opencv 3.1 with...

code: written in c++ following error is shown during ouput OpenCV Error: Assertion failed ((unsigned)(i1 * DataType<_Tp>::channels) < (unsigned)(size.p[1] * channels())) in cv::Mat::at, file...

View Article

VideoCapture result in distorted lines in image

I am trying to click an image from Webcam using OpenCV. My code is as follows. VideoCapture cap0(0); cap0.set(CV_CAP_PROP_FRAME_WIDTH,320); cap0.set(CV_CAP_PROP_FRAME_HEIGHT,240); cap0 >> frame;...

View Article

Calculate the distortion of two nearly identical Contours with...

I have two files: 1.A .bmp file which shows a contour of an object made by AutoCAD 2.A image of the object made by a camera From both files I extracted the contour of the object with findContours()....

View Article


return value of matchShape

Hey there, i tried to match two contours. In the documentation of OpenCV is an example which says the smaller the value the better the match is. But I in some positions I get smaller values although...

View Article


How to use opencv dft with Neon support from Qt on Raspberry Pi 3

Hi All. The problem is that my cv::dft function is running extremely slow on the raspberry pi 3, comparing when ran on a regular PC. I have a raspberry Pi 3 ( jessie ), with opencv 3.1.0 and Qt...

View Article

opencv/C++: Place a saved image over a webcam stream with facial recognition

I am trying to figure out how to place a saved image over a webcam stream in C++. The trick is that I want to place the image over a face and whenever the face moves, the image will move. I was able...

View Article

Custom HOG not detecting features

I have an XML file with the contents of a trained SVM using HOG features from 14000 images in total, 9000 negative samples, and 5000 positive. I trained my SVM using OpenCV's Java extensions, but had...

View Article

Hi.. i'm new to opencv and trying shape detection. I have faced the following...

My program, int main() { //cv::Mat src = cv::imread("polygon.png"); cv::Mat src; cv::Mat gray; cv::Mat bw; cv::Mat dst; std::vector approx; std::vector> contours; VideoCapture capture(0); int q;...

View Article


Kalman Filter - Assertion failed - Matrix types

Hey, I try to build a kalman filter and get runtime errors at the step `Mat prediction = KF.predict(control);` in regards to the matrix types. I checked all the types of the input matrices and they...

View Article

How to Crop and save separately the bounded region?

![result_a.jpg](/upfiles/14793681749186702.jpg) here is my processed Image. I want to crop the bounded region and save the cropped area. Specially I want to crop the the Numbers for Digit Recognition...

View Article


Access violation reading location - when I am trying to do a clone(). The...

When I am trying to make a clone on a matrix an exception is thrown randomly for clone and for flip too. These exceptions are from opencv_world300.dll.![image...

View Article

Using the opencv_contrib dnn module (too slow)

I am using a caffemodel (trained for gender classification) with the dnn module of the opencv_contrib library. The issue I am having is that it is running pretty well but it is extremly slow, it takes...

View Article


Error: Sizes of input arguments do not match, why?

I have the following code and it produces the error **"Sizes of input arguments do not match"** at the line where I try to add two cv::Mat objs together. Why? std::vector depths; for (int i = 0;...

View Article

How to crop digits automatically in sequence for recognition?

I am trying to implement Automatic Digit Recognition. For this I am using C++ with OpenCv. I have successfully trained SVM classifier ,successfully can able to crop the digits from the group of...

View Article

I can not load xml file

Hi. i want write face detection in opencv by c++ (in vs 2012) but i have problem to load xml file.i uploaded xml file in solution project and give relative address to load xml file but can not load...

View Article
Browsing all 600 articles
Browse latest View live


Latest Images