Software Archive
Read-only legacy content
17061 Discussions

How to modify libpxcclr.cs for R200?

Gerardo_M_
Novice
619 Views

Hello, I need to modify the libpxcclr.cs to personalize the PXCM3DScan.ScanningMode, however I cannot find the source code or an easy way to it. Anybody has a solution to this?

 

Thanks

0 Kudos
3 Replies
Bryan_B_Intel1
Employee
619 Views

Hi Gerardo,

Customizing the C# libraries (path, etc.) is mentioned in sdkguide.pdf, section 3.3.2.1 (located in C:\Program Files (x86)\Intel\RSSDK\doc\PDF).

-Bryan

0 Kudos
Gerardo_M_
Novice
619 Views

Hi Bryan, we are looking to modify the library to fulfill our scan needs. What we want to do is to have a custom ScanningMode, However when we open the library this is what we have.

 

    public enum ScanningMode {
        VARIABLE = 0,                        // Fixed (in this release) to the largest scanning area per camera
        OBJECT_ON_PLANAR_SURFACE_DETECTION,  // Scanning area is auto-fit to detected object, surface is removed automaticaly
        FACE,                                // Fixed scanning size for scanning human faces.
        HEAD,                                // Fixed scanning size for scanning human head (and shoulders, or hat)
        BODY                                 // Fixed scanning size for scanning human body (with arms at sides)
    };
 

What we want to do is to change for example HEAD scanning mode from fixed values (width, height and depth) to a value that better fits our needs. Additionally we want to decrease the distance between the camera and the scanning area from 1 mt to 0.5 mt.

There doesn't seem to be a way to change the detection and tracking distance where the 3D scanning algorithm starts to work.  

It would be nice to get access to the source code of 3D scanning algorithm but everything seems to point to a DLL.

it

 

Thanks

 

 

 

 

 

0 Kudos
Bryan_B_Intel1
Employee
619 Views

Hi Gerardo,

I'm told Query/SetArea was added in R4, to address this. To determine the size of the HEAD scanning area, you would switch the system into the HEAD scanning mode and then call QueryArea(). To configure a custom scanning area, first switch the system into the VARIABLE (custom) scanning mode, then call SetArea().

-Bryan

0 Kudos
Reply