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

How to extract the area of the text in a frame?

I am working a program that extract the area of the given text from one frame using OpenCV. After got it, it should be blur processing in that area. The text which is displayed in a frame is given, and the text is always horizontal status and the…
0
votes
1 answer

opencv3.1dnn unhandled exception

I'm following the instruction of opencv online documentation to load a caffe framework model. But there is an unhandled exception when I execute to the code net.forward() at the 80th line. Following is the error information. OpenCV Error: Assertion…
tsang
  • 1
  • 2
0
votes
0 answers

How can i get the second image using opencv or image processing

I want process the first image so that i could obtain objects from the image. How can i do it in opencv and python . it is the output from a sensor I want to get this type of segmentation processed image
0
votes
0 answers

image segmentation and counting open CV and python

i want to identify the objects in the image its size count etc. The image is something like above i want to identify the objects in the image and get size, count of it is it possible?
0
votes
1 answer

Converting point2d to Mat

How can I convert vector to Mat. Mat newImg = Mat(ImagePoints); imwrite("E:/softwares/1.8.0.71/bin/newImg.png", newImg); This is not working since imWrite() will only accept channel 1 or 3 or 4 and the Image Points are 2…
SDD123
  • 53
  • 1
  • 12
0
votes
1 answer

FaceRecognizer with one class

I'm trying to use opencv to implement a feature in my app. Basically, my app allows users to authenticate by using their face. Live video will be captured and frames are extracted. Using these extracted images, the model is learned. Next time when a…
lenhhoxung
  • 2,530
  • 2
  • 30
  • 61
0
votes
1 answer

JNI passes different values of function arguments from what were actually given

I have a native c++ function that acts on a cv::Mat (opencv) object passed from Java through JNI (OpenCV4Android). This is my function declaration: extern "C" jboolean Java_com_test_JNIActivity_track(JNIEnv *env, jobject obj, jlong inMatGr, jlong…
EHH
  • 151
  • 7
0
votes
2 answers

How to include and use OpenCv3.1.0 library to CUDA file(.cu)?

I tried to implement my own kernel to median filter like this pseudo code: //main.cpp #include "opencv2/opencv.hpp" cv::Mat inputMat = cv::imread() cudaMedianCaller (inputMat, kernelMat) //medianFilter.h #include…
AmiR Hossein
  • 163
  • 1
  • 11
0
votes
0 answers

OpenCV: How to save a video with lossless compression

I am using OpenCV 3.1 and I am trying to save a video with lossless compression, so that I don't get any RGB values changed. Currently I tried it with the avi container. Codecs I used were CorePNG (PNG1) and Motion PNG (MPNG), problem is that the…
Jane Doe
  • 33
  • 6
0
votes
1 answer

Error with PCA in OpenCV 3

I am trying to run a sample code from OpenCV for PCA from this link PCA example. But after I run it breaks down. I debugged and I saw that it breaks down inside below for loop which is in getOrientation function : for (int i = 0; i < 2; ++i) { …
Aydin
  • 77
  • 1
  • 1
  • 11
0
votes
1 answer

opencv 3.1 wxwidgets cv::imwrite error

I am building a project using Opencv 3.1 and wxwidgets 3.1. The code I use: [wxOpenCv Demo1] I try to add a write frame object, using the function cv::imwrite(). (I changed the c calls to c++ eg: cvQueryFrame( m_pCapture ) to m_pCapture >>…
0
votes
1 answer

how install OCR tesseract on opencv 3.1.0 on linux ubuntu 14.10?

I would like install correctly Opencv_contrib for Text_recognition. Have you a idea to the good process? Before I install Opencv 3.1.0 and opencv_contrib, I install leptonia-1.73, protobuf, caffe, and after Tesseract. After I start to install…
TJ_learn
  • 1
  • 3
0
votes
0 answers

Corruption of heap - VS2010

I have a C++ program that crashes when I run it. I get the following error: This may be due to a corruption of the heap, which indicates a bug in test1.exe or any of the DLLs it has loaded. The program is used to identify the hand through the camera…
NeonBlue
  • 1
  • 2
0
votes
2 answers

"opencv_contrib is required but was not found" error while making cmake

I need to run the code on this repository: https://github.com/KirillLykov/oni2avi I have OpenCV 3.1.0 installed. When I build the code with cmake, I get the following error: "opencv_contrib is required but was not found" How can I solve this…
yusuf
  • 3,591
  • 8
  • 45
  • 86
0
votes
0 answers

i have ucrtbased.dll and opencv_world3110d.dll but the program cant find or open the PDB files from

i have problem in c++ opencv3.1.0 in visual studio 2015. when i run my code why my program always give output : ucrtbased.dll cannot find or open the PDB file and opencv_world310d.dll cannot find or open the PDB file. I have to try so many sollution…
Faiq FK
  • 1
  • 1
  • 4