forked from open-mmlab/mmpose
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Doc] fix api reference (open-mmlab#1792)
- Loading branch information
Showing
20 changed files
with
440 additions
and
1,217 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -180,24 +180,24 @@ jobs: | |
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Upgrade pip | ||
run: pip install pip --upgrade | ||
run: python -m pip install pip --upgrade | ||
- name: Install lmdb | ||
run: pip install lmdb | ||
run: python -m pip install lmdb | ||
- name: Install PyTorch | ||
run: pip install torch==1.8.1+${{matrix.platform}} torchvision==0.9.1+${{matrix.platform}} -f https://download.pytorch.org/whl/lts/1.8/torch_lts.html | ||
run: python -m pip install torch==1.8.1+${{matrix.platform}} torchvision==0.9.1+${{matrix.platform}} -f https://download.pytorch.org/whl/lts/1.8/torch_lts.html | ||
- name: Install mmpose dependencies | ||
run: | | ||
pip install -U numpy | ||
pip install git+https://github.com/open-mmlab/mmengine.git@main | ||
pip install -U openmim | ||
python -m pip install -U numpy | ||
python -m pip install git+https://github.com/open-mmlab/mmengine.git@main | ||
python -m pip install -U openmim | ||
mim install 'mmcv >= 2.0.0rc1' | ||
pip install git+https://github.com/open-mmlab/[email protected] | ||
pip install -r requirements/tests.txt | ||
pip install -r requirements/albu.txt | ||
pip install -r requirements/poseval.txt | ||
python -m pip install git+https://github.com/open-mmlab/[email protected] | ||
python -m pip install -r requirements/tests.txt | ||
python -m pip install -r requirements/albu.txt | ||
python -m pip install -r requirements/poseval.txt | ||
- name: Build and install | ||
run: | | ||
pip install -e . | ||
python -m pip install -e . | ||
- name: Run unittests and generate coverage report | ||
run: | | ||
pytest tests/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -120,24 +120,24 @@ jobs: | |
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Upgrade pip | ||
run: pip install pip --upgrade | ||
run: python -m pip install pip --upgrade | ||
- name: Install lmdb | ||
run: pip install lmdb | ||
run: python -m pip install lmdb | ||
- name: Install PyTorch | ||
run: pip install torch==1.8.1+${{matrix.platform}} torchvision==0.9.1+${{matrix.platform}} -f https://download.pytorch.org/whl/lts/1.8/torch_lts.html | ||
run: python -m pip install torch==1.8.1+${{matrix.platform}} torchvision==0.9.1+${{matrix.platform}} -f https://download.pytorch.org/whl/lts/1.8/torch_lts.html | ||
- name: Install mmpose dependencies | ||
run: | | ||
pip install -U numpy | ||
pip install git+https://github.com/open-mmlab/mmengine.git@main | ||
pip install -U openmim | ||
python -m pip install -U numpy | ||
python -m pip install git+https://github.com/open-mmlab/mmengine.git@main | ||
python -m pip install -U openmim | ||
mim install 'mmcv >= 2.0.0rc1' | ||
pip install git+https://github.com/open-mmlab/[email protected] | ||
pip install -r requirements/tests.txt | ||
pip install -r requirements/albu.txt | ||
pip install -r requirements/poseval.txt | ||
python -m pip install git+https://github.com/open-mmlab/[email protected] | ||
python -m pip install -r requirements/tests.txt | ||
python -m pip install -r requirements/albu.txt | ||
python -m pip install -r requirements/poseval.txt | ||
- name: Build and install | ||
run: | | ||
pip install -e . | ||
python -m pip install -e . | ||
- name: Run unittests and generate coverage report | ||
run: | | ||
pytest tests/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,7 @@ | |
height: 50px; | ||
width: 120px; | ||
} | ||
|
||
table.autosummary td { | ||
width: 35% | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
mmpose.apis.webcam | ||
-------------------- | ||
.. contents:: MMPose Webcam API: Tools to build simple interactive webcam applications and demos | ||
:depth: 2 | ||
:local: | ||
:backlinks: top | ||
|
||
Executor | ||
^^^^^^^^^^^^^^^^^^^^ | ||
.. currentmodule:: mmpose.apis.webcam | ||
.. autosummary:: | ||
:toctree: generated | ||
:nosignatures: | ||
|
||
WebcamExecutor | ||
|
||
Nodes | ||
^^^^^^^^^^^^^^^^^^^^ | ||
.. currentmodule:: mmpose.apis.webcam.nodes | ||
|
||
Base Nodes | ||
"""""""""""""""""""" | ||
.. autosummary:: | ||
:toctree: generated | ||
:nosignatures: | ||
:template: webcam_node_class.rst | ||
|
||
Node | ||
BaseVisualizerNode | ||
|
||
Model Nodes | ||
"""""""""""""""""""" | ||
.. autosummary:: | ||
:toctree: generated | ||
:nosignatures: | ||
:template: webcam_node_class.rst | ||
|
||
DetectorNode | ||
TopdownPoseEstimatorNode | ||
|
||
Visualizer Nodes | ||
"""""""""""""""""""" | ||
.. autosummary:: | ||
:toctree: generated | ||
:nosignatures: | ||
:template: webcam_node_class.rst | ||
|
||
ObjectVisualizerNode | ||
NoticeBoardNode | ||
SunglassesEffectNode | ||
BigeyeEffectNode | ||
|
||
Helper Nodes | ||
"""""""""""""""""""" | ||
.. autosummary:: | ||
:toctree: generated | ||
:nosignatures: | ||
:template: webcam_node_class.rst | ||
|
||
ObjectAssignerNode | ||
MonitorNode | ||
RecorderNode | ||
|
||
Utils | ||
^^^^^^^^^^^^^^^^^^^^ | ||
.. currentmodule:: mmpose.apis.webcam.utils | ||
|
||
Buffer and Message | ||
"""""""""""""""""""" | ||
.. autosummary:: | ||
:toctree: generated | ||
:nosignatures: | ||
|
||
BufferManager | ||
Message | ||
FrameMessage | ||
VideoEndingMessage | ||
|
||
Pose | ||
"""""""""""""""""""" | ||
.. autosummary:: | ||
:toctree: generated | ||
:nosignatures: | ||
|
||
get_eye_keypoint_ids | ||
get_face_keypoint_ids | ||
get_hand_keypoint_ids | ||
get_mouth_keypoint_ids | ||
get_wrist_keypoint_ids | ||
|
||
Event | ||
"""""""""""""""""""" | ||
.. autosummary:: | ||
:toctree: generated | ||
:nosignatures: | ||
|
||
EventManager | ||
|
||
Misc | ||
"""""""""""""""""""" | ||
.. autosummary:: | ||
:toctree: generated | ||
:nosignatures: | ||
|
||
copy_and_paste | ||
screen_matting | ||
expand_and_clamp | ||
limit_max_fps | ||
is_image_file | ||
get_cached_file_path | ||
load_image_from_disk_or_url | ||
get_config_path |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,7 @@ | |
height: 50px; | ||
width: 120px; | ||
} | ||
|
||
table.autosummary td { | ||
width: 35% | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.