Ask Your Question
0

Intelperc_capture.cpp example falls in infinite loop

asked 2014-01-06 16:09:59 -0600

area85 gravatar image

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

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-01-09 01:09:15 -0600

Can you please specify command line arguments which you use?

edit flag offensive delete link more

Comments

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";

.....

area85 gravatar imagearea85 ( 2014-01-11 09:38:39 -0600 )edit

Question Tools

Stats

Asked: 2014-01-06 16:09:59 -0600

Seen: 438 times

Last updated: Jan 09 '14