Flask: How to update values on a web page
Flask: How to update values on a web page Question: I have the following code: app = Flask(__name__) @app.route("/") def Tracking(): lower = np.array([35, 192, 65]) upper = np.array([179, 255, 255]) video = cv2.VideoCapture(1, 0) times = [] total = 0 is_round = False while True: success, img = video.read() image = cv2.cvtColor(img, cv2.COLOR_BGR2HSV) mask …