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

Memory Leak in Mat::copyTo()

I have a vector of images (called images) in OpenCV 3.0.0, which I iterate through in the way shown below. Please disregard, that this code makes no actual sense, I stripped it to point out the...

View Article


isotropic non-linear diffusion smoothing (Perona-Malik)

Now in addition to the my [previous thread regarding isotropic linear diffusion smoothing](http://answers.opencv.org/question/70552/isotropic-linear-diffusion-smoothing/), I want to solve the...

View Article


Capture from AverMedia C985( Live gamer HD)

Im trying to capture video using OpenCV3 in that way: cv::VideoCapture cap(0); if (!cap.isOpened()){ return; } double w = cap.get(CV_CAP_PROP_FRAME_WIDTH); double h = cap.get(CV_CAP_PROP_FRAME_HEIGHT);...

View Article

Capture failing on Centos6 with various codec/file types using the C api

Hi all, As above, I'm currently trying to get opencv working on a Centos6 install, trying to extract frames from a video in order to do some processing on them etc, however my capture is failing...

View Article

Right method for color object tracking

Hi, I am trying to detect colored balls like ps3 move controller balls from 2 mt distance.I have 10 camera in same room hanging from the ceiling.Room is dark and balls have led inside.I have 4-5...

View Article


OpenCV Run on Tomcat

Hello, I've made an application which uses OpenCV, and now I want to run it on Tomcat. I'm now trying to set Tomcat to Work, this is the simple code to check is it working on tomcat: String...

View Article

recognise colours in 3x3 grid

Hi all, I'm just starting, so this is a very high level question... Is it possible to use OpenCV for recognising basic colours in a 3x3 grid? Imagine a rubik's cube, you take a picture of one of the...

View Article

Detect certain object that is partly cluttered

I was wondering if it is possible using haar cascade or some other form of classifier, to detect for instance a skull, when it is partly cluttered with something else, such that when the skull has...

View Article


Good Questions and Answers: How To?

What are the important points to be noted while asking a question so that everyone understand it very well and help them to reproduce the problem and have contributions? Similarly what to take care...

View Article


EMD vs EMDL1: who is right?

Hello all, EMD and EMDL1 seem to provide different values for the same signatures. Can anybody explain? You can find my code below. Thanks! int main(int argc, char** argv) { //make signature Mat...

View Article

Modules in cv2.pyd

How can I get the list of installed modules in cv2 interface. Exactly, I want to know if cuda based modules are installed in cv2.pyd Thanks

View Article

transform 2 point clouds (2 cameras) to same origin

Hello, I get camera pos matrix K(4x4) = [R|t]; last row = [0,0,0,1] I don't understand how convert point cloud from camera coor. system to world coor. system? I just apply my camera pos matrix to...

View Article

How to use feature detection in Android

I have to develop an android application,in which an image of leaf is being captured and then in that Image will be scanned for black ,brown spots.I got sources for c/c++ but I don't know how I can...

View Article


DecomposeProjectionMatrix clarification

Hi all, Can someone please explain fully what the output of decomposeProjectionMatrix is? I am giving it a 3x4 camera matrix, and I understand that the output is the intrinsic matrix, a 3x3 rotation...

View Article

openCV 3 extra modules in android

hi, currently I am using the openCV 3 sdk for android. I am using the native files and with jni files. it is working so far. now the problem: I want to implement FLANN...

View Article


apply KLT tracker over detected eye region

Hi This code is to detect eye and face. I want to apply a flock of KLT trackers is placed over the eye region. how the optical flow should be applied ? like the attached image ![image...

View Article

Images get modified when converted to video

Hi all, I've come into a weird issue when developing some code in opencv (python 3). I'm using the VideoWritter class to generate a one-second video composed of just 2 images. The task is simple, the...

View Article


Is there a list of the algorithms within opencv and opencv_contrib ?

Hi, is there any documentation about a list of the algorithms within opencv and opencv_contrib (found here https://github.com/Itseez)? I tried to use SURF with native openCV from android sdk with jni...

View Article

Problem with getting information on contours

I am writing a function that takes a binary 8-bit image and trying to find the average area of blobs in there. My function is: void rm_noise(cv::Mat& img, cv::Mat& clean_img) { std::vector>...

View Article

Draw a blurring rectangle

Goal – to provide an easy way to specify one or multiple regions on an image for mosaic effect via mouse operations. Steps (1) Load an image from your project local drive, say “test.jpg” and display it...

View Article
Browsing all 41027 articles
Browse latest View live


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