Commit c47c1adc authored by Gary Bradski's avatar Gary Bradski

remove some unneeded imports

parent dfaabd88
...@@ -13,7 +13,7 @@ Usage : python hist.py <image_file> ...@@ -13,7 +13,7 @@ Usage : python hist.py <image_file>
Abid Rahman 3/14/12 debug Gary Bradski Abid Rahman 3/14/12 debug Gary Bradski
''' '''
import cv2,sys import cv2
import numpy as np import numpy as np
bins = np.arange(256).reshape(256,1) bins = np.arange(256).reshape(256,1)
...@@ -50,7 +50,7 @@ def hist_lines(im): ...@@ -50,7 +50,7 @@ def hist_lines(im):
if __name__ == '__main__': if __name__ == '__main__':
import urllib2 import sys
if len(sys.argv)>1: if len(sys.argv)>1:
im = cv2.imread(sys.argv[1]) im = cv2.imread(sys.argv[1])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment