Open YoloZyk opened 3 weeks ago
Hi,
Just want to confirm if you are using the correct c3d: In the released pressure
folder, we have two c3ds, and I recommend using the pressure_mat_c3d
.
You can also refer to this line where we initialize the PressureMat() object correctly
Yeah, I am sure I used the pressure_mat_c3d
file you mentioned, but it does contain only the fields I listed above. I also checked other c3d files, including the dataset in 20220923_20220926_with_hands
, and got the same result.
Here is a snippet of my script to initialize PressureMat(), which may help to prove that I am using it correctly.
csv_path = '../data/moyo/20221004_with_com/pressure/train/single_csv/'
xml_path = '../data/moyo/20221004_with_com/pressure/train/xml/'
c3d_path = '../data/moyo/20221004_with_com/pressure/train/pressure_mat_c3d/'
def check_pressure_util(csv, xml, c3d, index=666):
pm = PressureMat(csv, xml, c3d)
gt_pressures = pm.gt_pressures
gt_heatmaps = pm.gt_heatmaps
...
if __name__ == '__main__':
...
check_pressure_util(csv_path + filename + '.csv', xml_path + filename + '.xml', c3d_path + filename + '.c3d', index=index)
Hi,
I have some issues extracting pressure mat markers using the following code in
pressure_mat_utils.py
,I checked the point_labels in the c3d file, and there are no markers for the sensor mat?