TypeError: cannot unpack non-iterable Image object
加上try-except语句,例如
try: frame,count=yolo.detect_image(frame) #检测人像 except: break
望采纳,谢谢