Write python code do the following tasks: 1) open input video file 2) open output video file 3) load huggingface YOLOv5 model 4) read each frame and detect selected objects, using YOLOv5 model 5) if any object found by YOLOv5, write the frame to output video file 6) loop until input video ends"