change similarity function

This commit is contained in:
kicap
2024-07-20 06:50:06 +08:00
parent 2e7c0ed8bc
commit de3c441033
7 changed files with 2152 additions and 552 deletions

View File

@ -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>