change similarity function
This commit is contained in:
1 parent
2e7c0ed8bc
commit
de3c441033
7 files changed
+2152
-552
No files matched your search
@@ -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