From c47c1adc9481f1df904f487d7ea30238ca02387d Mon Sep 17 00:00:00 2001 From: Gary Bradski Date: Thu, 15 Mar 2012 03:50:31 +0000 Subject: [PATCH] remove some unneeded imports --- samples/python2/hist.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/python2/hist.py b/samples/python2/hist.py index 4bd594e..3b050a0 100755 --- a/samples/python2/hist.py +++ b/samples/python2/hist.py @@ -13,7 +13,7 @@ Usage : python hist.py Abid Rahman 3/14/12 debug Gary Bradski ''' -import cv2,sys +import cv2 import numpy as np bins = np.arange(256).reshape(256,1) @@ -50,7 +50,7 @@ def hist_lines(im): if __name__ == '__main__': - import urllib2 + import sys if len(sys.argv)>1: im = cv2.imread(sys.argv[1]) -- 2.7.4