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

opencv3.1 on windows. object has no attribute 'MinDistancePredictCollector'

I'm using OpenCV3.1 with python27 on Windows 7 for face recognition. I compile the OpenCV 3.1 and the opencv_contrib modules using CMAKE and VS Express 2012 with all teh required stuff. Until I reach to the last part, which is for the collector to…
Alexander Dischberg
  • 1,890
  • 2
  • 13
  • 26
0
votes
0 answers

In Android OpenCV Color Blob Detector is crashing by giving fatal error

I'm using Color Blob detector Sample code of OpenCV (Sample Code), but app is crashing at Core.multiply(contour, new Scalar(4,4), contour); giving some fatal error libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 11016…
Usman Rana
  • 2,067
  • 1
  • 21
  • 32
0
votes
0 answers

OpenCV 3.1 iOS can't load classifier from .xml

I'm trying to run this example on iOS: https://github.com/egeorgiou/openCViOSFaceTrackingTutorial Everything works except this function: faceCascade.detectMultiScale(grayscaleFrame, faces, 1.1, 2, HaarOptions, cv::Size(60, 60)); I get an error like…
L3M0L
  • 429
  • 8
  • 23
0
votes
1 answer

OpenCV 3.1 cv2.stereoCalibrate TypeError: an integer is required

Recently I managed to compile newest opencv 3.1 with cuda support. After some tinkering I properly converted most of my python code from 2.4.x to 3.1.x wihout any problems. But when it came time to try out the stereCalibrate capability, the error…
chip_havoc
  • 49
  • 5
0
votes
0 answers

Mat.at< >(y, x) for arbitrary image depths

Short version Which is the most efficient and elegant way to modify a pixel value of a Mat object with .at<> no matter what depth the data has? Or, is there another simple approach without .at<>? Long version When modifying single pixels of a mat…
Phann
  • 1,283
  • 16
  • 25
0
votes
0 answers

Algorithm to Find Corresponding Points Between two Images - OpenCV 3 Python 3

Working with OpenCV 3 and Python 3, I have two images depicting the same object, photographed from two different angles. In the first image I have found some test points and I want to find the corresponding ones in the other. I have used a brute…
Adam
  • 486
  • 1
  • 8
  • 26
0
votes
1 answer

open cv3.1, python 3.5

I am trying to do face recognition using opencv3 and python3: here is my code : import errno import numpy as np import cv2 import os import sys import…
user6359857
0
votes
0 answers

Where are the OpenCv3.10 libraries?

I have just downloaded OpenCv3.10 and the only libraries in the lib directory are: opencv_world310.lib and opencv_world310d.lib. Why arent there any other?
albert
  • 113
  • 1
  • 12
0
votes
0 answers

Bad Disparity Map Dual Lens StereoSGBM OpenCV3 Python2.7

I have trouble calibrating the dual lens camera to get a disparity map. I attached Images and the source code. I've tried a thousand combinations of variables and this is the best I've accomplished with this camera. With other cameras like the…
0
votes
2 answers

opencv 3.1 dnn (caffe) module model import fail

environment: OS: win 10 IDE: Visual Studio 2013 opencv: 3.1 master from https://github.com/Itseez/opencv opencv_contrib: from https://github.com/Itseez/opencv_contrib graphic card: nvidia GeForce 610M CUDA: tool kit v7.5 & cudnn is install what I…
Chi-Fang Hsieh
  • 235
  • 1
  • 3
  • 13
0
votes
2 answers

cv2 getTrackbarPos not working

Working with opencv3.1 as cv2 in python 2.7.12. The problem I'm having right now is that, though I am following multiple sets of instructions that all seem to use the same setup as myself or at least a very similar one. I am mainly going by these…
ThisGuyCantEven
  • 1,095
  • 12
  • 21
0
votes
1 answer

HOG Descriptor using Python + OpenCV

I am trying to implement HOG Descriptor with OpenCV to detect Pedestrians in a video. I am currently using the pre-made dataset by OpenCV hogcascade_pedestrians.xml. Unfortuntley the documentation on this part is very poor on the internet although…
Tes3awy
  • 2,166
  • 5
  • 29
  • 51
0
votes
0 answers

Building OpenCV 3.1.0 from source with SIFT and SURF

I'm trying to build OpenCV 3.1.0 (with the extra contrib packages) from source. I'm following the instructions in this tutorial to build it under Visual Studio 2015 and the ones in this StackOverflow question to re-enable the SIFT and SURF features,…
APinto
  • 76
  • 7
0
votes
0 answers

OrbFeaturesFinder giving different result when implemented on Android platform

I am using OrbFeaturesFinder to detect keypoints in Images. Ptr finder; finder = makePtr(); vector features(num_images); (*finder)(img, features[i]); I used this code on linux and implemented the…
Garvita Tiwari
  • 584
  • 2
  • 12
0
votes
0 answers

{OpenCV Error} error while loading shared libraries: libgfortran.so.1: cannot open shared object file: No such file or directory

SYSTEM: Ubuntu 16 LTS Compiler: g++ I) I have built OpenCV from source. I followed these steps: 1.) Downloaded OpenCV source / code (3.1.0) 2.) Unzipped it 3.) Used cmake with default settings (cmake ..) because any other options were throwing up…