Open XTWLP opened 2 years ago
https://github.com/cnyvfang/YOLOv5-GUI/blob/bb8ef15893f24b318a2876fd487c3a4b6f636ada/PyQt5-YOLOv5_V6/run.py#L85
change this code to dataset = LoadWebcam(pipe='0', img_size=imgsz, stride=stride)
dataset = LoadWebcam(pipe='0', img_size=imgsz, stride=stride)
https://github.com/cnyvfang/YOLOv5-GUI/blob/bb8ef15893f24b318a2876fd487c3a4b6f636ada/PyQt5-YOLOv5_V6/run.py#L85
change this code to
dataset = LoadWebcam(pipe='0', img_size=imgsz, stride=stride)