From 6aaf70f4cbcacfc7018f1f6ec56aafaafcc7ed8f Mon Sep 17 00:00:00 2001 From: fustyles <34397289+fustyles@users.noreply.github.com> Date: Tue, 26 Sep 2023 22:06:49 +0800 Subject: [PATCH] Update knn-classifier_esp32cam_stream.js --- knn-classifier_20201012/knn-classifier_esp32cam_stream.js | 1 + 1 file changed, 1 insertion(+) diff --git a/knn-classifier_20201012/knn-classifier_esp32cam_stream.js b/knn-classifier_20201012/knn-classifier_esp32cam_stream.js index c49ac3e792..3359a03219 100644 --- a/knn-classifier_20201012/knn-classifier_esp32cam_stream.js +++ b/knn-classifier_20201012/knn-classifier_esp32cam_stream.js @@ -28,6 +28,7 @@ window.onload = function () { var mobilenetModule; ShowImage.src = document.location.origin+':81/?stream'; + ShowImage.src = ShowImage.src.replace(":81:81",":81"); ShowImage.style.visibility = "visible"; classifier = knnClassifier.create();