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

is there any builtin Modulo function on Matices ?

I've a Mat object containing these orientation values (0 to 360), i want by using modulo operation to represent them between (0 to 180) range Mat a, b; ... b = mod(a,180); // x - floor(x/y) * y didn't...

View Article


Video Stitching of overlapped videos

Hello I have multiple videos which overlap at some time and want to stitch these videos to get a single video stream. for example below are three videos where video 1 and video 2 overlap at some time...

View Article


In k means clustering, how do I reconstruct just a part of the image?

I performed k means clustering. How do I access the largest cluster? #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp" #include using namespace cv; int main( int argc,...

View Article

How to process result of matchShapes to get list of non-matching objects

I want to get list of non-matching objects in 2 images. Below tis the code snippet I am writing Mat img1 = Imgcodecs.imread(filename1, Imgcodecs.CV_LOAD_IMAGE_GRAYSCALE); Mat img2 =...

View Article

error Sizes of input arguments do not match while using Core.compare

I am trying below code to compare 2 images. Mat img1 = Imgcodecs.imread(filename1, Imgcodecs.CV_LOAD_IMAGE_GRAYSCALE); Mat img2 = Imgcodecs.imread(filename2, Imgcodecs.CV_LOAD_IMAGE_GRAYSCALE); Mat...

View Article


Which technique is better for text extraction from natural scene images

I want to extract the textual part from a scenic image leaving behind the background. For this, I found different techniques like SWT, MSER etc. Can Anyone tell me which techniques work better?...

View Article

passing parameters to cv2.kmeans in python

i have a dataset of images and i want to do clustering on it. I have read the openCV documentations of kmeans but i just do not get it properly. Below is my code and i have no idea how can i pass...

View Article

convert png transparent pixels to white

I have a png as a base64 that contains some transparent pixels whose rgb is (0,0,0). I want to convert the rgb of these pixels to white and set the alpha to 255. I read the image through: vector...

View Article


OpenCV configuration in Windows using Eclipse

Hi All, I am very new to this and i need to run an example code in the eclipse IDE. Can you help in achieving this or can anyone share if there is any document to refer? Actually i referred to the...

View Article


Subtract operation creates result with noise

Hi all, I'm trying to subtract two Mat instances to obtain a result that represents a person's signature. Unfortunately, my resulting Mat seems to show noise along the top edge. Here are the source...

View Article

I have an image which has black and another color. How do I check if it is...

I basically want to convert the image to hsv and then place boundaries. If it is within the given boundary it should print the color. For example if it is within the hsv region of red which I define,...

View Article

Can i use opencv libraries in my android app project for production?

Hi, i want to be sure if I can use opencv libraries in my android project. I know there is an sdk of openCV to Android but then I realized I need to install opencv Manager to keep working my sample...

View Article

Is anyone know how to use opencv 3.1 in eclipse ide? (windows 64bit) ive...

Is anyone know how to use opencv 3.1 in eclipse ide? (windows 64bit) ive searching for days now and still cant figure out how. Ive tried this method...

View Article


opencv windows dlls bugs

are opencv windows dlls buggy? Using debug dlls with the debug build works fine. The moment I use the release dlls with my release build I start getting all sorts of errors. I also found some...

View Article

Opencv server down in India?

Can't access the site since 3 days from India(Mumbai).

View Article


clear ROI history from kcf tracking in opencv

I am using KCF tracking in OpenCV. everything is okay and i can track an object as well, but i have a problem: i set a ROI and algorithm work fine, sometimes i need change my ROI. there for tracker...

View Article

Camera calibration and 3D reconstrution

I am a student of engineering, and I have a parallel project at the university about 3D scanning. I need to do a scanning but I don't know where I start yet. I have a camera and a laser, then I need...

View Article


color detection of an image in opencv using c++

I have an image with a black background and some color. How do I print the color of the image in the console. I basically want to first convert the image to hsv and then by setting the boundary values...

View Article

check if Rects intersect

hi all, I wanted to implement a simple check to see if the face in the new frame is the same as in the previous frame. I cobbled up something like below: But i don't think its working. Is it because...

View Article

how to unified the get back Mat.at function ?

hello opencv community, in my code i'm dealing with mutiple Matrices type or depth Mat, is it possible to use Mat.at function without having any information about its type, any help i would be glad...

View Article
Browsing all 4615 articles
Browse latest View live