Hemmingsson/FacePause
À propos
Look Away to Pause Youtube - Experimental Chrome Extension
IA et apprentissage automatiqueProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- Historique en cours
- in 15 days
- Historique en cours
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
Original
FacePause
Look Away to Pause Youtube - Experimental Chrome Extension
FacePause uses the experimental native FaceDetector API. Its availability depends on the browser and operating system; enabling a flag does not guarantee support. Unsupported detection stops the webcam and displays a message. See Chrome’s Shape Detection API documentation.
How to install
Build from source using the instructions below, then load build/chrome as an unpacked extension. The historical 0.1 release uses Manifest V2 and does not include these changes.
Notice
🙀 I don’t trust my webcam and I have it covered, see this more as an experiment of Chromes new technology, than a product you'd use every day.
🏴 To get the extension to work you’ll need to enable Chrome Experimental Features here:
chrome://flags#enable-experimental-web-platform-features💡If you’re in a dark setting it will probably be a bit buggy, as FaceDetector API is still not great in bad light.
Development
Installation
- Clone the repository
git clone https://github.com/Hemmingsson/FacePause - Use Node.js 22 or later and run
npm ci - Run
npm run build
Load the extension in Chrome
- Open Chrome browser and navigate to chrome://extensions
- Select "Developer Mode" and then click "Load unpacked extension..."
- From the file browser, choose to
FacePause/build/chrome
Developing
The following task can be used when you want to start developing the extension
npm run chrome-watch
Build checks
npm run build creates Chrome Manifest V3 and Firefox Manifest V2 builds. Run npm test after building to check bundled assets and webcam failure handling. npm run dist creates ZIP files in dist/.
Explorer des projets similaires
Chargement…