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