https://medium.com/@monocosmo77/working-with-video-instance-segmentation-part4-machine-learning-c2011e7f47d4