Software Archive
Read-only legacy content
17061 Discussions

PXCFaceModule, setting the stream resolution

Matthew_H_2
Beginner
357 Views

When I run the sample code DF_FaceTracking with my F200 camera, and then query the available streams from another RealSense application, I get only this:

Module[0]: 0000005ACCB8EEB0
Device[0]: 0000005ACCB8F120
color[0]: 640x360@30-30
depth[0]: 640x480@30-30

So it seems the face tracking module is setting the camera stream to the above parameters in "Static Application" mode. In the docs "Working with Multiple Modalities" the F200 Face Tracking (3D) modality is listed as working under almost all color and depth resolution combinations available.

I can't find anything in the docs about requesting the PXCFaceModule use a higher resolution stream. Is this possible? I think there is something like this described in the "Module Configuration" section of the docs, but it seems vague. Is there example code available?

0 Kudos
2 Replies
Matthew_H_2
Beginner
357 Views

The example code in "Connecting I/O via CaptureManager" does not seem to work.

sts = videoModule->QueryCaptureProfile(0, &videoData); // assume a single camera
captureManager->RequestStreams(1, &videoData);
sts = captureManager->LocateStreams();  // always returns PXC_STATUS_ITEM_UNAVAILABLE

Though I'm not sure I know what this description of index means in QueryCaptureProfile.

 

 

index

The zero-based index to enumerate all available configuration parameters.

0 Kudos
Matthew_H_2
Beginner
357 Views

Bump -- Does anyone have some advice on this?

0 Kudos
Reply