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

About FaceTracking and How to get IR from Sample of QueryFace

Burak_D_
Beginner
626 Views

Hello,

I've done the face tracking by following the SDK manuel and examples on the intel online help center. There is only one thing I want to get is the IR format of the QueryFace sample. When I get the sample it is composed of the followings ; color, depth, ir , left and the right. Only color and depth are available, others are getting null. What I want to ask you is how to enable streaming of IR.

PXCMSenseManager sm=PXCMSenseManager.CreateInstance();


sm.EnableFace();


PXCMFaceModule face=sm.QueryFace();

 
// Initialize the pipeline

sm.Init();


// Stream data

while (sm.AcquireFrame(true).IsSuccessful()) {


   PXCMFaceModule face2=sm.QueryFace();

   if (face2!=null) {

     // When I look at the content of face2 , there are , as I said above, color, depth, ir, left and right  but ir is shown as null.
     //face2 contains     
     //color {PXCMImage}
     //depth {PXCMImage}
     //ir {PXCMImage} = null ( I want to get this stream, donot know how to enable.)
     //left {PXCMImage} = null
     //right {PXCMImage} = null

     
   }

   sm.ReleaseFrame();

}


sm.Dispose();

 

 

I read anything about RealSense QueryFace and cant manage it.  I'll be waiting for your kind helps. Thank you in advance.

 

 

 

0 Kudos
2 Replies
Xusheng_L_Intel
Employee
626 Views

You need enable IR stream like

sm.EnableStream(PXCCapture::STREAM_TYPE_COLOR,640,480,30);

Thanks!

0 Kudos
Burak_D_
Beginner
626 Views

I tried that too like sm.EnableStream(PXCCapture::STREAM_TYPE_IR,640,480,30);

IR allows 640x480 maximum. When I do this, I only get IR by using same = sm.QuerySample not the QueryFace.

Enabling streams just influences QuerySample but I want to get IR from QueryFace.

0 Kudos
Reply