Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Can't run Intel RealSense SDK Sample

John_S_4
Beginner
1,842 Views

I got a Intel RealSense 3D camera (PCB board without case with a wire connected to a small USB transfer board to connect with PC through a USB 3.0 cable). I try to run this on my PC (Intel Core i7-4770 CPU, 16G RAM, Windows 8.1 64bit), so I download and install the sdk (intel_rs_sdk_offline_package_r_2.0.30.73832.exe). After installation and restarting my PC, I run the tools named "Capture Viewer" and can get the color, depth and IR streams as seen in the attachment. I can also see the color ,depth and IR live stream as well. But when I try to run the samples in the Intel RealSense Sample Brower, most of the programs prompt "Init Failed". I try to compile the source code of the sample "camera_viewer" (not the "Capture Viewer") and debug in the Visual Studio 2012, I see it failed when calling pp->Init() as shown below.

        /* Initializes the pipeline */
        sts = pp->Init();
        if (sts<PXC_STATUS_NO_ERROR) {
            wprintf_s(L"Failed to locate any video stream(s)\n");
            break;
        }

The error code is -3 where I see means PXC_STATUS_ITEM_UNAVAILABLE.

I try to write a simple program myself referencing the tutorial "intel-realsense-capturing-raw-streams.pdf" and I find Init() will succeed if I only enable color stream: EnableStream(PXCCapture::STREAM_TYPE_COLOR, 640, 480); But it will fail if I enable depth stream:EnableStream(PXCCapture::STREAM_TYPE_DEPTH, 640, 480); The code fragment is shown below:

// select the color stream of size 640x480 and depth stream of size 640x480
psm->EnableStream(PXCCapture::STREAM_TYPE_COLOR, 640, 480);
psm->EnableStream(PXCCapture::STREAM_TYPE_DEPTH, 640, 480);
// initialize the PXCSenseManager
if( psm -> Init() != PXC_STATUS_NO_ERROR) {
wprintf_s(L"Unable to Init the PXCSenseManager\n");
return 2;
}

What may be the problem? The point is the tool "Capture Viewer" can run well, but the sample program doesn't work.

Or do we have the source code for "Capture Viewer" tool so I can see the difference between "Capture Viewer" and sample like "camera_viewer".

 

0 Kudos
9 Replies
Colleen_C_Intel
Employee
1,842 Views

Where did you get the camera? Is there a serial number on it?  I fear it is not a valid camera to work with the Beta RealSense SDK.

0 Kudos
John_S_4
Beginner
1,842 Views

Hi Colleen, thank you for reply. I can't find a serial number. This should be a module for integration to devices. USB transfer board and USB calbe are attached as adapter to PC. What's your suggestion to use such kind of camera module? Or is there any SDK version suited for this type of module?

0 Kudos
Colleen_C_Intel
Employee
1,842 Views

I really have no idea what you have for a camera without some type of identifying number - but I can assure you that we are not releasing any cameras in the state you describe. All the cameras for beta had serial and model numbers and were in cases, unless they were cameras OEMs are integrating into systems which should not be available outside manufacturing.

The issues you describe are ones we have seen with non supported cameras, including the Creative 3DSenz that was used with the 2013 SDK. I suggest you order a camera as shown on the RealSense site.

0 Kudos
John_S_4
Beginner
1,842 Views

I can find Creative Senz3D available online. Is the new version of RealSense 3D camera available? I searched http://www.intel.com/content/www/us/en/architecture-and-technology/realsense-3d-camera.html but can't find where I can order one.

0 Kudos
John_S_4
Beginner
1,841 Views

It seems it's out of stock. When will this be available? And if I reserve successfully, when can I get the camera?

0 Kudos
Xusheng_L_Intel
Employee
1,841 Views

We have lots demand for this camera. You can reserve the camera right now so you can get the camera when the camera gets fulfillment. It is difficult to forecast when you can get the camera. Thanks!

0 Kudos
ashish_i_
Beginner
1,841 Views

Even I was facing the same problem. However, I am able to resolve it. The main problem is with the management of the camera. You need a camera manager.

The link for the same is as follows:

https://downloadcenter.intel.com/download/25044/Intel-RealSense-Depth-Camera-Manager-DCM-

Hope it might help.

0 Kudos
chuan_k_
Beginner
1,841 Views

Hi, John, I am facing exactly the same problem, the init() function returns -3 except using STREAM_TYPE_COLOR​, Did you find the solution? Or can anyone provide some help on this, thanks!

0 Kudos
Reply