Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CSC570 Lecture 08

CSC570 Lecture 08

Applied Affective Computing
Gaze Tracking
(202304)

Javier Gonzalez-Sanchez

April 25, 2023
Tweet

More Decks by Javier Gonzalez-Sanchez

Other Decks in Research

Transcript

  1. jgs CSC 570 Current Topics in Computer Science Applied Affective

    Computing Lecture 08: Gaze Tracking Dr. Javier Gonzalez-Sanchez [email protected] www.javiergs.com Building 14 -227 Office Hours: By appointment
  2. jgs Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 |

    3 Assignment 02 • Open or Closed Eyes VS. Brain • 5 diverse stimulation scenarios VS. Brain • 5 diverse stimulation scenarios VS. Affect Follow 2 approaches: a) Clustering as described today (EM, K-means, Density) b) Explore another solution to the best of your knowledge (Machine Learning, Data mining, Statistics) Due: Monday (April 24)
  3. jgs Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 |

    4 Lab 01 • 5 diverse stimulation scenarios VS. Brain • 5 diverse stimulation scenarios VS. Affect Follow Random Forest approach Due: Monday (April 26)
  4. jgs Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 |

    6 1) EEG.AF3 2) EEG.F7 3) EEG.F3 4) EEG.FC5 5) EEG.T7 6) EEG.P7 7) EEG.O1 8) EEG.O2 9) EEG.P8 10)EEG.T8 11)EEG.FC6 12)EEG.F4 13)EEG.F8 14)EEG.AF4 Dataset Attributes | X
  5. jgs Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 |

    7 Dataset Attributes | X 1) PM.Engagement.Scaled 2) PM.Excitement.Scaled 3) PM.Stress.Scaled 4) PM.Relaxation.Scaled 5) PM.Interest.Scaled 6) PM.Focus.Scaled
  6. jgs Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 |

    8 § EEG.MarkerValueInt Dataset Attributes | Y
  7. jgs Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 |

    9 § https://webgazer.cs.brown.edu § eye tracking library using common webcams to infer the eye-gaze locations of web visitors on a page in real-time. § written in JavaScript § can be integrated into a website § runs entirely in the client browser, so no video data needs to be sent to a server, and it requires the user's consent to access their webcam. WebGazer
  8. jgs Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 |

    11 Assignment 03 • Collect EEG Data (Emotiv PRO) • Collect Gaze Tracking Data (WebGazer) • Save the integrated data in a Dataset (CSV or ARFF file)
  9. jgs Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 |

    13 Add Lab 2 into the New Assignment 03 Imagen (photo) Observer 1 minute Record data What was the part that catch attention?
  10. jgs Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 |

    14 § https://github.com/brownhci/WebGazer/blob/master/www/calibration.html Callibration
  11. jgs Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 |

    16 <html> <head> <script src="./webgazer.js"></script> </head> <body> <div style="text-align: right;" id="gazeData"></div> <script> webgazer.resume(); webgazer.setGazeListener(function(data, elapsedTime) { if (data != null) { var x = data.x; var y = data.y; document.getElementById("gazeData").innerHTML = "Gaze coordinates: x=" + x + ", y=" + y; } }).begin(); </script> <!-- work here … --> Template
  12. jgs Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 |

    17 <!-- work here … --> <style> html, body {height: 100%;margin: 0; padding: 0; } table {width: 100%;height: 100%;border-collapse: collapse;} td {border: 1px solid black;} </style> <table> <tr> <td>Cell 1</td> <td>Cell 2</td> <td>Cell 3</td> </tr> <tr> <td>Cell 4</td> <td>Cell 5</td> <td>Cell 6</td> </tr> <tr> <td>Cell 7</td> <td>Cell 8</td> <td>Cell 9</td> </tr> </table> </body> </html> Template
  13. jgs Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 |

    21 Architecture Bluetooth EMOTIV PRO Your App WebSocket (server) WebSocket (client) EMOTIV BrainViz EMOTIV BCI
  14. jgs Javier Gonzalez-Sanchez | CSC 309 | Winter 2023 |

    24 Office Hours Tuesday and Thursday 3 - 5 pm But an appointment required Sent me an email – [email protected]
  15. jgs CSC 570 Applied Affective Computing Javier Gonzalez-Sanchez, Ph.D. [email protected]

    Spring 2023 Copyright. These slides can only be used as study material for the class CSC308 at Cal Poly. They cannot be distributed or used for another purpose.