samples: fix python samples compatibility with demo.py
This commit is contained in:
@@ -32,13 +32,13 @@ Keys:
|
||||
# Python 2/3 compatibility
|
||||
from __future__ import print_function
|
||||
|
||||
import numpy as np
|
||||
import cv2 as cv
|
||||
|
||||
import re
|
||||
|
||||
import numpy as np
|
||||
from numpy import pi, sin, cos
|
||||
|
||||
import cv2 as cv
|
||||
|
||||
# built-in modules
|
||||
from time import clock
|
||||
|
||||
|
||||
Reference in New Issue
Block a user