MGT-python
MGT-python copied to clipboard
Missing horizontal SSM
When running the ssm on a motiongram, I get a vertical image:

but not a horizontal one:

What is wrong?
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.