Software Archive
Read-only legacy content
17061 Discussions

How to change PXCM Image resolution

Burak_D_
Beginner
521 Views

Hello,

I'm developing application by using RealSense SDK and i have a problem when trying to change the resolution of the image. By default, it is set as 1280x720 and I want to change it any resolution I like. The following are the part of how I get the image info by using RealSense SDK. I'm developing my application in C# .Net environment.

PXCMSenseManager pp = m_form.Session.CreateSenseManager();
PXCMCapture.Sample sample = pp.QueryFaceSample();

When I debug my application, I'm getting the sample.color.info's height and width values which are set to 1280x720 by default as I mentioned before. What I want may be simple but I cant manage to change the default information by looking at the document of RealSense SDK. If you can help me about this issue, I'll be very pleased.

Thanks id advance, regards.

 

 

 

0 Kudos
2 Replies
samontab
Valued Contributor II
521 Views

When you enable the streams you can set the resolution.

0 Kudos
Burak_D_
Beginner
521 Views

I managed to change the resolution. Thank you.

0 Kudos
Reply