Closed alexarje closed 1 year ago
I have tested the same example on Windows 11, Google Colab and Windows Subsystem for Linux (WSL) and it works fine. Maybe the MgVideo()
was associated to another variable? What is strange here is that the _ssm.py
function is suppose to return a MgList
but not a MgFigure
. Did you try to run the example from scratch?
It looks like the problem occurs if you run any processes on the MgVideo object before running ssm. If I load a new video file, it works fine, but if I run any process on the video first (e.g. motion()
) it gives the MgFigure error.
It appears that there was a redundancy in a variable name of the MgFigure object in the _ssm.py
file. I have found the variable and change its name so that it won't create an error if another process has been executed on the MgVideo object before.
When running this exampe I get the error:
TypeError: 'MgFigure' object is not callable
:What is wrong?