- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to do a Gaze Tracking (C# and Unity) and, has mention in the documentation, the first step is to make a calibration.
The above code is what I tried to do for the calibration:
void Start ()
{
sm = PXCMSenseManager.CreateInstance ();
if (sm == null) {
Debug.LogError ("SenseManager Initialization Failed");
return;
}
sm.EnableFace ();
if (sts != pxcmStatus.PXCM_STATUS_NO_ERROR)
Debug.LogError ("PXCSenseManager.EnableHand: " + sts);
faceAnalyzer = sm.QueryFace();
if (faceAnalyzer == null) {
Debug.</s...
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Looking at other samples that have used these instructions, the first thing I would try is changing the Start()'s line 21 from:
faceAnalyzer = sm.QueryFace();
to
faceAnalyzer = sm>QueryFace();
QueryFace() instructions tend to involve 'sum' signs such as +, - and >, so this made me wonder if with your quoted script, the writer meant to type a > symbol and didn't do the shift-key, getting a full stop instead
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Dntfreitas,
Do you have any updates about this? Did MartyG's suggestion helped? Or, are you still having issues?
Please let us know, we'll try to help you in any way we can.
Pedro M.
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