Ask Your Question

BananaCode's profile - activity

2017-09-05 13:42:43 -0600 received badge  Popular Question (source)
2015-10-09 12:32:55 -0600 received badge  Famous Question (source)
2014-11-19 05:39:54 -0600 received badge  Notable Question (source)
2014-09-04 05:55:55 -0600 received badge  Popular Question (source)
2014-03-12 02:53:11 -0600 received badge  Student (source)
2014-03-11 14:55:22 -0600 asked a question Type of Matrix of a depth Image

According to this website here:

http://docs.opencv.org/doc/user_guide/ug_intelperc.html

The depth images from the camera return a matrix with type CV_16UC1

However, calling the function .type() on the matrix returned, yields the number 3, which is equal to CV_16SCU1.

Did I do something wrong or is the documentation outdated?

Regards

2014-03-05 10:10:07 -0600 commented answer Cannot start program because opencv_core248d.dll is missing

This works. But is there no way to link the libraries?

2014-02-27 11:52:13 -0600 commented answer Cannot start program because opencv_core248d.dll is missing

Yes, I have done that. Same error.

2014-02-27 10:49:21 -0600 asked a question Cannot start program because opencv_core248d.dll is missing

Hello,

I'm trying to install OpenCV. Turns out this is far more complicated as expected. The tutorials are all outdated. Here is my current problem:

I'm running on a 64 bit machine, and am trying just a simple sample code:

#include <opencv\cv.h>
#include <opencv\highgui.h>

using namespace cv;


int main() {
    Mat image;

    VideoCapture cap;
    cap.open(0);

    namedWindow("window",1);

    while(true) {

        cap >> image;

        imshow("window", image);

        waitKey(33);
    }


    return 0;
}

When I run this, I get an error stating that opencv_core248d.dll is missing. Checking the bin directory, it is there. How do I fix this?

Regards

2014-02-27 09:51:37 -0600 received badge  Editor (source)
2014-02-27 09:46:01 -0600 asked a question fatal error C1083: Cannot open include file: 'opencv2/core.hpp': No such file or directory

Hello all,

I'm following the tutorial on how to set up OpenCV under Visual Studios 2010: http://docs.opencv.org/doc/tutorials/introduction/windows_visual_studio_Opencv/windows_visual_studio_Opencv.html#windows-visual-studio-how-to

However, when I try the sample code, I get following error:

fatal error C1083: Cannot open include file: 'opencv2/core.hpp': No such file or directory

Does anyone have a way to fix this problem? My current configurations are:

Visual Studios 2010 64-Bit System. OpenCV 2.4.8 OPENCV_DIR Enviromnetal Variable set to C:\OpenCV\Build\x64\vc10\ with the command setx -m OPENCV_DIR C:\OpenCV\Build\x64\vc10

I followed everything exactly like the tutorial said, except for the "Additional Include Directories" part, because the link specified was not valid. I changed it to C:\OpenCV\build\include. Both versions don't work, mine and the one in the tutorial.

The funny thing is, when I put #include <opencv2/**core**/core.hpp> instead of #include <opencv2/core.hpp>, it doesn't complain. I get a linker error instead: fatal error LNK1104: cannot open file 'opencv_core231d.lib'

What is going on? Can anyone help?

Regards