Skip to content

Commit 45fa83f

Browse files
committed
Merge branch 'main' into allow-mp4
2 parents 8f7fda9 + 202cc44 commit 45fa83f

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

src/classifier/classifier.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
from src.project import TrackLabels, ProjectDistanceUnit, Project
2626

27-
_VERSION = 6
27+
_VERSION = 7
2828

2929
class ClassifierType(IntEnum):
3030
RANDOM_FOREST = 1

src/feature_extraction/features.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from .segmentation_features import SegmentationFeatureGroup
1616

1717

18-
FEATURE_VERSION = 7
18+
FEATURE_VERSION = 8
1919

2020
_FEATURE_MODULES = [
2121
BaseFeatureGroup,

src/feature_extraction/landmark_features/corner.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ def get_distances(self, identity: int) -> typing.Tuple[np.ndarray, np.ndarray]:
4747
except KeyError:
4848
return distances, bearings
4949

50+
# points and convex hulls are in y,x
51+
# corners are x,y so flip them to match points and convex hulls
52+
corners = np.flip(corners, axis=-1)
53+
5054
for frame in range(self._poses.num_frames):
5155

5256
# don't scale the point coordinates by the pixel_scale value,

src/version/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
__MAJOR = 0
22
__MINOR = 17
3-
__PATCH = 0
3+
__PATCH = 1
44

55

66
def version_str():

0 commit comments

Comments
 (0)