Questions tagged [opencv3.1]

Use this tag only for questions that are specific to version 3.1 of OpenCV, for general questions use the [opencv] tag.

OpenCV is an open source computer vision library

Version 3.1 released in December 2015. Its documentation can be found here.

For more information, see .

340 questions
0
votes
2 answers

OpenCV 3.2.0 windows, OpenCL shows devices in C++ but not in python

I am using 2 sample scripts to check if python 3.6 can make use of the OpenCL functionalities of Opencv on windows. I have tried to run a couple of examples related to CAMSHIFT provided in samples and checked to see if I have OpenCL. I would love…
0
votes
1 answer

Auto parking space detection - how to initialize parking map/space with OpenCV and Python

I am working on a project "smart parking", and I stumbled upon a YouTube video that contains what we exactly need. We had already achieved 1st half that is live perspective transform from video feed and the next step is to define it as a set of…
Niranjan Dixit
  • 115
  • 3
  • 12
0
votes
1 answer

Getting odd results from OpenCV distance transform

I am trying to implement something similar to this using openCV https://mathematica.stackexchange.com/questions/19546/image-processing-floor-plan-detecting-rooms-borders-area-and-room-names-t However, I am running into some walls (probably due to my…
bojangles
  • 21
  • 3
0
votes
1 answer

Error while saving trained SVM in OpenCV 3.2.0 Java

when I try to save my trained SVM into file, I get the following error: Caused by: java.lang.Exception: unknown exception at org.opencv.core.Algorithm.save_0(Native Method) at org.opencv.core.Algorithm.save(Algorithm.java:53) at…
Infinito
  • 85
  • 1
  • 3
  • 10
0
votes
2 answers

What does this OpenCV installation error mean and how can I resolve it?

My system is Ubuntu 14.04. I tried many several methods to install OpenCV (tried both 2 and 3). I can not successfully install. I followed [this documentation][1] for the installation and got this error. UPDATE: I reinstalled ffmpeg and x264. I have…
Mat_python
  • 151
  • 2
  • 2
  • 10
0
votes
1 answer

opencv Decode Gray code pattern camera calibration errors. How to format the intrinsic and extrinsic results?

This is my first question here after years of lurking. Be brutal,as I would like to be a good member of a site that has helped me so much over the years. I am starting in opencv ;initially in python but now in c++. I have run the following code to…
rovr
  • 11
  • 1
0
votes
1 answer

'module' object has no attribute 'CreateStructuringElementEx'

es = cv.CreateStructuringElementEx(9,9, 4,4, cv.CV_SHAPE_ELLIPSE) AttributeError: 'module' object has no attribute 'CreateStructuringElementEx' Why? Where I could see the differences between the versions?
Timur Musharapov
  • 163
  • 1
  • 1
  • 13
0
votes
1 answer

how to use CV_RETR_CCOMP and CV_CHAIN_APPROX_SIMPLE in Java OpenCV 3.2.0

I am new to OpenCV. I am converting C++ code into Java code. By referencing this link. While doing this I came across this line: findContours(connected, contours, hierarchy, CV_RETR_CCOMP, CV_CHAIN_APPROX_SIMPLE, Point(0,…
0
votes
2 answers

OpenCV - How to properly call bm3dDenoising()?

I would like to run a small OpenCV script in BM3D denoising filter. I can't properly call this function in OpenCV. bm3dDenoising()? Could anyone help me please? About include and namespace? #include #include…
Agata
  • 141
  • 2
  • 14
0
votes
1 answer

What's the BruteForceMatcher_GPU in OpenCV 3.x

I'm converting the source code and upgrading the library from OpenCV 2.x to OpenCV 3.x. Then I wonder how I have to change BruteForceMatcher_GPU in OpenCV 2.x to some module in OpenCV 3.x. Just use BFMatcher without GPU support?
Jinho Yoo
  • 1,352
  • 5
  • 17
  • 28
0
votes
1 answer

How to Compile Opencv3.2.0 with opencv_contrib

I use Centos7 and gcc is 4.8.5.I can not Comple extra modules from opencv_contrib like xfeatures2d for opencv3.2.0. I used -D OPENCV_EXTRA_MODULES_PATH=../modules/opencv_contrib-3.x.x/modules Flag But I just get some errors like…
sam
  • 1,363
  • 1
  • 20
  • 32
0
votes
1 answer

Can the frequency of a flashing light be counted using a video camera

Is there a formula to determine that max flash rate countable by a video camera? I am thinking that any flash rate > # of fps is not practical. I get hung up on the fact that the shutter is open only a fraction of the amount of time required to…
AeroClassics
  • 1,074
  • 9
  • 19
0
votes
1 answer

EmguCV 3.1 Capture.QueryFrame returning error intermittantly

I am using EmguCV to create a capture from a video file stored on disk. I set the capture property for frame position and then perform a QueryFrame. On certain frames from the video, when I go to process the Mat further I get the error '{"OpenCV:…
Eric H
  • 55
  • 6
0
votes
0 answers

OpenCV C++ using Visual Studio 2015 error

I'm a beginner to opencv, and I've been trying out some basic things using the library. I've added all the dependencies in VS, so generally the image processing related codes work. However, I am getting the following error on the console for one…
Sanat
  • 133
  • 1
  • 1
  • 9
0
votes
1 answer

rror: ‘class cv::ml::TrainData’ has no member named ‘getTestSamples’ Mat vdata = tdata->getTestSamples();

I'm getting this error when using ml , opencv 3.1 : error: ‘class cv::ml::TrainData’ has no member named ‘getTestSamples’ Mat vdata = tdata->getTestSamples(); ^ what could be the reason for this error ? here is my ml code : I…
tofi
  • 17
  • 5