second VideoWriter: not write frames.
I want to write two files simultaneously (VideoWriter). C# win7. class VideoCaptureClass { ... public void StartVideo(int vcam, string UrlCam, int videonum) { ... cap = new VideoCapture(UrlCam);...
View Articlearuco python bindings
I would like to use ARUCO with OpenCV 3.0 and python 2.7. I've downloaded and compiled (with python support) the latest versions of opencv and opencv_contrib from the repos. I've also confirmed that...
View Articlehelp translate c++ to python
On another question (http://answers.opencv.org/question/70629/detect-spaces-and-fill-with-rectangle/ ) the solutions were coded in c++. Both work in c++. I choosed the @sturkmen solution because it is...
View ArticleEmgu for Android with C#
I use C# to buid an android application, when I reference Emgu.CV  I have error: Error Exception while...
View ArticleHow I draw a rectangle by mosaic effect ?
This is my code #include #include using namespace std; using namespace cv; Mat image; char click; Point p1; Point p2; static void onMouse(int event, int x, int y, int, void*) { switch (event) { case...
View ArticleVideoCapture can not open some files
My simple code here: VideoCapture camera = new VideoCapture("visiontraffic.avi"); if (!camera.isOpened()) { System.out.println("Can not open Camera, try it later."); } can only open that file...
View ArticleHow to get fps from video in java?
I have some task to do video processing and I want to do it with openCV and java. The problem is when I didn't do much process there the video runs so fast. On the other hand when there is plenty thing...
View ArticleFlannBasedMatcher
HI I am new in OpenCv, what is FlannBasedMatcher in Opencv 3.0? Thanks Sia
View Articlei have a white image with black numbers on it 14 number to be exact i want to...
i tried making for loop to search for the first black pixel and then crop it and add it's width to the counter in order to start after the first number but it didn't work right
View ArticleCUDA SURF Keypoint Detection on GPU ROI
I am trying to implement a GPU version of some regular OpenCV code I have. In particular, I perform Surf keypoint detection on only a user specified ROI of a larger Mat. My non-GPU code looks like: Mat...
View ArticleIs it possible to speed up traincascade with multiple threads or CUDA?
Is it possible to speed up traincascade with multiple threads or CUDA? I did compile with CUDA enabled, openCL enabled and OpenMP Enabled. So if i cant use CUDA for traincascade / haartraining, can i...
View ArticleOpenCV image cropping error
I executed a program that reads all .jpg files from directory, performs face detection, crops the faces and saves them. The problem is that when run an official python program I am able to detect all...
View ArticleDo OpenCV's BundleAdjuster classes also adjust camera pose?
The documentation does not state that OpenCV's BundleAdjuster classes also adjust the camera pose of the input. From the code, however, it seems that steps are taken to adjust at least the rotation...
View Articlecv::minMaxLoc argument problem
I'm trying to use cv::minMaxLoc to find minium and maximum values and points in a one-dimensional array but I can't compile the source. void main(void) { cv::Mat array1D = cv::Mat(1, 800, CV_32FC1,...
View ArticleOpenCV 3 and CUDA
Recently I migrated to OpenCV 3.0 from 2.4.11 and I noticed that when using gpu (cuda) accelerated algorithms I do not get nvcuda.dll threads (when using VisualStudio debugger). Instead I get...
View Articlecv::ml::StatModel::predict not working / neural networks
I'm using [iris data set](https://en.wikipedia.org/wiki/Iris_flower_data_set) for NN training in OpenCV 3.0.0. Trying to categorize the plants into 2 (I.setosa or non-I.setosa). This is the main code,...
View ArticleProblem with build of face detection sample
Hello. I did build OpenCV 3.0 using MinGW compiler and latest version of CMake. That library I place to C: disk(and MinGW too). But when I try to compile sample file facedetect.cpp, I give next errors:...
View Articlequestions about StructuredEdgeDetection
I have a sailing boat model.The original image is here. And this is the result of edge detection....
View ArticleError when lunching the runnable jar file
Hi, I'm trying to export an application that uses openCV 3 library and works completely fine on eclipse. I've done all these native library things. But, when I try to execute the exported file I get...
View ArticleTake frame after some millisecond
Hi, this is my problem: I wuold like to implement a motion detection. In Internet i found that the motion is captured using two different frame, and with the function Core.absdiff() put the differce in...
View Article