# New Year Hat and Firecracker Effects

This demo provides new year effects with pose estimation results, like adding hat on the head and firecracker in the hands.

<div align="center">
    <img src="https://user-images.githubusercontent.com/28900607/149774252-8bff7738-2a54-4480-a31c-0a574e7159cb.gif" width="600px" alt><br>
</div>

## Instruction

### Get started

Launch the demo from the mmpose root directory:

```shell
python tools/webcam/run_webcam.py --config tools/webcam/configs/newyear/new_year.py
```

### Hotkeys

| Hotkey | Function |
| -- | -- |
| t | Toggle the hat effect on/off. |
| f | Toggle the firecracker effect on/off. |
| h | Show help information. |
| m | Show the monitoring information. |
| q | Exit. |

### Configuration

See the [README](/tools/webcam/configs/examples/README.md#configuration) of pose estimation demo for model configurations.
