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 write text on video

I has raspberry pi 3 with raspbian jessie installed. Open CV3 and python 3.0 also installed. I get a python sample code which detect the face. I need write some text on the screen but it's not write on it. I need write text once instead of…
Bubble Bub
  • 651
  • 4
  • 12
  • 32
0
votes
0 answers

Transparent API GPU acceleration with EmguCV

I've already tested Transparent API GPU Acceleration with OpenCV 3.1 by replacing any 'Mat' by 'UMat'. But for some reason, I need to use EmguCV and C#. Since it's a wrapper to OpenCV it should be possible to use the same acceleration. I searched…
arman radan
  • 190
  • 14
0
votes
1 answer

ANN_MLP missing attribute in python OpenCV3

I'm trying to run some sample OpenCV3 Neural Network code in Python. import cv2 model = cv2.ml.ANN_MLP() model.load('mlp.xml') But this gives me the error: module 'cv2.ml' has no attribute 'ANN_MLP' But, there is such a class in OpenCV3 release…
Mochan
  • 1,329
  • 1
  • 13
  • 27
0
votes
1 answer

Error with Open CV v3.1 in Visual Studio C#

I am doing a school project where I need to use OpenCV. I try to use the function "findcontours", provided by OpenCV. But when I call the function I systematically get an error, the program ends. Without giving me any advice or error message. I put…
Spicy Paper
  • 21
  • 1
  • 5
0
votes
1 answer

Real time face detection using openCV in android

I am trying to detect faces using camera in android. I am using openCV3.1 lib for face detection. I found an article regarding this topic HERE, I have tried to implement same but i don,t know why my code is not working, it is not showing any error…
Mayur Gadhiya
  • 119
  • 2
  • 13
0
votes
0 answers

OpenCV find open eyes using "haarcascade_eye.xml" in Java

I'm using opencv with java for a project and I need to detect only open eyes of the face image. But With the java code I'm using it detects both closed and open eyes. below is the code I have. This is the url of how to set OpenCV in eclipse -…
UHS
  • 9
  • 5
0
votes
1 answer

Possible error with code and extracting frames with opencv at a specific fps?

I believe there is a possible error with this code because it saves more images than it should when I calculate (fps * seconds). It also saves a NULL image at the end. I feel like this is the most basic code to save images and I'm not sure what the…
Jaden
  • 265
  • 3
  • 16
0
votes
1 answer

OpenCV VideoCapture can't open file, what am I doing wrong?

I am compiling on Ubuntu 14.04 using OpenCV 3.1. When trying to open a video file it gives this error: "Cannot open the video file" I installed everything i could install : ffmpeg etc. Haven't found a solution checking out similar questions on…
edd
  • 21
  • 1
  • 6
0
votes
1 answer

Put Greyscale Images into one List - (Error: (-215) scn == 3 || scn == 4 in function ipp_cvtColor)

I want to read every images in a folder into one list and then greyscale every image. All the greyscale images should be in one list as well. Currently, I am able to read images to one list, but I am not able to put all the greyscale images into one…
Judie
  • 81
  • 3
  • 10
0
votes
1 answer

feature descriptor for a given 2d point in an image

Trying to get a descriptor for a predefined point using python opencv3. The goal is to provide a set of points for a given image and get their corresponding feature descriptors. I'm open to using SIFT, SURF, Brief, ORB, and basically any descriptor.…
0
votes
1 answer

cvGetCol throwing "OpenCV: Unrecognized or unsupported array type"

I'm trying to manipulate individual columns using OpenCV3 (Emgu) in c#. I have code that is similar to: UMat Image = loaded image UMat Column = new UMat(); CvInvoke.cvGetCol(Image, Column, 1); {"OpenCV: Unrecognized or unsupported array…
0
votes
0 answers

Building OpenCV 3.1 Error Message in Ubuntu 16

I am trying to build from source opencv so that I can have access to the sift/surf libraries. I am running into the problem where it is getting 82% of the way before stopping. I have tried disabling packages I thought might be the problem with…
Bryce
  • 33
  • 2
0
votes
2 answers

Why OpenCV face detection recognition the faces for untrained face?

I trained 472 unique images for a person A for Face Recognition using "haarcascade_frontalface_default.xml". While I am trying to detect face for the same person A for the same images which I have trained getting 20% to 80% confidence, that's fine…
0
votes
2 answers

Cant run OpenCV android app on my divice

I'm making an app using android and opencv. When I run the app on lg g3 opencv is work, but when I run on galaxy s7 I get the message "opencv was not initialised correctly Application will be shut down" :( Can someone help please? …
0
votes
0 answers

Java calls C ++ methods with JNI

I want to implement image mosaicking with Java call C++ and This is my Java code package com.example.jni; public class JNITest { static { System.loadLibrary("ConsoleApplication123"); } // native method : the…
Jon Snow
  • 59
  • 10