From 204e5b2eddecfa60d3d9649a86f870ca06377a51 Mon Sep 17 00:00:00 2001 From: PySimpleGUI <46163555+PySimpleGUI@users.noreply.github.com> Date: Mon, 6 Apr 2020 14:57:25 -0400 Subject: [PATCH] Update Demo_OpenCV_4_Line_Program.py --- DemoPrograms/Demo_OpenCV_4_Line_Program.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DemoPrograms/Demo_OpenCV_4_Line_Program.py b/DemoPrograms/Demo_OpenCV_4_Line_Program.py index a7788db0..6430fb06 100644 --- a/DemoPrograms/Demo_OpenCV_4_Line_Program.py +++ b/DemoPrograms/Demo_OpenCV_4_Line_Program.py @@ -1,4 +1,4 @@ -import cv2, PySimpleGUIWeb as sg +import cv2, PySimpleGUI as sg window, cap = sg.Window('Demo Application - OpenCV Integration', [[sg.Image(filename='', key='image')], ], location=(800, 400)), cv2.VideoCapture(0) while window(timeout=20)[0] is not None: window['image'](data=cv2.imencode('.png', cap.read()[1])[1].tobytes())