fourMs / MGT-python

Musical Gestures Toolbox for Python
https://www.uio.no/ritmo/english/research/labs/fourms/downloads/software/musicalgesturestoolbox/mgt-python/index.html
GNU General Public License v3.0
52 stars 11 forks source link

Missing horizontal SSM #280

Open alexarje opened 1 year ago

alexarje commented 1 year ago

When running the ssm on a motiongram, I get a vertical image:

image

but not a horizontal one:

image

What is wrong?

joachimpoutaraud commented 1 year ago

It seems like there is not enough motion information on the horizontal side of your video. Therefore when rendering the SSM on the horizontal motiongram nothing really appears. Do you remember what kind of video is this? Did you experience the same problem with another video? You can maybe try to change the norm parameter for the rendering of the SSM.

norm (int, optional): Normalize the columns of the feature sequence. Possible to compute Manhattan norm (1), Euclidean norm (2), Minimum norm (-np.inf), Maximum norm (np.inf), etc. Defaults to np.inf.