Skip to content

Commit 592ac86

Browse files
authored
More robust selection of Qualisys video cameras
1 parent 13ffc15 commit 592ac86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Pose2Sim/calibration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def read_qca(qca_path, binning_factor):
132132
ret += [float(tag.attrib.get('avg-residual'))]
133133
C += [tag.attrib.get('serial')]
134134
res += [int(tag.attrib.get('video_resolution')[:-1]) if tag.attrib.get('video_resolution') not in (None, "N/A") else 1080]
135-
if tag.attrib.get('model') in ('Miqus Video', 'Miqus Video UnderWater', 'none'):
135+
if any(model in tag.attrib.get('model', '').lower() for model in ["video", "none"]):
136136
vid_id += [i]
137137

138138
# Image size

0 commit comments

Comments
 (0)