From 22e024ab90fc8636b463c62888f65e707d60c177 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Wed, 20 Mar 2024 00:28:23 +0300 Subject: [PATCH] CHANGES :) --- projects/Python/OpenCV_to_HTML/motion_detection.py | 3 +-- projects/Python/OpenCV_to_HTML/templates/index.html | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/projects/Python/OpenCV_to_HTML/motion_detection.py b/projects/Python/OpenCV_to_HTML/motion_detection.py index cfc0253..b881b8b 100644 --- a/projects/Python/OpenCV_to_HTML/motion_detection.py +++ b/projects/Python/OpenCV_to_HTML/motion_detection.py @@ -47,6 +47,5 @@ class SingleMotionDetector: (x, y, w, h) = cv2.boundingRect(c) (minX, minY) = (min(minX, x), min(minY, y)) (maxX, maxY) = (max(maxX, x + w), max(maxY, y + h)) - # otherwise, return a tuple of the thresholded image along - # with bounding box + # otherwise, return a tuple of the thresholded image along with bounding box return (thresh, (minX, minY, maxX, maxY)) diff --git a/projects/Python/OpenCV_to_HTML/templates/index.html b/projects/Python/OpenCV_to_HTML/templates/index.html index ea195cb..2675c52 100644 --- a/projects/Python/OpenCV_to_HTML/templates/index.html +++ b/projects/Python/OpenCV_to_HTML/templates/index.html @@ -23,7 +23,7 @@

OpenCV – Stream video to web browser/HTML page

- +