Skip to content

Commit a4673b1

Browse files
committed
fix: #9 'human_confidence' property does not return value
1 parent d421677 commit a4673b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aipose/models/yolov7/domain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def raw_keypoint(self) -> List[float]:
9191

9292
@property
9393
def human_confidence(self) -> List[float]:
94-
self.raw_keypoints[YoloV7PoseKeypointsIndex.CONFIDENCE]
94+
return self.raw_keypoints[YoloV7PoseKeypointsIndex.CONFIDENCE]
9595

9696
@property
9797
def human_center(self) -> List[float]:

0 commit comments

Comments
 (0)