# Sunglasses and Bug-eye Effects

Look! Where is my face?:eyes: And whose face is it?:laughing:

<div align="center">
    <img src="https://user-images.githubusercontent.com/15977946/149705000-8818d55c-9264-409f-b995-77718cc6c822.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/face_swap/face_swap.py
```

### Hotkeys

| Hotkey | Function |
| -- | -- |
| s | Switch between modes <ul><li>Shuffle: Randomly shuffle all faces</li><li>Clone: Choose one face and clone it for everyone</li><li>None: Nothing happens and everyone is safe :)</li></ul>|
| v | Toggle the pose visualization on/off. |
| h | Show help information. |
| m | Show diagnostic information. |
| q | Exit. |

### Configuration

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