Software Archive
Read-only legacy content
17061 Discussions

How to modify the Scannig Area for R200?

Gerardo_M_
Novice
561 Views

Hello, I need to modify and set a custom made scanning area in the C# 3D scan example that is coming in the SDK for a R200 camera. The way that is working right now it that is using fixed modes, so these modes have predefined width, height and depth, using the code below: 

else if (scanType == "Body") scan_config.mode = PXCM3DScan.ScanningMode.BODY;

I have two questions:

1. It is possible to modify those fixes values?

2. I was unable to make the method below works, I found that function in which I can modify the values, but I cannot send those values to the camera and see the changes, below is the code example. I reviewed the documentation from Intel but is not easy for me to follow it. 

PXCMSize3DF32 myarea= new PXCMSize3DF32(100, 100, 50);

I will appreciate so much all your help

Regards.

0 Kudos
2 Replies
Xusheng_L_Intel
Employee
561 Views

You can use SetArea()---https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/setarea_pxcscan.html. Please make sure SetConfiguration() was previously called to configure the system in VARIABLE scanning mode.

0 Kudos
Gerardo_M_
Novice
561 Views

Hi David Lu, The Set area method does not modify the distance to the object I want to scan, (I mean Z depth ). It looks like it only detects objects at 60cm, I want it to be 40cm.

0 Kudos
Reply