I am tracking objects in the video using YOLO + sort algorithm. I take a snapshot when the tracked object hits the pre-defined refrence line, I do this process using followi