Ask Your Question

area85's profile - activity

2014-01-11 09:38:39 -0600 commented answer Intelperc_capture.cpp example falls in infinite loop

I had tried many combinations about the arguments manually specified in the function "parseCMDLine()".

But the basic is as follows:

static void parseCMDLine(int argc, char* argv[]) { argc = 12; argv[1] = "-ps"; argv[2] = "-isp"; argv[3] = "0"; argv[4] = "-dsp"; argv[5] = "0"; argv[6] = "-ir"; argv[7] = "-imb"; argv[8] = "0"; argv[9] = "-imc"; argv[10] = "2500"; argv[11] = "-pts";

.....

2014-01-06 16:09:59 -0600 asked a question Intelperc_capture.cpp example falls in infinite loop

Hello,

I downloaded the recent opencv library (version 2.4.8), which integrated with Intel Perceptual SDK and new depth sensors support for Windows. I followed all the process described in the document (opencv_user.pdf: Using Creative Senz3D and other Intel Perceptual Computing SDK compatible depth sensors). However, it falls into infinite loop when it pass the capture.grab() function. (example code > intelperc_capture.cpp > Ln 369).

When I track the line in Debug mode, I found that the code falls in infinite loop after passing Synchronize(void) function (pxcscheduler.h > Ln 44). I don't know what is the problem in my side. Would you fix it?

My development environment is as follows: OS: Windows 7 (64bit) IDE: MSVS 2010 C++ (Win32) OpenCV 2.4.8