From ef290366b09a2c8ffc46228d1fb76a939dc7349c Mon Sep 17 00:00:00 2001 From: Jed Date: Sun, 29 Dec 2019 18:50:17 -0500 Subject: [PATCH] Removed deprecated 'clock' import. --- samples/python/lk_track.py | 1 - samples/python/video.py | 3 --- 2 files changed, 4 deletions(-) diff --git a/samples/python/lk_track.py b/samples/python/lk_track.py index c668448..7b77f1b 100755 --- a/samples/python/lk_track.py +++ b/samples/python/lk_track.py @@ -26,7 +26,6 @@ import cv2 as cv import video from common import anorm2, draw_str -from time import clock lk_params = dict( winSize = (15, 15), maxLevel = 2, diff --git a/samples/python/video.py b/samples/python/video.py index 684702a..6820268 100755 --- a/samples/python/video.py +++ b/samples/python/video.py @@ -39,9 +39,6 @@ import re from numpy import pi, sin, cos -# built-in modules -from time import clock - # local modules from tst_scene_render import TestSceneRender import common -- 2.7.4