work on obj_detect.py

added square_size cmd line param for calibrate.py
added _coverage.py script to compute cv2 api coverage by samples (just for interest, may be removed later)
This commit is contained in:
Alexander Mordvintsev
2011-06-19 11:33:15 +00:00
parent 99eb377143
commit 32825893bd
5 changed files with 51 additions and 20 deletions

View File

@@ -18,7 +18,7 @@ hist_scale = 10
def set_scale(val):
global hist_scale
hist_scale = val
cv.CreateTrackbar('scale', 'hist', hist_scale, 32, set_scale)
cv2.createTrackbar('scale', 'hist', hist_scale, 32, set_scale)
try: fn = sys.argv[1]
except: fn = 'synth:bg=../cpp/baboon.jpg:class=chess:noise=0.05'