Items with no label
3335 Discussions

sr300 does not support face RegisterUser and UnregisterUser

cxinl
Beginner
1,558 Views

Hi:

When I use sr300 and run FaceTracking sample code, I found that it can't do RegisterUser and UnregisterUser operations. So I goin to the code, I see

case WM_INITDIALOG:

PopulateDevice(menu1);

CheckDlgButton(dialogWindow, IDC_LOCATION, BST_CHECKED);

CheckDlgButton(dialogWindow, IDC_SCALE, BST_CHECKED);

CheckDlgButton(dialogWindow, IDC_LANDMARK, BST_CHECKED);

deviceName = FaceTrackingUtilities::GetCheckedDevice(dialogWindow);

if (wcsstr(deviceName, L"R200") == NULL && wcsstr(deviceName, L"DS4") == NULL)

{

CheckDlgButton(dialogWindow, IDC_POSE, BST_CHECKED);

CheckDlgButton(dialogWindow, IDC_EXPRESSIONS, BST_UNCHECKED);

CheckDlgButton(dialogWindow, IDC_RECOGNITION, BST_UNCHECKED);

CheckDlgButton(dialogWindow, IDC_PULSE, BST_UNCHECKED);

Button_Enable(GetDlgItem(dialogWindow, ID_REGISTER), false);

Button_Enable(GetDlgItem(dialogWindow, ID_UNREGISTER), false);

}

{

DisableUnsupportedAlgos(dialogWindow, true);

}

is that mean sr300 does't have such functions? Thanks

0 Kudos
5 Replies
MartyG
Honored Contributor III
272 Views

The Face Tracking sample should work with F200, SR300 and R200. Are you running the sample from the c://Program Files(x86) folder? If so, samples run from this location will have problems, because it is a protected 'read only' folder that cannot have data saved to it. The ideal way to run the samples is to do so from an application called the Sample Browser. It is in a folder the SDK places on your desktop called 'Intel RealSense SDK Gold'.

0 Kudos
cxinl
Beginner
272 Views

Thanks to martyG.

I compiled the sample code on other disk, and run the exe. My camera is sr300, I found the regist and reconize buttons are both disabled, so I goin to the code

0 Kudos
MartyG
Honored Contributor III
272 Views

did a test of the sample with my own SR£00. The Register and Unregister buttons are indeed ghosted out by default. What you need to do to access these buttons is place a tick in the 'Recognition' option box and click the Start button. The buttons then un-ghost.

0 Kudos
cxinl
Beginner
272 Views

Thanks to MartyG:

Its my fault, I did't checked the recongize option, I have resolved. Thank you!

0 Kudos
MartyG
Honored Contributor III
272 Views

You are very welcome. Have a great day!

0 Kudos
Reply