YOLOV5 打开摄像头错误:TypeError: argument of type ‘int‘ is not iterable
问题描述parser.add_argument('--source',type=str,default='0',help='source')#file/folder,0forwebcam发现打开摄像头出错Traceback(mostrecentcalllast):File"H:\PycharmProject\yolov5-5.0\detect.py",line198,indetect()File"