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

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 Article


aruco 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 Article


help 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 Article

Emgu for Android with C#

I use C# to buid an android application, when I reference Emgu.CV ![image description](http://i1265.photobucket.com/albums/jj520/tnductam/Capture_zps0qjbcvrf.png) I have error: Error Exception while...

View Article

How 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 Article


VideoCapture 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 Article

How 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 Article

FlannBasedMatcher

HI I am new in OpenCv, what is FlannBasedMatcher in Opencv 3.0? Thanks Sia

View Article


i 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 Article


CUDA 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 Article

Is 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 Article

OpenCV 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 Article

Do 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 Article


cv::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 Article

OpenCV 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 Article


cv::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 Article

Problem 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 Article


questions about StructuredEdgeDetection

I have a sailing boat model.The original image is here.![image description](/upfiles/14427083177462963.jpg) And this is the result of edge detection.![image description](/upfiles/14426671386108448.png)...

View Article

Error 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 Article

Take 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
Browsing all 41027 articles
Browse latest View live


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