Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Minified version #273

Closed
patricio1979 opened this issue Sep 19, 2022 · 2 comments
Closed

Feature request: Minified version #273

patricio1979 opened this issue Sep 19, 2022 · 2 comments

Comments

@patricio1979
Copy link

Hello, first thank you for the amazing library.

Is there a way to build a minified version of webgazer.js ?
I'm working inside the p5js editor and 15mb of library is too big.

Also, is there a way to work with video feed instead of webcam?

@jeffhuang
Copy link
Contributor

Yes you should be able to toggle the minified option. See https://github.com/brownhci/WebGazer/blob/master/webpack.config.js

For video feed, take a look at the version here:
https://github.com/brownhci/WebGazer/tree/master/www/data/src

@jeffhuang
Copy link
Contributor

this is the default build now if you use "npm run build", so closing this. if you want the uncompressed version, you can do "npm run dev" still

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants