Commit 0bbd229b by Иван Кубота

switch matching to lab

parent a403f608
......@@ -128,8 +128,9 @@
</div>
<script>
var store = new Store({
threshold: 60,
maxCount: 5
threshold: 0.25,
maxCount: 5,
maxThreshold: 15
});
......@@ -409,13 +410,12 @@ var videoEl = inputVideo;
),
block(
'Eyes',
extractor('eyes', ctx2, eyes, 6, 1)
extractor('eyes', ctx2, eyes, 6)
)
]);
//ctx2.putImageData(imageData, minX, minY);
// debugger;
......@@ -474,6 +474,9 @@ var videoEl = inputVideo;
),
D.h('label', {},
'Threshold: ', D.h(Input, {bind: store.bind('threshold')})
),
D.h('label', {},
'maxThreshold: ', D.h(Input, {bind: store.bind('maxThreshold')})
)
);
......
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