When I am integrating Webgazer to Qualtrics, I applied in header and in javascript I applied
webgazer.setRegression('ridge') /* currently must set regression and tracker */
.setTracker('TFFacemesh')
.setGazeListener(function(data, clock) {
counter = counter + 1;
if(data){
dataSampleX.push(data.x);
dataSampleY.push(data.y);
}
if(data && counter > 25){
var avgX = parseInt(dataSampleX.reduce(getSum,0)/dataSampleX.length);
var avgY = parseInt(dataSampleY.reduce(getSum,0)/dataSampleY.length);
getAllBoxes({x:avgX, y:avgY});
getAllBoxes(data);
counter = 0;
dataSampleX = [];
dataSampleY = [];
}
console.log(data); /* data is an object containing an x and y key which are the x and y prediction coordinates (no bounds limiting) */
console.log(clock); /* elapsed time in milliseconds since webgazer.begin() was called */
})
.begin()
.showPredictionPoints(true); /* shows a square every 100 milliseconds where current prediction is */
The error I got was "webgazer.setRegression(...).setTracker(...).setGazeListener(...).begin(...).showPredictionPoints is not a function." I don't know how to deal with this. Does anyone get any ideas?
Unable to integrate Webgazer to Qualtrics
Sign up
Already have an account? Login
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join.
No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login with Qualtrics
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join. No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login to the Community
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join.
No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login with Qualtrics
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join. No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
