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

Running stereo_match.cpp of OpenCV_Sample

I have 'stereo_match' through the g++ compiler. My environment is : Ubuntu 15.1 Of VirtualBox OpenCV 3.1.0 I don't know the running command. I tried : ./stereo_match --left left12.jpg --right right12.jpg --method BM --ndisp 32. But it failed with…
Junsuk Lee
  • 57
  • 7
0
votes
1 answer

compare value pixel with int

I have a Mat Dist (CV_8U) done by distanceTransform. Now I have to check each coordinate of Dist is > 0 and modify the value of another Mat M = Mat :: zeros the code is int main(){ .... for(i=0;i
kea
  • 103
  • 3
  • 5
0
votes
2 answers

How to use OpenCV RTrees for binary classification?

The RTrees API seems to have changed across different versions. The RTrees 2.4.1 documentation says that it supports both regression and classification, though I don't see how it's possible to do so. I want to use RTrees as a binary classifier in…
Joey Carson
  • 2,973
  • 7
  • 36
  • 60
0
votes
0 answers

Connected components skeleton

I'm working on features extraction from digits skeletons with OpenCV 3.1.0 on C++. I'm looking for a method that give me the number of closed contours in an a skeleton image (for example 2 for 8, 1 for 0,6,9 and 0 for 1,2,3,4,5,7). I used the method…
Anis
  • 36
  • 4
0
votes
0 answers

Issue: Bag of Features Training SIFT or SURF for car detection within Video with OpenCV + Python

I am trying to dump keypoints of cars with SIFT or SURF and match these keypoints to a video in order to detect cars. Keypoints are more convenient to use instead of Haar Cascades because I would have to use a lot of images for example 5000 to…
Tes3awy
  • 2,166
  • 5
  • 29
  • 51
0
votes
1 answer

VisualStudio 2010 - Dll error: __vcrt_cleanup_type_info_names

I am using OpenCV 3.1 with Visual Studio 2010 in Windows 64 bits. I have rebuilt OpenCV by means of Cmake recently and it appears the next error when I try to compile: No se encuentra el punto de entrada del procedimiento …
Jose L
  • 322
  • 3
  • 13
0
votes
1 answer

Unsupported or Unrecognized array type error in OpenCV 3.1 in Python

Okay, there have been questions about this here and I've tried all of them - but none has worked for me. Here is the code: import cv2 import numpy as np img = cv2.imread('circleTest.jpg',0) img = cv2.medianBlur(img,5) cimg =…
user6026311
0
votes
0 answers

OpenCV assertion in facerec_eigenfaces from getMat

When I run the facerec_eigenfaces demo program from OpenCV 3.1 I receive an unhandled exception: OpenCV Error: Assertion failed (0 <= i && i < (int)v.size()) in cv::_InputArray::getMat_ This follows a call to _InputArray::getMat(int). I reduced the…
user2023370
  • 10,488
  • 6
  • 50
  • 83
0
votes
1 answer

Converting HSV to Grayscale for application of Hough transform

I am trying to filter out a traffic light from the camera feed of my autonomous robot. I convert the captured frames into HSV colourspace, threshold them until I can get to detect all red objects that are roughly as "red" as the traffic light, then…
user6026311
0
votes
1 answer

How to use orb on a image in CV2?

I wish to use ORB (http://docs.opencv.org/3.1.0/d1/d89/tutorial_py_orb.html#gsc.tab=0) on a 28*28 grayscale image (handwritten digits), where each pixel has a number from 0 to 255. This is the code I used: # image = {load the array of 754…
Yahya Uddin
  • 26,997
  • 35
  • 140
  • 231
0
votes
0 answers

Cmake error when I try install Opencv 3.1 on Ubuntu 15.10

I want to compile and install OpenCV 3.1 on my Ubuntu 15.10. I follow the this tutorial: http://docs.opencv.org/3.1.0/d7/d9f/tutorial_linux_install.html#gsc.tab=0 After I run the cmake command, the installation begin, but the process return error,…
0
votes
1 answer

function cv::findChessboardCorners corners cannot be std::vector

I have a question, when I run findChessboardCorners in the Qt-MinGW platform, I can get the correct board_feature_locations_xy results, but when I run the same code on the VS2015 platform, I get the wrong results, but if I change the definition…
Chester
  • 21
  • 4
0
votes
1 answer

CUDA driver version is insufficient for CUDA runtime version - OpenCV - GPU Toolkit

I am trying to run the CUDA GPU Toolkit 7.5 built with OpenCV 3.1.0 . My graphic card is : Nvidia Quadro FX 5800 . Driver version : 341.92 (Latest available version for the same) Nvidia classifies my Graphics card in the legacy category with the 1.3…
0
votes
1 answer

Unspecified error (The function is not implemented.)

I want any advice how to solve this Error I'm trying a sample code to check the opencv_contrib Extra modules using CMake This is the error message: And this is the sample code which I used #include "opencv2/highgui/highgui.hpp" #include…
Ahmed Mohamed
  • 51
  • 1
  • 9
0
votes
1 answer

OpenCV 3.1: Train dataset for temp stage can not be filled. on 1-Stage

it's a common error, but i have searched for an answer and try many suggestions, but nothing works. I use opencv 3.1 on my windows (10) system want to train a system for recognition of playmobil figures. i have a bunch of 118 positive images of…
1 2 3
22
23