- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
I am trying to run a sample code but there seems to be an issue.
PXCSenseManager *sm=PXCSenseManager::CreateInstance();
sm.EnableStream(PXCMCapture.StreamType.STREAM_TYPE_COLOR,0,0)
It gives the Invalid arguments error.
Any help will be appreciated.
Thanks,
Shaleen Sharda
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Should use PXCSenseManager sm = PXCMSenseManager.CreateInstance(); Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi David.
Thanks for the reply.
I am stuck with another issue. I am trying to print a message indicating the no of faces in front of the camera.
Here's my code. This is right out of the SDK but I still cant get it to work. It just prints 0 again and again.
Pls help.
PXCMSenseManager sm = PXCMSenseManager.CreateInstance();
sm.EnableFace();
sm.Init();
while (sm.AcquireFrame()>= pxcmStatus.PXCM_STATUS_NO_ERROR )
{
PXCMFaceModule face2 = sm.QueryFace();
PXCMFaceData fdata= face2.CreateOutput();
Int32 no = fdata.QueryNumberOfDetectedFaces();
Console.WriteLine(no);
fdata.Dispose();
}

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page