Description
This is what I think is happening: Upon "File > Export Analysis H5..." SLEAP successfully saves the h5 file. No errors in terminal. But the issue is that SLEAP overwrites predictions from all videos on the same matrix (ie '/tracks') even though there's only one video open (and selected by default) in SLEAP GUI. -- Thus, h5 data is completely unusable, because it overwrites them as opposed to create different matrix for each video. (I think this might be the reason behind issue #611 that showed same frame-counts)
Perhaps there is no error, and I am reading h5 file wrong. If so, please suggest how to access predictions from individual videos in the HDF5 file. -- I tried using SLEAP 1.2.x on Windows10 to export, and reading hdf5 file in Matlab using the following command:
tracks_matrix = h5read(h5file, '/tracks')
X_value = tracks_matrix(frame_ind, point_ind, 1)
Y_value = tracks_matrix(frame_ind, point_ind, 2)
Ideally, it would be great to have two options in File menu, to export analysis from either the current video or all videos in the project.