Major update of all demo programs to use new PEP8 bindings, etc
This commit is contained in:
parent
3f7c87c562
commit
7f52778bcc
307 changed files with 19546 additions and 3297 deletions
4
DemoPrograms old/Demo_OpenCV_4_Line_Program.py
Normal file
4
DemoPrograms old/Demo_OpenCV_4_Line_Program.py
Normal file
|
@ -0,0 +1,4 @@
|
|||
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())
|
Loading…
Add table
Add a link
Reference in a new issue