Error in imwrite code specified in the opencv api reference
I am very new to opencv and started using OPENCV 3.0 I have run code taken from imwrite in the OPENCV API reference documentation as it is from [link...
View Articlemy code doesn't work.plzz help me
Error 1 error C2259: 'cv::BackgroundSubtractorMOG2' : cannot instantiate abstract class c:\Users Error 4 error C2664: 'cv::SimpleBlobDetector::SimpleBlobDetector(const cv::SimpleBlobDetector &)' :...
View ArticleSet number of output nodes of Artificial Neural Network to a value other than 1
I am working on a project where I need to classify images using Artificial Neural Network (ANN). I have successfully trained ANN with 1 output node as shown in code below. How can I set number of...
View ArticleOpencv mlp is not working as the doc pretend it should work.
I am new using Opencv and in particular multilayers perceptron (mlp). I have looked up on the docs and I am a bit confused at some points. Basically I am trying to make a basic neural network that...
View Articleparser.has() alway retruning true
Hello, I´m trying to use CommandLineParser and I have a problem : even if I don´t put anything when I lauch the program (only ./prog ), the function parser.has returns true, as if something was given...
View ArticleHow to faster sort matrix?
I want to sort all element of mat but my kernel size(kernel_size=61) is very large. Now i use ///* For each window row */ for ( iwr = wr_begin; iwr < wr_end; iwr++ ) { /* For each window column */...
View Articleerror LNK1181 opencv_calib3d300d.lib errrr
opencv 3.1 version visual studio 2013.my code doesn't wrk.there is aerrr error LNK1181 opencv_calib3d300d.lib
View ArticleQT 'emit': undeclared identifier error after included
I'm using OpenCV with QT and trying to implement facial recognition but as soon as I include `` from the "contrib" branch, QT complains about `error: C2065: 'emit': undeclared identifier`. I've tried...
View ArticleIs it possible to compile opencv shape module and use it in Java?
Hi everyone, I want to implement java based shape similarity/dissimilarity app. Is it possible to re-compile opencv-3.1 and include the shape module inside. Because, the ready jar library does not...
View ArticleOpencv java vs C++ in video capture
I'm creating a project that needs to capture live camera video feeds continuously all the time and does processing on each frame. Processing involves locating a particular object of interest when it...
View ArticlePanorama stitching in OpenCV returns error.
For some reasons, i keep getting this error. I am able to compile my project successfully but i cant run it because of this error. Any idea why? Thanks in advance. ). Now, I want to...
View ArticleIs there any opencv function to calculate reprojected points?
What is the procedure to calculate reprojected points, reprojected errors and mean reprojection error from the given world points (Original coordinates), intrinsic matrix, rotation matrices and...
View ArticleEfficient way to apply a minimum filter
Hi, I am trying to implement a function which takes an image (type: `CV_64FC3`) and applies two operations on it: 1. Each RGB pixel is replaced by the minimum channel value resulting in a `CV_64C1`...
View ArticleBackgroundSubtractorMOG2 Implementation
I'am using BackgroundSubtractorMOG2 object for video analysis. I have 2 machines...in one of them iam using opencv-2.4.9 and in another machine i'am using opencv-3.1.0 for the same usage of same code...
View ArticleOpenCV examples
In this tutorial, there is a link to empty file. I cannot find the file and its name. I can make the functions but I am missing the main function code....
View Articlere-encode video
Hi, in my Python app I record a temporary video with fps being unpredictable when constructing the VideoWriter object. I use this one merely for collecting frames coming from some lengthy...
View Article