Skip to content

Commit

Permalink
Add usage example
Browse files Browse the repository at this point in the history
  • Loading branch information
theSoenke committed Oct 5, 2019
1 parent 936e839 commit d0fd53e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,13 @@ Implementation of [Fine-Grained Head Pose Estimation Without Keypoints](https://
./scripts/download_model.sh
python3 head_pose.py --image face.png


## Usage

```python
head_pose = HeadPose("data/hopenet.pkl")
angles = head_pose.predict("face.png")
print(f"Pose: {angles})
```
Code based on [natanielruiz/deep-head-pose](https://github.com/natanielruiz/deep-head-pose)

0 comments on commit d0fd53e

Please sign in to comment.