Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Browsing all 600 articles
Browse latest View live

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 Article


STRICT 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 Article


visual 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 Article

Translating 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 Article

CMake 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 Article


During 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 Article

Unable 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 Article

Detecting 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 Article


opencv_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 Article


How 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 Article

Opencv 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 Article

Eclipse 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 Article

using 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 ![image...

View Article


Inter-laying a video sequence to another video in OpenCV

Helo! I wanted to know how to add a small video sequence to another video using OpenCv. By this mean, let's say I have a video playing which is to be interactive where let's say the user viewing the...

View Article

How to slice image with respect to horizontal line pattern

I am new to opencv and trying out segmenting operations. I have this processed image as follows --> ![image description](/upfiles/1480439868583128.jpg) I want to slice the image into separate blocks...

View Article


cv::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 Article

FitEllipse 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 Article


Understanding 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 Article

OpenCV 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 Article

Smooth 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
Browsing all 600 articles
Browse latest View live


Latest Images