projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfaabd8
)
remove some unneeded imports
author
Gary Bradski
<no@email>
Thu, 15 Mar 2012 03:50:31 +0000
(
03:50
+0000)
committer
Gary Bradski
<no@email>
Thu, 15 Mar 2012 03:50:31 +0000
(
03:50
+0000)
samples/python2/hist.py
patch
|
blob
|
history
diff --git
a/samples/python2/hist.py
b/samples/python2/hist.py
index
4bd594e
..
3b050a0
100755
(executable)
--- a/
samples/python2/hist.py
+++ b/
samples/python2/hist.py
@@
-13,7
+13,7
@@
Usage : python hist.py <image_file>
Abid Rahman 3/14/12 debug Gary Bradski
\r
'''
\r
\r
-import cv2
,sys
\r
+import cv2
\r
import numpy as np
\r
\r
bins = np.arange(256).reshape(256,1)
\r
@@
-50,7
+50,7
@@
def hist_lines(im):
\r
if __name__ == '__main__':
\r
\r
- import
urllib2
\r
+ import
sys
\r
\r
if len(sys.argv)>1:
\r
im = cv2.imread(sys.argv[1])
\r