Skip to content

Commit 4a9334c

Browse files
committed
person
1 parent f220f28 commit 4a9334c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

people_tracking/yolo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(self) -> None:
4848
model_path = "~/MEGA/developers/Donal/yolov8n-seg.pt"
4949
device = "cuda"
5050
self.model = YOLO(model_path).to(device)
51-
self.table_class = 60 #table class defined with index 60 (person = 0)
51+
self.table_class = 0 #table class defined with index 60 (person = 0)
5252

5353
rospy.init_node('listener', anonymous=True)
5454
self.publisher = rospy.Publisher('/hero/segmented_image',Image)

0 commit comments

Comments
 (0)