You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
700B

  1. list1 = [1, 2, 3, 4]
  2. list2 = [1,2,4]
  3. if set(list2) == set(list1):
  4. print("1111111")
  5. else:
  6. print("222222")
  7. import numpy as np
  8. # list1 = [1, 2, 3, 4]
  9. # tl = np.asarray([1, 2], np.float32)
  10. # box = np.asarray([tl], np.int32)
  11. # print(tl)c
  12. # print(box[0][1])
  13. import cv2
  14. # ai_video_file = cv2.VideoWriter(r"C:\Users\chenyukun\Desktop\fsdownload\aa.mp4", cv2.VideoWriter_fourcc(*'mp4v'), 25,
  15. # (1920,1080))
  16. # # ai_video_file.set(cv2.VIDEOWRITER_PROP_BITRATE, 4000)
  17. # ai_video_file.set(cv2.CAP_PROP_BITRATE, 4000)
  18. # ai_video_file.set(cv2.VIDEOWRITER_PROP_QUALITY, 80)
  19. # print(help(cv2.VideoWriter.set))
  20. # print(dir(cv2))
  21. # print(help(cv2))
  22. print(bool(0))
  23. print(False)