Handling Corrupted Frames in Test Video ¶
By: bilalUWE on Sept. 6, 2024, 8:14 p.m.
Dear Organising Team,
I’ve encountered an issue with the test video provided with the docker. When I count the number of frames using int(cap.get(cv2.CAP_PROP_FRAME_COUNT)), it reports 62 frames, but extracting the frames only yields 60. There may be corrupted frames, which could potentially shift the frame_nr values and cause misalignment in validation.
Could you please provide guidance on how to best handle such frames? Any advice on maintaining frame consistency would be greatly appreciated.
Many thanks in advance, Kind regards, Bilal