7 lines
		
	
	
		
			117 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			117 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| import cv2.cv as cv
 | |
| import math
 | |
| import time
 | |
| 
 | |
| while True:
 | |
|     h = cv.CreateHist([40], cv.CV_HIST_ARRAY, [[0,255]], 1)
 | 
