Text To speech in openCv using C++
actually this is the first time to post a question on stcakoverflow. I have a question about opencv. right now I am working to develop a program takes an attendance using face detection and face...
View ArticleSTRICT macro redefinition Error- in file Tserial.cpp, how is that?
#include #include "opencv2/objdetect/objdetect.hpp" #include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" #include #include #include "tserial.h" #include "tserial.cpp" using...
View Articlevisual studio 2013 with c++ do not show Depth image
Hi, I am a new user in Opencv. I wrote a simple code that is: // emmb.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include #include #include #include #include...
View ArticleTranslating code from C++
Hello, I'm trying to learn OpenCV in JAVA, but I have really bad time searching for any source of information. I want to load and display an image using OpenCV exacly like in this tutorial below, but...
View ArticleCMake error while building MultiTarget-tracker library.
I'm trying to build [Multitarget-tracker][1] using CMake in windows. Initially i had the warning below,> You should manually point CMake variable OpenCV_DIR to your build of OpenCV library.>...
View ArticleDuring startap, gives an error in console
Hi. I wrote the program code. The compliler does not give error, but the console throws the following error: terminate called after throwing an instance of 'std::logic_error' what():...
View ArticleUnable to Read Tiff Images
Hello, here I am adding my basic code. I want to give the path of the Image like that, but I cannot read the TIFF images. I am using C++. Here is the code: #include "opencv2\imgproc\imgproc.hpp"...
View ArticleDetecting a pebble in videos
I would like to detect a pebble in videos, the image below is an example of how the pebble(s) look like. I would ideally like to detect and track the pebbles. What is the best approach to solving this...
View Articleopencv_ffmpeg module crash (IP Camera)
I'm using IP webcam android app(It converts mobile camera into IP web camera). I'm running below code in Visual Studio 2015 with OpenCV 3.1. VideoCapture cap; Mat img;...
View ArticleHow to use the functions of convertTo, applyColorMap,imshow to get the result...
Here is the code in Matlab and the result picture I get using Matlab. For some purposes, I need to convert Matlab code into C++. I have done the conversion of data structure in c++, and then I need to...
View ArticleOpencv java vs C++ in video capture
I'm creating a project that needs to capture live camera video feeds continuously all the time and does processing on each frame. Processing involves locating a particular object of interest when it...
View ArticleEclipse on OSX EL OpenCV3
I successfully compiled and installed the `3.1.0-dev` #pkg-config $pkg-config --libs --cflags opencv -I/usr/local/include/opencv -I/usr/local/include -L/usr/local/lib -lopencv_shape -lopencv_stitching...
View Articleusing opencv with c++ .net application compilation issues
I didn't face any issues while linking opencv library with basic console application but when I moved to do the same in a .net framework template I got many LNK errors  I want to slice the image into separate blocks...
View Articlecv::calcOpticalFlowPyrLK Assertion failed(line 1138)
The Question is related to my [previous](http://answers.opencv.org/question/115621/trackwithopticalflow-alternatives/) Question. I ported the code of my Android Application which calculates the...
View ArticleFitEllipse return bigger ellipse than original ContourSize
I am stuck in weird situation. My `fitEllipse` method returns a big Ellipse than my original Contour. Here is the output of Image: [![enter image description here][1]][1] and my binary image from...
View ArticleUnderstanding accuracy of disparity maps based on ground truth
I am using stereo dataset of KITTI. After generating disparity maps, I hand coded Q matrix (using calibration data that comes in calibration files along with kitti dataset) and then...
View ArticleOpenCV Error: Assertion failed (src.type() == CV_8UC1) in cv::findNonZero?
I have the following code snippet which fails at the line where I call cv::findNonZero(... I dont know why, I did manual conversion on cmprResult and the type is still unchanged, which is type 16...
View ArticleSmooth or blur image edges using opencv
I want to feathere smooth or blur image edges using opencv. This is what i tried int lowThreshold = 100; int ratio = 3; int kernelSize = 3; Mat srcGray, cannyEdges, blurred; cvtColor(input, srcGray,...
View Article