An application that uses your webcam to detect and alert you when you're pulling your hair, helping you be mindful of this behavior.
- Real-time pose detection using TensorFlow.js
- Choice of five previewable alert sounds when hair pulling is detected
- Visual feedback with detection area and distances
- Runs in the background with minimal UI
- Install dependencies:
npm install- Start the development version:
npm start- Build the application:
# For development build
npm run pack
# For production build
npm run distThe packaged application will be in the dist folder.
TensorFlow.js, pose detection, and MoveNet SinglePose Lightning v4 are
packaged under assets/. assets/asset-manifest.json records the pinned
versions, upstream model source, sizes, and SHA-256 checksums.
npm test
npm run pack
npm run verify:package
# macOS: launches the packaged app with public DNS disabled
npm run smoke:package- Launch the application
- Grant camera permissions when prompted
- The app will monitor your hand movements
- Choose and preview an alert sound from the controls
- The app plays your selected sound if hair pulling is detected
- macOS 10.13 or later
- Webcam
- System notifications enabled