A fun online virtual dancing app. Renders a dance avatar from the users webcam mimicking the users moves in real time.
Pose recognition done with the TensorFlow model PoseNet: https://github.com/tensorflow/tfjs-models/tree/master/posenet
If dance avatar response is lagging, tweak the PoseNet configuration in src/dance-floor.component.ts. See PoseNet documentation for configuration details. In general faster configurations come at a cost of accuracy.
Run npm start
for a dev server. Navigate to http://localhost:8080/
.
Run npm run build-dev
. This will run ng build
, watch for src file changes and rebuild on changes.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
This project was generated with Angular CLI version 8.0.3.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.