import sys import numpy as np import cv2 # 동영상 열기 cap = cv2.VideoCapture('tracking2.mp4') if not cap.isOpened(): print('Video open failed!') sys.exit() # 트래커 객체 생성 # Kernelized Correlation Filters #tracker = cv2.TrackerKCF_create() # Minimum Output Sum of Squared Error #tracker = cv2.TrackerMOSSE_create() # Discriminative Correlation Filter with Channel and Spatial Reliability tracker = cv2.Trac..