double free when cv::UMat from cv::Mat with custom UMatData
It appears that cv::UMatData has two separate reference counts, one for mats, and one for UMats. I've recently run into a problem where I am trying to create a UMat from a Mat in order to get some...
View ArticleComparing KMeans centers for the best match
I'm working on implementing the VZ classifier (http://www.robots.ox.ac.uk/~vgg/research/texclass/with.html), and am having problems creating the models. The first stage is to cluster a large number of...
View Articleshare usb device with videocapture
Hi, On windows with opencv 3.0 I can share same webcam device using VideoCapture. Is it true on linux, android...? thanks for yours anwers. int main(int argc, char** argv) { VideoCapture vid1;...
View ArticlesetSize dimensions assert in super resolution example
Any help is greatly appreciated !! When I set the temporalAreaRadius to 1, I would expect to only need 2 input frames. When I only provide 2 frames for the frameSource, the assert in matrix.cpp (line...
View ArticleConvert MatOfKeyPoint to bytes[] and converse
Hi, I need to convert MatOfKeyPoint to bytes[] and converse in OpenCV Java. Does anyone have experiment with it before? Thanks!
View ArticleNeed direction to do crowd density estimation
Hi Guys, I'm new to video analytic processing and recently been reading on OpenCV and using EmguCV (C# Wrapper). I have a video of station platform where it started off empty and gradually filled up...
View ArticleHow to combine-average two peaks of histogram
Hi, Can anyone share on how to combine two peaks from a histogram to become one? Appreciate then.. Rgds
View Articlechamfer matching on android
Anyone here have tried implementing the chamerMatching method on android using opencv4android? I cant get it to work properly on my device galaxy tab 3 kitkat. the application crashes as soon as I call...
View ArticleGet Rid Of Fat Cells Sticking In Your Body
The revolutionized formula of this product contains red raspberries, which works to regularize important protein in the body.The potent ingredients work to manage the weight of your body naturally...
View ArticleSpeedup stitching
Now for stitching 6 images (1280*960) I spend 5 - 10 seconds, each run different time. And when it tooks 10 secs I've got result.tif with size **158 bytes** (header only?). LARGE_INTEGER frequency; //...
View Articlehow to detect whether tube is present of not??
Hello, I want to detect that tube is in frame of not. currently I am using canny edge detection, but problem is how can i set edge for tube. So, I can get information that tube is there or not. ![as...
View ArticleDetect object in noisy image
Hi all, as the title says, I need to detect objects in noisy images. Here's how my program should work: 1. Align 2 images 2. use `absdiff` to find the diferences 3. bound the differences (in my case...
View ArticleMultiple thread stitching
I use opencv to build a stitcher class to create a panorama image. The camera image in real time to produce multiple Thread to make the panorama image is an error to use a stitch function. The same...
View ArticleCannot install contributors modules for opencv 3 beta
Hi all, I'm facing several hours on installing opencv_contrib modules for opencv 3 beta. I can build and install opencv 3 beta correctly without problems and is working too. Then, looking at this...
View ArticleIssue with multiple imwrite(".pgm") format in loop
While saving an image capture as PGM format in a loop, the opencv library crashes on second iteration. The function which crashes is imwrite("out.pgm", gray_image, compression_params). Is there a...
View ArticleHow can I classify people into different categories?
I have the need to classify people into different categories such as military man,doctor,student etc based on the images captured from a webcam. I have written the code to capture the images and I now...
View ArticleRotate camera JavaCameraView
I'm using JavaCameraView. This is Android application and it supports both Portrait and Landscape modes. I am able to set correct preview and picture size for camera BUT for some reason rotation...
View Articlecv::seamlessClone is getting error (matrix.cpp:2236: error: (-215)...
UIImageToMat([UIImage imageNamed:@"lisa_opencv_poisson.png"], src); UIImageToMat([UIImage imageNamed:@"mona_opencv_poisson.png"], tar); UIImageToMat([UIImage imageNamed:@"vinci_mask.png"], msk);...
View Articleplay video within video
Here is my code which overlays an image ( replace1.jpg) on live camera feed. how can I play a video ( say .avi ) file in the specified area ? or what if I would like to play a sound ? Mat repImage =...
View Article