Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] support pose tracking in webcam API #1393

Merged
merged 3 commits into from May 25, 2022

Conversation

ly015
Copy link
Member

@ly015 ly015 commented May 25, 2022

Motivation

Support pose tracking in webcam API for faster pose estimation (FPS: 4.5 to 7.0; lag: 400ms -> 200ms).

Modification

  • Add PoseTrackerNode
  • Add config tools\webcam\configs\examples\pose_tracking.py
  • Minor modification to some webcam nodes
  • Fix a bug in model inference (add TopDownGetBboxCenterScale if it's missing in the original pipeline)

BC-breaking (Optional)

Use cases (Optional)

Checklist

Before PR:

  • I have read and followed the workflow indicated in the CONTRIBUTING.md to create this PR.
  • Pre-commit or linting tools indicated in CONTRIBUTING.md are used to fix the potential lint issues.
  • Bug fixes are covered by unit tests, the case that causes the bug should be added in the unit tests.
  • New functionalities are covered by complete unit tests. If not, please add more unit tests to ensure correctness.
  • The documentation has been modified accordingly, including docstring or example tutorials.

After PR:

  • CLA has been signed and all committers have signed the CLA in this PR.

@ly015 ly015 requested a review from jin-s13 May 25, 2022 09:29
@codecov
Copy link

codecov bot commented May 25, 2022

Codecov Report

Merging #1393 (25e1ff0) into master (28e55e6) will increase coverage by 0.04%.
The diff coverage is 70.00%.

@@            Coverage Diff             @@
##           master    #1393      +/-   ##
==========================================
+ Coverage   83.16%   83.21%   +0.04%     
==========================================
  Files         225      225              
  Lines       18997    19006       +9     
  Branches     3392     3395       +3     
==========================================
+ Hits        15799    15815      +16     
+ Misses       2362     2359       -3     
+ Partials      836      832       -4     
Flag Coverage Δ
unittests 83.14% <70.00%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
mmpose/apis/inference.py 57.75% <70.00%> (+0.27%) ⬆️
mmpose/datasets/pipelines/shared_transform.py 83.69% <0.00%> (+0.42%) ⬆️
mmpose/models/heads/deeppose_regression_head.py 92.68% <0.00%> (+1.21%) ⬆️
mmpose/core/visualization/image.py 72.34% <0.00%> (+1.70%) ⬆️
mmpose/models/detectors/top_down.py 76.03% <0.00%> (+3.30%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 28e55e6...25e1ff0. Read the comment docs.

@ly015 ly015 merged commit 4254156 into open-mmlab:master May 25, 2022
shuheilocale pushed a commit to shuheilocale/mmpose that referenced this pull request May 5, 2023
* support pose tracking in webcam api

* rename variables

* add unittest for regression model inference
ajgrafton pushed a commit to ajgrafton/mmpose that referenced this pull request Mar 6, 2024
* support pose tracking in webcam api

* rename variables

* add unittest for regression model inference
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants