Skip to content

Commit 664d22f

Browse files
author
codeboost
committed
removed debug logging
1 parent 9e2476a commit 664d22f

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

scripts/calcHist.coffee

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,12 @@ channels = [0, 1]
3434
mask = new cv.Mat
3535
hist = new cv.Mat
3636

37-
console.log 'Here'
38-
3937
cv.calcHist [hsv], channels, mask, hist, 2, histSize, ranges, true, false
40-
console.log 'Computed'
41-
42-
43-
console.log hist.rows + 'x' + hist.cols
44-
4538
minMax = cv.minMaxLoc hist
4639

4740
tmp = new cv.Mat
48-
scale = 10
4941

42+
scale = 10
5043
histImg = tmp.zeros sbins * scale, hbins * 10, cv.CV_8UC3
5144

5245
for h in [0..hbins - 1]
@@ -66,5 +59,5 @@ doATick()
6659

6760
setTimeout ->
6861
process.exit -1
69-
, 1000
62+
, 5000
7063

0 commit comments

Comments
 (0)