change similarity function
This commit is contained in:
@ -208,7 +208,7 @@
|
||||
console.log(data);
|
||||
var similarity = data.similarity;
|
||||
|
||||
if (similarity <80) {
|
||||
if (similarity <90) {
|
||||
counter = 0
|
||||
}else{
|
||||
counter = counter + 1
|
||||
@ -234,9 +234,9 @@
|
||||
}, 2000);
|
||||
|
||||
// set interval 70 second and change pose
|
||||
setInterval(function () {
|
||||
window.location.href="{{ url_for('index', image_name=next) }}";
|
||||
}, 70000);
|
||||
// setInterval(function () {
|
||||
// window.location.href="{{ url_for('index', image_name=next) }}";
|
||||
// }, 70000);
|
||||
</script>
|
||||
</body>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user