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
1 answer

Unable to access 6 channel Mat of type 16UC(6)

I am unable to access a Mat of type 16UC(6). Below is the code used to iterate over the Mat. //6 channel Mat int cols=1280, rows=720; Mat mat1=Mat(cols, rows, CV_16UC(6), Scalar::all(0)); Mat grid(Size(cols, rows), CV_16UC2, Scalar::all(0)); …
Gayathri
  • 5
  • 3
0
votes
1 answer

OpenCV cmake error

I am new to OpenCV with CMake and I am using it on Windows for the first time and facing some problem which I have mentioned below. CMake Error at CMakeLists.txt:10 (find_package): By not providing "FindOpenCV.cmake" in CMAKE_MODULE_PATH this…
0
votes
3 answers

How to set time interval to get frames from input video?

I m trying to get frames from input video for particular time interval.so suggest me any solution that would be helpful for me.Tell me how to set time limit in the following code. import cv2 vidcap =…
0
votes
1 answer

I need to create a sample video to visualize how HaarCascade works on OpenCV (code do not works)

How are you? I am trying to create a video like this: https://youtu.be/L0JkjIwz2II or like this: https://youtu.be/hPCTwxF0qf4 I am trying to getting this code working: https://github.com/Tubeliar/HAARCascadeVisualization I am using Visual Studio…
0
votes
1 answer

OpenCV why does setting a Mat equal to a decimal less than 1 not cause all of the values in the Mat to become 0?

I need help figuring out how OpenCV handles setting a matrix equal to something. I have an 8-Bit Mat called Radiance that I want to tone map. Here is working code that accomplishes this for me, with K being the constant 450. cv::cvtColor(radiance,…
and3212
  • 1
  • 2
0
votes
1 answer

How to calculate the fps of a video (with processing) using opencv

I can't seem to figure out what is wrong with the code fragment I have...it keeps on outputting over 200 fps for some reason. I tested with OpenCV and the unprocessed video is about 30 fps. int n_frame = 0; Mat previous; auto start =…
Howard Wang
  • 472
  • 6
  • 18
0
votes
1 answer

Video capture in openCV 3.1 not working with python3

I have installed openCV 3.1.0 with python3.5 every thing seemed to work fine during installation however when I am trying to execute even the following simple program, it doesn't work. OpenCV doesn't detect the camera. I checked, and the webcam has…
udion
  • 89
  • 1
  • 3
0
votes
1 answer

How can I use opencv python cv2.xfeatures2d.SIFT as imput for cv2.calcOpticalFlowPyrLK?

I made a stabilizer for videos and now I'm trying to compare my algorithm with others, so I wanted to implement the sift and pass the keypoints to the optical flow algorithm. sift = cv2.xfeatures2d.SIFT_create() then frame.features =…
0
votes
1 answer

Can't draw the epipolar lines in camera calibration and 3D- reconstruction using opencv & python

After I have generated the Fundamental and Essential Matrix from Camera calibration, I am trying to get the Epipolar lines, and draw them in my images to test the Matrix I have generated, following this python-opencv tutorial Here is the code for…
0
votes
0 answers

How to get position that defference between two images using opencv in android

I'm from Russia. I'm learning Android. I'd like to compare two images using OpenCV. I would like to get position that difference between two images. What functions should I use? thanks
Pyotr
  • 1
  • 2
0
votes
0 answers

OpenCV 3, Error when run the project with fontQt?

When I compile the project no errors, but when i run the project i have a problem with fontQt. OpenCV Error: The function/feature is not implemented (The library is compiled without QT support) in fontQt, file…
Nafe Kzir
  • 15
  • 4
0
votes
1 answer

Can never get all dependencies for opencv on raspberry pi 3

I've been trying everything to install dependencies for opencv. First I wen through the tutorial: https://www.pyimagesearch.com/2016/04/18/install-guide-raspberry-pi-3-raspbian-jessie-opencv-3/ After doing this I was still left with over 100 unmet…
Sam
  • 29
  • 8
0
votes
0 answers

Unhandled exception in thread started by on Django

Unhandled exception occurs while passing function inside models.py in Django (installing by pip install numpy django requests) I am trying to manipulate face detection api on web using OpenCV, Numpy and Redis. But i got an exception on passing…
dspuppy
  • 21
  • 5
0
votes
0 answers

opencv3.1 ubuntu16.10 install error

I am trying to install OpenCV 3.1.0 on Ubuntu 16.10 and I'm having some problems. I've been searching for a long time on the net, but I couldn't find an answer. Can you please try to give me some suggestions? When I run make, I get the following…
olivia
  • 1
0
votes
1 answer

Unable to detect ArUco markers with OpenCV 3.1.0

I am trying to code a simple C++ routine to first write a predefined dictionary of ArUco markers (e.g. 4x4_100) to a folder and then detect ArUco markers in a specific image selected from the folder using OpenCV 3.1 and Visual Studio 2017. I have…
Sameer Sharma
  • 23
  • 1
  • 7