if (len(detection_list) == 0): continue 这里改成 if (len(detection_list) == 0): print("没有找到:", i) continue