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

The cropped roi image is just tilted.I wanted it to be tilted to correct...

![image description](/upfiles/14902477553778958.png)

View Article


Hi,i want to give an output from opencv using visual studio to arduino.How...

Output from opencv is needed as output to arduino to make an external hardware work

View Article


Unhandled exception at Microsoft C++ exception: cv::Exception at memory location

I have created the custom build the OpenCV with a current repo of OpenCV and opencv_contri_module When there is an assign of MATRIX OR VECTOR, this unhandled exception with memory allocation is...

View Article

TLD tracking too slow

Hello, i am using the Tracking module in OpenCV to track several objects. I tried few algorithms (MIL, MEDIANFLOW, TLD, ...) and the TLD is looking like the most accurate one. But it is very slow...

View Article

Linking CXX executables returns an error mentioning cannot find..

[ 50%] Linking CXX executable ---------- milestone2 /usr/bin/ld: cannot find -lQt5::Core /usr/bin/ld: cannot find -lQt5::Gui /usr/bin/ld: cannot find -lQt5::Widgets /usr/bin/ld: cannot find...

View Article


Hi i want to pass information to arduino.Which additional libraries should be...

i have a sample code .here i put the headers used #include "opencv2/objdetect/objdetect.hpp" #include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" #include #include "Tserial.h"...

View Article

calculate the number of colors inside one image

can someone tell me how to identify different merged colors I have inside one image and calculate them? I am doing it for my project... but I am new to computer vision so any advices will be valuable:)

View Article

hi, i have to draw contour over a rectangle shape, but its drawiing contours...

since i have only one karma i cannot upload images the video is played on a white background with most of its area covered by the rectangle shape thing pls help me with a solution #include #include...

View Article


Can we use this method to read images for training using FaceRecognizer class?

here is the code int train_ellen(vector& images) { Mat image=imread("ellen1.jpg", CV_LOAD_IMAGE_GRAYSCALE); if(image.empty) {images.push_back(image); labels.push_back(0); } else return 0;...

View Article


OpenCV: Replace ilLoadImage with cv::imread

I'm using [`hessgpu`][1] for efficiently compute hessian-affine SIFT descriptors using GPUs. In this project, [Devil][2] is used for reading images: if `SiftGPU::RunSIFT(const char *imgpath)` is...

View Article

how to calculate gradient in c++ using Opencv?

Dear guys I'm new in opencv, I'm looking for a simple method to find out how to calculate gradient of an image for sobel filter.

View Article

Freeman chain code in OpenCV 3

In OpenCV 1 there used to be an option of cvFindContours (using CV_CHAIN_CODE) to obtain a contour from an image in Freeman chain code. However, I cannot find it in OpenCV 3. Has it been removed as...

View Article

Fisheye lens calibration using OpenCV returning zero valued distortion matrix

I am doing all the usual for calibrating a fisheye lens, I have 22 images that return `true` using the `findChessboardCorners()` function, I concatenate the points into a `vector>` which I use for...

View Article


Error while converting csv file into matrices form using CvMLData

I need to convert csv file into matrices.I wrote the following code. #include #include #include #include "opencv2/imgcodecs.hpp" #include #include #include #include #include #include #include #include...

View Article

Different cv::Mat after calling the same method and arguments?

I have this code: vector blurs (par.numberOfScales+3, Mat()); vector sigmas(par.numberOfScales+3); //fill blurs and sigmas someway ... Mat high = hessianResponse(blurs[i+1], sigmas[i+1]*sigmas[i+1]);...

View Article


Parallelize chain of blurs

I have this code (revisited version of [this][1]): void HessianDetector::detectOctaveKeypoints(const Mat &firstLevel, ...) { vector blurs (par.numberOfScales+3, Mat()); blurs[1] = firstLevel; for...

View Article

Drawing a line for moving object

I have real time stream and I want to just draw a line that shows the path of moving object. I am using Opencv 3.1 with C++

View Article


Detecting abundant bag using opencv

I want to detect abundant bag in a video surveillance single camera view using opencv. I had already done some research on method and algos for same and what only , I found is :...

View Article

Compare functions after normalize

Hey, guys! I'm doing a video reading and for each frame I need to calculate the average standard deviation and the variance. (I did these calculations without problems using the openCv method). Now,...

View Article

Opencv select timeout at high resolutions

Hi all. I have an A4Tech pk-336e webcam attached with my BeagleBone and i am using OpenCV to capture images from BeagleBone Black. Issue is when i capture image at 320x240 resolution i get a perfect...

View Article
Browsing all 600 articles
Browse latest View live