diff --git a/YoloObjectDetection/yolo_video_with_webcam.py b/YoloObjectDetection/yolo_video_with_webcam.py index 5ec81d2d..16e2d73c 100644 --- a/YoloObjectDetection/yolo_video_with_webcam.py +++ b/YoloObjectDetection/yolo_video_with_webcam.py @@ -195,8 +195,8 @@ while True: [sg.Text('Yolo Output')], [sg.Image(data=imgbytes, key='_IMAGE_')], [sg.Text('Confidence'), - sg.Slider(range=(0, 1), orientation='h', resolution=.1, default_value=.5, size=(15, 15), key='confidence')], - [sg.Text('Threshold'), + sg.Slider(range=(0, 1), orientation='h', resolution=.1, default_value=.5, size=(15, 15), key='confidence'), + sg.Text('Threshold'), sg.Slider(range=(0, 1), orientation='h', resolution=.1, default_value=.3, size=(15, 15), key='threshold')], [sg.Exit()] ]