Skip to content

Video editing with Python

import numpy as np for lines 151 and 178

cclaussa039c034496d
diff --git a/moviepy/video/tools/tracking.py b/moviepy/video/tools/tracking.py
index 2e97ba9f..6b0a6fca 100644
--- a/moviepy/video/tools/tracking.py
+++ b/moviepy/video/tools/tracking.py
@@ -8,6 +8,7 @@ fx and fy return the position of the object at the start or at the end
of the tracking time interval).
"""
+import numpy as np
from scipy.interpolate import interp1d
from ..io.preview import imdisplay