Ask Your Question

spartanhooah's profile - activity

2018-08-19 21:07:28 -0600 received badge  Notable Question (source)
2016-08-05 00:40:15 -0600 received badge  Popular Question (source)
2015-02-25 13:20:57 -0600 commented question CMake cannot find 'opencv2/core/core.hpp'

Interesting, that's not what the tutorial page says.

2015-02-25 13:16:02 -0600 asked a question CMake cannot find 'opencv2/core/core.hpp'

I'm trying to build a dlib example that uses OpenCV, but when CMake tries to build a file that contains an include reference to <opencv2/core/core.hpp>, CMake complains that it can't find the file. I have made sure to set the environment variable OPENCV_DIR to /OpenCV/build/x64/vc11 (also tried the x86 version) and that that directory is in the PATH variable. What else could be going wrong?

2015-01-20 16:58:33 -0600 commented question OpenCV 1.0 not grabbing from webcam

@berak Thanks for the suggestion from GitHub, although I'm having some problems with that as well (contacted the author). Could you provide anything more specific than "use dlib"?

2015-01-20 11:14:53 -0600 commented question OpenCV 1.0 not grabbing from webcam

I'm well aware that it's a (really) old version, but this project seems like the best starting point for what I want to do (you can see that in my other question). Would it be worth it to either start walking forward in versions from 1.0 until something breaks compile-wise or start at the newest version and walk backward until it does compile?

Also, @StevenPuttemans, do you have a better suggestion for an AAM implementation in a more recent version? I haven't had any luck finding one.

2015-01-20 11:12:58 -0600 received badge  Enthusiast
2015-01-19 09:25:44 -0600 asked a question OpenCV 1.0 not grabbing from webcam

I'm trying to get this project working using OpenCV 1.0, the most recent Qt 4.x release, and Visual Studio 2010. However, when it's supposed to grab an image from the webcam (using a wrapped call to cvQueryFrame), the pointer that's returned is null. I tried setting up some simple code myself to figure out where the problem is, but it still persists. Here is my code:

opencvWebcam webcam;
IplImage* testImage = nullptr;
CvCapture *test = cvCaptureFromCAM(0);

int dummy = cvGrabFrame(test);
testImage = cvRetrieveFrame(test);  // testImage is null here

cvNamedWindow("image");
cvShowImage("image", testImage);
2014-12-31 10:43:25 -0600 commented answer 3D head pose estimation

Thanks for the explanation. I don't (yet) know how to do any of the things you mentioned for my secondary issue, but I have things I can look into.

I'd come across the More Than Technical post, but I'm trying to do this on a video source, so I can't find points of interest ahead of time.

2014-12-30 09:01:16 -0600 asked a question 3D head pose estimation

I've implemented most of the algorithm outlined here - I can display the detected points on a 2D plane. Now, I'd like to go further and estimate the head's pose from the detected points. In the linked blog post, the author says "[the features] are unprojected and intersected with the virtual cylinder. Exact solution to this ray-cylinder intersection could easily be found on the net." I'm not familiar with this problem, so I don't know how to evaluate Google search results with "ray-cylinder intersection", much less know what that actually means. Could anyone point me in the right direction for research?

A secondary issue is that my program finds "good features" behind me, as well as outlining my head, which the author's implementation doesn't do. Does anyone know how he did this?

2014-11-20 10:01:42 -0600 asked a question VS2013 tutorial build lasts forever

I'm doing the tutorial on this page, but Visual Studio 2013 just doesn't seem to want to build the project. I've left it for at least five minutes and it still says it's building. I also cannot cancel the build at this point. What's going on?

2014-11-11 13:57:34 -0600 asked a question Problems setting up OpenCV with VS2013

The first problem I have is when I try to use the environment variable $(OPENCV_DIR) when adding additional include directories. When I start typing ..\, I get a list of directories form inside the Microsoft Visual Studio 12.0 directory! I have confirmed that in the command line %OPENCV_DIR% gets the response "'C:\OpenCV\build\x64\vc12' is not recognized as an internal or external command, operable program or batch file". I have temporarily worked around this by hard-coding the path to these directories.

The second problem comes when I try to run the example program. It builds without any errors, but when I run it, I see the message "'"C:\OpenCV\Projects\OpenCVTest\x64\Debug\OpenCVTest.exe"' is not recognized as an internal or external command, operable program or batch file."

What's going wrong?