Skip to content

Commit

Permalink
Merge pull request #24 from tomas-gajarsky/feature/draw_keypoints
Browse files Browse the repository at this point in the history
Feature/draw keypoints
  • Loading branch information
tomas-gajarsky authored Nov 13, 2022
2 parents 51991d0 + 27068c9 commit ab12c7f
Show file tree
Hide file tree
Showing 59 changed files with 1,234 additions and 1,549 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
# Change Log


## 0.1.3

Released on November 13, 2022.

### Added
* Torchvision based landmark drawer as a utilizer

### Changed
* drawing of 3D landmarks is 21x faster: 152 ms -> 7 ms

### Removed
* Matplotlib based landmark drawer utilizer
* Matplotlib dependency

## 0.1.2

Released on November 10, 2022.
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ You can also download the models manually from a [public Google Drive folder](ht

### Execution time

Image test.jpg (4 faces) is analyzed (including drawing boxes and landmarks) in about 680ms and test3.jpg (25 faces) in about 2s (batch_size=8) on NVIDIA Tesla T4 GPU once the default configuration (*conf/config.yaml*) of models is initialized and pre heated to the initial image size 1080x1080 by the first run. One can monitor the execution times in logs using the DEBUG level.
Image test.jpg (4 faces) is analyzed (including drawing boxes and landmarks, but not saving) in about 440ms and test3.jpg (25 faces) in about 1416ms (batch_size=8) on NVIDIA Tesla T4 GPU once the default configuration (*conf/config.yaml*) of models is initialized and pre heated to the initial image size 1080x1080 by the first run. One can monitor the execution times in logs using the DEBUG level.

Detailed test.jpg execution times:
```
Expand All @@ -187,8 +187,8 @@ analyzer
└── utilizer
├── align: 8 ms
├── draw_boxes: 22 ms
├── draw_landmarks: 152 ms
└── save: 1 ms
├── draw_landmarks: 7 ms
└── save: 298 ms
```


Expand Down
Loading

0 comments on commit ab12c7f

Please sign in to comment.