- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I' m developing with R200 camera. What I want to do is measuring human's height by measurement and face detection. And I've port the sample RF_MeasurementSP to Unity 5 and it works fine. But when adding face detection module to my project some problem occurred.
I reduce the code to the minimum so it clearly shows the point:
PXCMSenseManager senseManager = PXCMSenseManager.CreateInstance(); senseManager.EnableStream(PXCMCapture.StreamType.STREAM_TYPE_COLOR, COLOR_CAPTURE_WIDTH, COLOR_CAPTURE_HEIGHT, COLOR_FRAMERATE); senseManager.EnableFace(); pxcmStatus res = senseManager.Init(); if (res >= pxcmStatus.PXCM_STATUS_NO_ERROR) { } else { // It returns PXCM_STATUS_ITEM_UNAVAILABLE }
It works if I comment out the line:
senseManager.EnableStream(PXCMCapture.StreamType.STREAM_TYPE_COLOR, COLOR_CAPTURE_WIDTH, COLOR_CAPTURE_HEIGHT, COLOR_FRAMERATE);
But I need it to make my Scene Perception module to work too. So are there any solutions or workaround? Thanks in advance!
Will
Link Copied
0 Replies

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