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

switch matching to lab

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