samples: fix python samples compatibility with demo.py

This commit is contained in:
Alexander Alekhin
2019-03-19 21:03:58 +03:00
parent f4c2c4412b
commit 04fad57fc1
48 changed files with 678 additions and 403 deletions
+3 -3
View File
@@ -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