brownhci/WebGazer

Integrating WebGazer with React

Open

#101 geöffnet am 19. Dez. 2018

Auf GitHub ansehen
 (7 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)HTML (520 Forks)batch import
help wanted

Repository-Metriken

Stars
 (3.412 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

I was trying to build some gaze tracking models for use in js when I stumbled on your project. I am currently trying to incorporate webgazer.js into a React App and later into a chrome extension if the proof of concept works. I built webgazer from source, then moved the /src directory into my app and imported webgazer into my app.

First I receive a bunch of errors that many variables are not defined. I assume that this is because react expects every variable to be explicitly defined with var, const or let.

I fixed all of those issues but then got this error

This got me wondering if I am not correctly incorporating the library. Do you have any suggestions on this integration or idea why it's not working out of box?

Thanks in advance!

Contributor Guide