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/detect format function #144

Merged
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
63ad217
CDL: minor doc typo fix
cleong110 Mar 8, 2024
e7e1e84
Merge branch 'sign-language-processing:master' into master
cleong110 Nov 4, 2024
6cc32c0
Merge branch 'sign-language-processing:master' into master
cleong110 Nov 8, 2024
fc19d7f
Merge branch 'master' of https://github.com/sign-language-processing/…
cleong110 Dec 17, 2024
71d7bdf
Merge branch 'sign-language-processing-master'
cleong110 Dec 17, 2024
6d18ed6
Undoing some changes that got mixed in
cleong110 Dec 19, 2024
1dc6792
Merge branch 'sign-language-processing:master' into master
cleong110 Jan 6, 2025
d351a2a
Add detect_pose_format function and SupportedPoseFormat Literal
cleong110 Jan 8, 2025
c08066c
detect_known_pose_format and tests for it.
cleong110 Jan 9, 2025
6505031
various cleanup changes, style changes
cleong110 Jan 9, 2025
2d963e2
Merge branch 'sign-language-processing:master' into master
cleong110 Jan 9, 2025
c672e7b
Merge branch 'master' into feature/detect_format_function
cleong110 Jan 9, 2025
61adc37
missing import
cleong110 Jan 9, 2025
5f86f29
undo black formatting for face contours and ignore_names
cleong110 Jan 10, 2025
9996a43
SupportedPoseFormat->KnownPoseFormat
cleong110 Jan 10, 2025
75cb939
Unreachable raise ValueErrors fixed
cleong110 Jan 10, 2025
1ce3d94
generic utils type annotations
cleong110 Jan 10, 2025
22f0521
change detect_known_format to take Pose or PoseHeader
cleong110 Jan 10, 2025
c224568
Reraise ImportError if mediapipe is not installed
cleong110 Jan 10, 2025
996f6f3
conftest update to supply unknown-format fake poses
cleong110 Jan 10, 2025
431c8ce
nicer formatting for plane_info and line_info
cleong110 Jan 10, 2025
787f17a
fix import in generic_test.py
cleong110 Jan 13, 2025
89794c3
Merge branch 'sign-language-processing:master' into master
cleong110 Jan 13, 2025
8e8aa6a
add some pylint disables, consistent with pose-evaluation
cleong110 Jan 13, 2025
9d6b539
Merge branch 'master' into feature/detect_format_function
cleong110 Jan 13, 2025
0a8c8c5
Change import in conftest.py
cleong110 Jan 13, 2025
a3dff8c
change import style in generic.py
cleong110 Jan 13, 2025
211061c
change more imports
cleong110 Jan 13, 2025
8a9a20c
Fix a few type issues
cleong110 Jan 13, 2025
03ab04d
Merge branch 'sign-language-processing:master' into master
cleong110 Jan 13, 2025
f12e12c
Merge branch 'master' into feature/detect_format_function
cleong110 Jan 13, 2025
434bfb6
Change matrix strategy fail-fast to false, so that we can still run t…
cleong110 Jan 13, 2025
d77e0a8
Union for type annotation backwards compatibility
cleong110 Jan 13, 2025
5480987
Add checks for NotImplementedError
cleong110 Jan 13, 2025
a0bb83a
Fix correct_wrist modifying input, and wrong shape for stacked conf. …
cleong110 Jan 13, 2025
face2aa
Simplify get_component_names and fix spacing
cleong110 Jan 14, 2025
c1342de
fix test_get_component_names
cleong110 Jan 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
.idea/
.DS_Store
.vscode/
.coverage
.coveragerc
coverage.lcov
11 changes: 11 additions & 0 deletions src/python/pose_format/utils/conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import copy
from typing import List
import pytest
from pose_format import Pose
from pose_format.utils.generic import get_standard_components_for_known_format, fake_pose
@pytest.fixture
def fake_poses(request) -> List[Pose]:
# Access the parameter passed to the fixture
known_format = request.param
components = get_standard_components_for_known_format(known_format)
return copy.deepcopy([fake_pose(i * 10 + 10, components=components) for i in range(3)])
Loading
Loading